Search found 6797 matches
- 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...
- 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
- Sun Sep 17, 2006 12:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Time information is incompatible
- Replies: 2
- Views: 1141
- 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
- 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
Something like
Code: Select all
select * from TABLE1
where timestampColumn > (select Max(Timestamp) from TABLE2)- Fri Sep 15, 2006 7:49 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unix Error
- Replies: 23
- Views: 4175
- 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...
- 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
- 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 ***...
- 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...
- Wed Sep 13, 2006 7:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: view log file
- Replies: 2
- Views: 1165
- Wed Sep 13, 2006 1:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Integrity constraint
- Replies: 10
- Views: 1295
- Wed Sep 13, 2006 1:25 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DSSendMail 'To:' Parameter Question
- Replies: 7
- Views: 2486
- 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 ...
- Wed Sep 13, 2006 1:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Integrity constraint
- Replies: 10
- Views: 1295