Search found 504 matches

by ShaneMuir
Wed Mar 19, 2008 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: null handling
Replies: 17
Views: 6986

I seem to recall that when loading oracle, the empty string is interpreted as a null?
by ShaneMuir
Wed Mar 19, 2008 4:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split single record to multiple records
Replies: 13
Views: 3733

kumar_s wrote:Replace each pipe with CHAR(13):AccountId:','
And AccountId:',' to the first Delimited field of WORDLIST.

Here teh CHAR(13) is the new line character.
How would you do that? There is no eReplace in parallel and convert only works for one char.
by ShaneMuir
Wed Mar 19, 2008 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nested If Then Else statement strange behaviour in routines.
Replies: 13
Views: 9240

Does it work correctly when BUSINESS_FG = 'U'?
by ShaneMuir
Wed Mar 19, 2008 12:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nested If Then Else statement strange behaviour in routines.
Replies: 13
Views: 9240

Re: Nested If Then Else statement strange behaviour in routi

IF BUSINESS_FG = "G" THEN IF (PLAN_CD1 = "CES" OR PLAN_CD2 = "CES") THEN VAL = "ES" END ELSE VAL = "DM" END END IF (PLAN_CD1 = "CAT" OR PLAN_CD2 = "CAT") THEN IF ( RIDER_FORM_CD = "ES" OR RIDER_FORM_CD = "09" ...
by ShaneMuir
Tue Mar 18, 2008 9:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split single record to multiple records
Replies: 13
Views: 3733

chulett wrote:It should be fine as long as you know the max ... And it doesn't need to be a fixed number
I was unsure whether the column import needed to find a delimiter for say the 10th column, or whether after the 4th delimiter it is just implied and the column generated anyway.
by ShaneMuir
Tue Mar 18, 2008 9:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split single record to multiple records
Replies: 13
Views: 3733

You could use the column import stage, setting the delimiter to | to separate the second column into multiple columns. Follow this with a pivot stage.

This might only work though if the number of delimiters is constant.
by ShaneMuir
Tue Mar 18, 2008 4:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nested If Then Else statement strange behaviour in routines.
Replies: 13
Views: 9240

Are you sure your input = 'G' and not 'G ' or some other hidden character?
by ShaneMuir
Tue Mar 11, 2008 11:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting
Replies: 2
Views: 1908

Search the forum for "Vertical Pivot".

I think there is an explanation in the FAQ section also
by ShaneMuir
Tue Mar 11, 2008 8:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Finding the number of leading zeros
Replies: 5
Views: 1692

Could you also use something like: Index("1,2,3,4,5,6,7,8,9",InputCol.String,1) to get the first required digit then use the field function with the newly acquired digit as your starting point to select 1 char? Would this carry more processing overhead? Addendum : Actually this won't work ...
by ShaneMuir
Tue Mar 11, 2008 5:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with the Job Monitor
Replies: 20
Views: 8225

Is there any message in the Director log? Perhaps something about Job AppMon not running?
by ShaneMuir
Mon Mar 10, 2008 10:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding style in sequential file
Replies: 2
Views: 918

While i tried to write the data into another sequential file of DOS style format from the sequential file of UNIX style(aforementioned file), the data in that file is not as same as the source sequential file(UNIX style).
How is it "not the same". What differences are there?
by ShaneMuir
Thu Mar 06, 2008 8:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in writing log summary to a file
Replies: 13
Views: 5888

ray.wurlod wrote:If you are running this from an after-job subroutine, then that job is not finished so you can never get the "job finished" message from the job log.
Oh yeah. You could try DSJ.JOBINTERIMSTATUS then?
by ShaneMuir
Thu Mar 06, 2008 6:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in writing log summary to a file
Replies: 13
Views: 5888

Meanwhile, is there a way that I can get the "Control" statement which says "Job X Finished" or "Job X aborted" by editing the existing code above. Wouldn't it be something to do with Result = DSGetJobInfo (JobHandle, DSJ.JOBSTATUS) Then you can use the status that are...
by ShaneMuir
Wed Mar 05, 2008 8:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: On-the-fly file creation with size limits
Replies: 4
Views: 1456

It would probably be easier to use Unix (in the filter command field) and do a split on on the output file ,based on a certain number of rows that would be under 500MB, after is finished. That way it doesn't matter how big the output is there will always be an overflow file. **Post Script Edit** Dam...
by ShaneMuir
Wed Mar 05, 2008 12:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding Content validation
Replies: 2
Views: 881

Please delete one of your posts on this topic. Firstly - the actual value of one field "1234, 1234-01, 1234-02, 236789, 45467, 45456-03.5645.45456-02, 45456-01, 45456" or does that represent multiple rows? If multiple rows then using Field with the delimiter set to "-" and select...