Search found 6797 matches

by DSguru2B
Tue Oct 31, 2006 2:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate key value specified WARNING
Replies: 3
Views: 1197

If the target table has two keys specified and you are updating it using just one, then that means, your updating the second key as well. In which case there is a high possiblity of duplicates. Thats why you have to specify the same or more number of keys in your update where condition as the keys i...
by DSguru2B
Tue Oct 31, 2006 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate key value specified WARNING
Replies: 3
Views: 1197

How many keys does the target table have specified, and how many keys are you providing for the update?
by DSguru2B
Tue Oct 31, 2006 11:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replacing null column with some value and assigning a keyval
Replies: 20
Views: 4451

Whats the status on your problem, any progress or stuck somewhere.
Follow Craigs guideline. Its pretty straight forward.
by DSguru2B
Tue Oct 31, 2006 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs abort list in sequencer
Replies: 13
Views: 3596

Ok, i think i am giving solution for aborting the Main Control Job. If your controlling the process sequence using DS Basic coding, then you make an explicit call to DSLogFatal(). If you are controlling the process via sequence job, then you need to handle it within the sequence. I do not remember i...
by DSguru2B
Tue Oct 31, 2006 9:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs abort list in sequencer
Replies: 13
Views: 3596

You mean DSLogFatal :wink:
Heres the syntax

Code: Select all

Call DSLogFatal (Message,CallingProgName)
by DSguru2B
Tue Oct 31, 2006 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs abort list in sequencer
Replies: 13
Views: 3596

Within the job control, you need to use the "DSLogFatal subroutine". Look into it in DataStage Help.
by DSguru2B
Tue Oct 31, 2006 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs abort list in sequencer
Replies: 13
Views: 3596

That is due to the fact that you are handling it appropriately within your code. In your present code, you are checking the status and if it fails, you are sending out an email. According to the "Main Job", its executing all the statements properly and hence will not abort. I think thats a good prac...
by DSguru2B
Mon Oct 30, 2006 10:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replacing null column with some value and assigning a keyval
Replies: 20
Views: 4451

-Load your second table in a hashed file keyed on 'UNIQUE_KEY'. -Specify the following stage variables FirstNameChk: If ISNULL(in.FIRST_NAME)=1 then UtilityHashLookup(myHashedFileName,1,2) else in.FIRST_NAME GenKey: If ISNULL(in.FIRST_NAME)=1 then GenKey+1 else UtilityHashLoo...
by DSguru2B
Mon Oct 30, 2006 8:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: extract required data from string
Replies: 6
Views: 2860

That was a smart solution that Kumar came up with. It can work for both server and px.
by DSguru2B
Mon Oct 30, 2006 8:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TimeZone
Replies: 2
Views: 1687

Welcome aboard Do you have the logic in your mind. If you do, you can put down the psuedocode here and someone can help you build a routine. You can get the Year and month both by using ICONV/OCONV functions. Look into help. Need more info on what do you mean by "convert the remote server time to lo...
by DSguru2B
Mon Oct 30, 2006 7:41 am
Forum: Site/Forum
Topic: Yet another Milestone!!!
Replies: 9
Views: 4422

Way to go Kumar. Keep up the good work. Dsxians are getting to learn a lot from you. Keep it coming buddy :wink:
by DSguru2B
Thu Oct 26, 2006 1:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Sequence
Replies: 6
Views: 1341

on the key.
If it exists it will update, if not then it will insert.
It will try for the entire table.
by DSguru2B
Thu Oct 26, 2006 12:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Sequence
Replies: 6
Views: 1341

You can update it if you know the primary key value. In such situations where a surrogate key is to be generated, the updates are done with natural keys and not its primary key, due to the same fact that pk is not known.
by DSguru2B
Thu Oct 26, 2006 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple sequential files from a folder
Replies: 4
Views: 1319

Remove all the file and just keep one file in that folder that starts with 'File'. Then do view data.
If that works, that means that the stage is able to find the files, but doesnt know which one to open.
by DSguru2B
Thu Oct 26, 2006 11:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange Error Messages
Replies: 5
Views: 2203

We dont, but googledoes :P