Search found 6797 matches

by DSguru2B
Fri Jun 08, 2007 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reverse Pivot
Replies: 9
Views: 1686

This will work in a parallel job as well. Just sort on the key and hash partition so that all identical keys end up in one partition.
by DSguru2B
Fri Jun 08, 2007 1:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a better way to handle nulls ???
Replies: 9
Views: 1869

If it is a fixed width file, you need to check for each and every one. As there are no nulls in a fixed width file. They are all character fields.
by DSguru2B
Fri Jun 08, 2007 1:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle deadlock problem
Replies: 6
Views: 1209

What is the exact error message that you are getting?
by DSguru2B
Fri Jun 08, 2007 12:47 pm
Forum: General
Topic: Difference between Terminator and Exception Handler stages
Replies: 11
Views: 17909

The Exception Handler does not accept any input links whereas the Terminator stage does. 1)Does that mean that we put the Exception Handler anywhere on the sequencer? Yes anywhere. When an exception occurs as explained, the control will be passed on to the exception handler, no matter where it is. ...
by DSguru2B
Fri Jun 08, 2007 12:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: split record to multiple based on the counter
Replies: 4
Views: 1299

You can use the pivot stage. Read about the pivot stage to see how this can be accomplised. Since its dynamic, I would just write a shell script to do it.
by DSguru2B
Fri Jun 08, 2007 12:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle deadlock problem
Replies: 6
Views: 1209

Try running on a single node, just for debuggin purposes and see if the problem persists.
by DSguru2B
Fri Jun 08, 2007 10:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reverse Pivot
Replies: 9
Views: 1686

Why dont you think it will work again? Keep apending the values to the stage variable untill a key change is encountered. In that case reset the stage variable and start appending untill the next key change is encountered. Do this till the last record. Then pass the output to remove duplicate stage ...
by DSguru2B
Fri Jun 08, 2007 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare the Salary with the previous date salary
Replies: 11
Views: 2108

I need to Backtrack recent salary Effective date. Emplid EffDate Salary Monthly 1234 02-02-2001 3000 1234 01-12-2006 4000 1234 01-01-2007 4000 1234 01-02-2007 4000 In Above sistuation recent salary Effectivity date as 01-12-2006. The way I am looking at it, you are, infact, getting the date when th...
by DSguru2B
Fri Jun 08, 2007 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to call a DBMS routine in a after sql statement?
Replies: 2
Views: 785

Stick in a semicolon at the end of the command. Also try with call instead of exec.
by DSguru2B
Fri Jun 08, 2007 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to find the files in the particular path specified in un
Replies: 4
Views: 1766

Welcome Aboard :)
You have posted the in wrong forum. This question is Enterprise Edition specific and hence needs to go to that forum.
You cannot view datasets via unix commands. You need to use the DataSet Management Utility in the DataStage Director, under "tools".
by DSguru2B
Fri Jun 08, 2007 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to char transformation
Replies: 12
Views: 4923

"%yyyy%mm%dd" is the conversion mask/code. Did you use that with DateToString()? From your previous post, it does not look like you used it.
by DSguru2B
Fri Jun 08, 2007 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to char transformation
Replies: 12
Views: 4923

Did you give the conversion mask?
by DSguru2B
Fri Jun 08, 2007 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare the Salary with the previous date salary
Replies: 11
Views: 2108

I am a little confused. When you say you need the "backtrack date", do you mean the date that particular salary first came in effect? If thats the case, pass your data through an aggregator, group by EmpId and Salary and get the min(Eff_Dt). This will bring you to different salaries for a particular...
by DSguru2B
Fri Jun 08, 2007 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage failure due to arguments
Replies: 1
Views: 593

Are you using it as a Transform procedure? Use it as an "extract" procedure.
by DSguru2B
Fri Jun 08, 2007 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Timestamp Conversion
Replies: 13
Views: 2372

A small correction. Its "%mm/%dd/%yyyy %hh:%nn:%ss (without any space in the time mask.)