Search found 42189 matches

by chulett
Wed Jun 15, 2005 7:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mimic KeyMgtGetNextValueConcurrent routine
Replies: 8
Views: 2234

If you have no experience with BASIC, the last thing you want to tackle is using it to 'connect to db and executing SQL statements'. :wink:

Why not just make a copy of the routine in question and see about modifying it to suit your needs? It already does most of what you want...
by chulett
Wed Jun 15, 2005 7:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DRS stage and Oracle Unique key violations
Replies: 11
Views: 5443

No clue why what you are doing would cause the errors you are seeing. I'm just curious enough to ask - why not just use an OCI stage? Or use the DRS stage set to Oracle so it sticks with the native interface? In other words, why use ODBC for this? :?
by chulett
Wed Jun 15, 2005 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting Null When Trying to Populate ''(empty string)
Replies: 7
Views: 1807

Re: Getting Null When Trying to Populate ''(empty string)

Try this in SQL create table abc ( a char primary key not null ) select * from abc insert into abc values('') insert into abc values(null) U will notice the difference. Just for the record, try this in Oracle and both will fail - which is why I asked about the target database... and probably why Wo...
by chulett
Wed Jun 15, 2005 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To Get the First Duplicate Record from HashFile Output
Replies: 5
Views: 1016

If you want the 'first' rather than the 'last', you need to sort input on your key fields in a descending order rather than ascending. Then all you'll have in the hash when you are done are the first (lowest) values for any duplicate keys.
by chulett
Wed Jun 15, 2005 6:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Warning limits - Yes, I know it's an old topic!
Replies: 11
Views: 4785

Doesn't matter what your limits are in the Director or Administrator when you run the job from the command line and use the -warn parameter. So, unless we are running into a bug, there must be something in your job that is overriding your command line option. You didn't answer when Ray asked "Do you...
by chulett
Wed Jun 15, 2005 6:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting Null When Trying to Populate ''(empty string)
Replies: 7
Views: 1807

What is your target database and what stage are you using to write to it?
by chulett
Tue Jun 14, 2005 9:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Client
Replies: 4
Views: 1410

Sure. Just don't try to use it. :wink:
by chulett
Tue Jun 14, 2005 6:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error handling
Replies: 4
Views: 1015

Re: Error handling

Thanks . but i working on PX . not server . Then post in the PX forum. I didn't notice you had it marked as 'Parallel' so you got a Server answer. i other problem is job is already made so do i need to check each column or any easy way is there. Not really any 'easy' way. You don't mention what you...
by chulett
Tue Jun 14, 2005 6:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Update action in ODBC stage
Replies: 2
Views: 676

Like all generated SQL, the 'where' clause is defined strictly by which fields you have marked as Keys. Are you sure you need to use Replace Existing? It is different from Update in that it does a delete and insert for each record rather than just a simple update. It would typically (only?) be used ...
by chulett
Tue Jun 14, 2005 6:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error handling
Replies: 4
Views: 1015

Um, ok... go ahead. Since I don't see a question anywhere, let me throw out a couple of random thoughts. Use the Num() function to check for numeric. Search the forum for caveats on its use and some things that might test true for numerics when they may not be. Write a routine to do your date conver...
by chulett
Mon Jun 13, 2005 9:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job names in the folder??
Replies: 5
Views: 2573

Simplest place is from the 'Command' window of the Administrator.
by chulett
Mon Jun 13, 2005 3:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: look up is failing
Replies: 11
Views: 2733

Can you let us know what, out of all of this, actually solved your problem?
by chulett
Mon Jun 13, 2005 12:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HOw to insert date in oracle
Replies: 11
Views: 4017

That and formatting the "date" field to look like 13-JUN-05 should let it go right into oracle. Only if that is the current NLS_DATE_FORMAT for the target database. Granted, DD-MON-RR is the default out of the box, but still... I prefer a method that works regardless of the default date format. May...
by chulett
Mon Jun 13, 2005 11:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help! Duplicate rows in target!
Replies: 4
Views: 1546

Good point. The OP has already stated that his 'Rows per transaction' setting is 1 so each row is committed. However, what is your 'Array size' setting? If that's not set to 1 as well I could see your problem occurring.
by chulett
Mon Jun 13, 2005 8:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File - Generates one file per row
Replies: 5
Views: 1642

Peter, there was just recently two independant threads on this very topic, one here and one at ADN.

The 'Create Hash' check-box enables the 'Options' available when doing so, one of which is deleting the hash each time the job runs.