Search found 198 matches

by tbtcust
Fri Sep 19, 2008 4:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I set a default vale when a lookup fails?
Replies: 2
Views: 1903

How can I set a default vale when a lookup fails?

Hello all. How can I set a default vale to a field when there is a lookup failure? I using a Lookup Stage to find matches between master and reference data. The goal I to append a field to the master data file with data from a field from the reference data were there matches. When there is no match ...
by tbtcust
Wed Sep 03, 2008 4:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I reformat decimal data stored in a varchar field?
Replies: 4
Views: 1651

ray, the following seems to be working

Col_1[1, (Len(Field(Col_1, ".", 1)) + 1) +2]
by tbtcust
Wed Sep 03, 2008 3:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I reformat decimal data stored in a varchar field?
Replies: 4
Views: 1651

How can I reformat decimal data stored in a varchar field?

Hi all, I have a varchar field that is has decimal data. The data length is 19 the scale is 6. the data may or may not have leading zeros. I need to keep all the numeric data before the period with the zeros suppressed and only the first 2 numbers after the period. Is there a set of functions that c...
by tbtcust
Sun Aug 31, 2008 5:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup on reference data and transformations.
Replies: 4
Views: 1961

Thanks ray.

I had to add some columns to hold the keyed values from the lookup along with lookup results for testing. This worked out fine.
by tbtcust
Sun Aug 31, 2008 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup on reference data and transformations.
Replies: 4
Views: 1961

Thanks for replying chulett.

The first "can" is correct. I misspoke on the actual questions "Does anyone know how I can get this done in a server job?" Should have been "Does anyone know how I can get this done in a Parallel job?" Apologies
by tbtcust
Sun Aug 31, 2008 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup on reference data and transformations.
Replies: 4
Views: 1961

Lookup on reference data and transformations.

Hello all. I have a sequential file with several columns and two of the columns make up a key. I have a second sequential file that contains reference data. The second file has the same two key columns as the first file. Transformation on some columns in the first file is depended on the reference d...
by tbtcust
Thu Aug 21, 2008 9:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: null handling error
Replies: 17
Views: 7592

Just wanted to thank balajisr. This code resolved many Fatal Error: Null value on the accessor interfacing to field "Field_Name".
by tbtcust
Wed Aug 20, 2008 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way make the hash file lookup case insensitive?
Replies: 1
Views: 1519

Thanks chulett. Will do
by tbtcust
Wed Aug 20, 2008 6:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I add a record's sequence number to a file?
Replies: 1
Views: 1231

This works great ray. Thank you.
by tbtcust
Thu Aug 14, 2008 5:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit conversion from source type ustring to string
Replies: 1
Views: 4988

Thanks for replying keshav0307.

Since UTF-8 can be multibytes, does it make sense to define the target field larger, e.g., Varchar length 100. Or is there some other solution I should consider?
by tbtcust
Fri Aug 08, 2008 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How should I code for nulls in the transformation constraint
Replies: 5
Views: 2360

Outstanding. This is much cleaner. Thanks folks.
by tbtcust
Thu Aug 07, 2008 7:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How should I code for nulls in the transformation constraint
Replies: 5
Views: 2360

This solution works great. Thanks so much
by tbtcust
Wed Aug 06, 2008 6:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How should I code for nulls in the transformation constraint
Replies: 5
Views: 2360

How should I code for nulls in the transformation constraint

Hello all. I have a source database with a column which I have a constraint in the transformation stage. The target is a sequential file. This column has Null values. I have coded the constraint as follows: (IsNotNull(FldName_1)) or (Trim(FldName_2) = 'ERSA' And (FldName_3= '1') and (FldName_4<> 'Y'...
by tbtcust
Wed Jul 23, 2008 2:39 pm
Forum: General
Topic: How can I change these parameters?
Replies: 4
Views: 2120

Thanks. Using the Director works fine.

I'm not sure how to tell if the job is Read Only.

The project is not Protected.