Search found 6797 matches

by DSguru2B
Mon Sep 18, 2006 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CURSOR SQLSERVER => DATASTAGE
Replies: 7
Views: 3700

Cursors are local to databases. You cannot build a curson in datastage (as far as i know) but you can surely implement the same logic within datastage job(s). My advice to you is, sit down with a cursor expert, get detailed psuedo code as to what the cursor is exactly doing and then translate that t...
by DSguru2B
Mon Sep 18, 2006 10:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: to collect rejects while joining to files
Replies: 6
Views: 1582

or just do it at the unix level by using the wc -l command
by DSguru2B
Sun Sep 17, 2006 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Time information is incompatible
Replies: 2
Views: 1141

Welcome Aboard :P
Try to open the dsx file in a text reader and see when was it created. Try to change the system time of your pc to a few years behind and then try. Not sure if its going to help but its worth a try.
by DSguru2B
Sat Sep 16, 2006 8:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unix scripts from Datastage job
Replies: 9
Views: 2797

Shell type will be 'UNIX'
Command will be the fully qualified path of your script within quotes.
by DSguru2B
Fri Sep 15, 2006 9:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparing with max timestamp
Replies: 6
Views: 1910

If both the tables are in the same schema then you can do it in one database stage itself.
Something like

Code: Select all

select * from TABLE1 
where timestampColumn > (select Max(Timestamp) from TABLE2)
by DSguru2B
Fri Sep 15, 2006 7:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unix Error
Replies: 23
Views: 4175

Yes, you can, go clean all the temp files, do ls -ltr and start deleting the huge files first.
by DSguru2B
Fri Sep 15, 2006 7:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need max value without sort stage
Replies: 5
Views: 937

Re: need max value without sort stage

After that using the Aggregator, we found the Sum value and once again we put another Aggregator, we found the Max value. Ok i am confused, you said in your descriptioin that you are getting the max value from the second aggregator and in your quest, you want to get max from the second aggregator w...
by DSguru2B
Thu Sep 14, 2006 10:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to delete & update records from DB2 API Stage?
Replies: 4
Views: 2110

I suggest you have a friendly chat with your DBA and show him this error message, since your error message includes warning about the manager configuration file.
by DSguru2B
Thu Sep 14, 2006 10:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Consolidating Job log files of all the projects
Replies: 2
Views: 1614

I wrote a script for one of my clients sometime back to get exactly that. It gives you the jobname, start time, end time, elapsed time and status of the job in a pipe delimited file such that this file can then be read by a DataStage job and loaded into a table. See if this helps. #!/usr/bin/ksh ***...
by DSguru2B
Wed Sep 13, 2006 10:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Range Lookups
Replies: 10
Views: 4340

You are getting a matching record in the third row because both the keys match with the first record of your source sample data and the date is in between the start and end date. Isnt that what you want??? How it works is that with @INROWNUM in the expression of the hashed file key (dummy key), each...
by DSguru2B
Wed Sep 13, 2006 7:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: view log file
Replies: 2
Views: 1165

You can use the dsjob -logsum/-log/-report command to view the log file. You can redirect it to a text file and view that.
by DSguru2B
Wed Sep 13, 2006 1:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Integrity constraint
Replies: 10
Views: 1295

Yes, when a row will be rejected, you will get warning messages. Now you have to look into those rejected rows and investigate why the FK column value is not present in the parent table. This will give you a good starting point for your investigations.
by DSguru2B
Wed Sep 13, 2006 1:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSendMail 'To:' Parameter Question
Replies: 7
Views: 2486

Yes, it surely works in the Notification activity. Have done that before successfully.
by DSguru2B
Wed Sep 13, 2006 1:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Integrity constraint
Replies: 10
Views: 1295

Well, with the lack of info about your business, i cannot tell you that, thats for you to investigate. Code columns usually end with _CD. See if you have any such column that you are loading. I am not saying that this is the problem, it might be. Chances are more of you missing a record load in the ...
by DSguru2B
Wed Sep 13, 2006 1:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Integrity constraint
Replies: 10
Views: 1295

Well the RI doesnt just restrict itself to parent child relationship. You could be loading a code value into the table and that code value must be missing in the code table. See if thats the case.