Search found 54 matches

by johnthomas
Mon Dec 18, 2006 11:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit conversion from source type "string[5]" t
Replies: 3
Views: 3045

It seems your lookup is failing and so it is returning a null . Try changing nullable as yes for COLUMN_NM_1 ,COLUMN_NM_2
by johnthomas
Fri Dec 15, 2006 8:05 pm
Forum: General
Topic: Getting Job Names from Sequences
Replies: 11
Views: 6130

One method is to export all jobs into xml and create a job which reads this file to get the sequence name and job names. we may need to try this out
by johnthomas
Fri Dec 15, 2006 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation error of Transformer stage
Replies: 11
Views: 8395

oops , yes you are right , If the value is null we should set that to null else the expression .I guess the problem is because of arithmetic operation with a null value

Thanks ray
by johnthomas
Fri Dec 15, 2006 8:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unique Value For Each Job Run
Replies: 3
Views: 950

You may use job start timestamp or end time stamp with the job name for this
by johnthomas
Fri Dec 15, 2006 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation error of Transformer stage
Replies: 11
Views: 8395

Can try modify the expression as

IF IsNull(DSLink3.F1) then DSLink3.F1+5 else SetNull()

which will handle null values .
by johnthomas
Thu Dec 14, 2006 1:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim on variable having space as value
Replies: 4
Views: 1379

In Case there is no space between double quotes , is the value after the trim is going to be null
by johnthomas
Thu Dec 14, 2006 11:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim on variable having space as value
Replies: 4
Views: 1379

Trim on variable having space as value

I was trying to use trim function on a variable which has spaces . It seems it does not return a null . Any suggestion on the function to be used for the issue , so that it should return a null if the values is spaces
by johnthomas
Thu Dec 14, 2006 7:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warnings during reading from Oracle table
Replies: 3
Views: 1666

Can you try reading the numeric value to varchar 13 and then convert it back to integer
by johnthomas
Thu Dec 14, 2006 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to increase the Sequence number in PX from Oracle
Replies: 14
Views: 9216

Hi Ray ,

We could force to run the lookup stage run sequentially , which would avoid any issues due to parallelism . let me know your comments on that
by johnthomas
Wed Dec 13, 2006 8:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: concatination of stage variables
Replies: 6
Views: 2319

I guess some of the link variables has value as NULL . Can you replace the null with some value and try out.
by johnthomas
Wed Dec 13, 2006 4:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: write() failed: Broken pipe
Replies: 2
Views: 3151

Look into Sql loader log in Scratch directory , which should give some clue to resolve it
by johnthomas
Tue Dec 12, 2006 1:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Time Limits on jobs
Replies: 21
Views: 5368

Is the next job activity independent in the sequencer ?
by johnthomas
Tue Dec 12, 2006 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trying to truncate the string
Replies: 9
Views: 3525

try Field(in.Col, " ",1) in place of Field(in.Col, "0:00:00 ",1) as suggested by dsguru
by johnthomas
Tue Dec 12, 2006 11:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trying to truncate the string
Replies: 9
Views: 3525

Try extracting using string function the date portion from timestamp , since leanth of the date portion varies depending whether its a 1 digit day or month
by johnthomas
Tue Dec 12, 2006 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to increase the Sequence number in PX from Oracle
Replies: 14
Views: 9216

I am not sure whether its is a good approach to use oracle sequence for generating sequence since for each incoming record there will be a database call right ? .I prefer doing doing it within datastage for performance reasons