Search found 6797 matches

by DSguru2B
Wed Jan 31, 2007 6:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 4 digit Year number as string in oracle
Replies: 10
Views: 2809

Yup. Wanted to bring that to your attention. Please let us know once your done, something like this is a beauty.
Thanks Ray.
by DSguru2B
Wed Jan 31, 2007 6:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Version Control: How do you do at your place
Replies: 18
Views: 4068

ray.wurlod wrote:Comparing the two DSX files with diff does show you what's changed.

You read my mind. But ftp'ing the files every time is a pain.
by DSguru2B
Wed Jan 31, 2007 6:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Good Debugging Practices:Guidance needed
Replies: 10
Views: 2287

I am putting this in my favourites bucket :wink:
by DSguru2B
Wed Jan 31, 2007 6:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Convert ASCII CHAR into ASCII BINARY format
Replies: 13
Views: 4130

You can write a C function to get this done which intakes a char* as its argument, takes each character one by one, converts it to its ascii value and appends to a result variable. At the end, return your result variable. Make sure you allocate memory for all pointers used and free them before your ...
by DSguru2B
Wed Jan 31, 2007 6:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load unmatched data
Replies: 11
Views: 2341

You can do it with the Join or lookup stage. Read about those stage on the exact way on "how to do it"
by DSguru2B
Wed Jan 31, 2007 6:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination
Replies: 19
Views: 4016

Is the error reproducable? Anyways, search on keywords "Layer type is BASIC run machine"
by DSguru2B
Wed Jan 31, 2007 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage
Replies: 6
Views: 1525

Re: Stored Procedure Stage

ray.wurlod wrote:
Izack wrote:What is the use of Stored Procedure Stage ?

To invoke a stored procedure (d'oh!) for every row processed.

:lol: I cant stop laughing now.
by DSguru2B
Wed Jan 31, 2007 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improving performance
Replies: 24
Views: 3968

I know there is an option for that in DB2 bulk load stage. I am not sure about the OCI Load stage.
Let me rephrase my statement, "for some DataBases, the Load stage does the dropping and re-building of indexes"
by DSguru2B
Wed Jan 31, 2007 3:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL1652N : File I/O error occurred
Replies: 34
Views: 16058

ray.wurlod wrote:When "they" complain, the response is that it's the cost of stupidity.

Read my footer quote :wink:
by DSguru2B
Wed Jan 31, 2007 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL1652N : File I/O error occurred
Replies: 34
Views: 16058

Ray, I highly doubt we can do that for the message file and the command files created by the DB2 Bulk load.
by DSguru2B
Wed Jan 31, 2007 3:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Currentdate-1 ?
Replies: 9
Views: 2506

You can do it inside the transformer. Something like

Code: Select all

DateFromJulianDay(JulianDayFromDate(DSJobStartDate) -1)
by DSguru2B
Wed Jan 31, 2007 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DATE Conversion to internal format
Replies: 8
Views: 1856

Did you give any format for StringToDate(). If not then give the following format.

Code: Select all

StringToDate(in.Col, "%mm/%dd/%yyyy")
by DSguru2B
Wed Jan 31, 2007 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Currentdate-1 ?
Replies: 9
Views: 2506

Where do you want to do that, in DataStage? or in a database stage?
by DSguru2B
Wed Jan 31, 2007 2:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 4 digit Year number as string in oracle
Replies: 10
Views: 2809

Thanks for sharing it with us, a much simpler solution.
Great.