Search found 10 matches

by alphac
Mon Nov 27, 2006 2:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warining in JoinStage
Replies: 7
Views: 2871

Re: warining in JoinStage

It seems both input and output links have column "MISCORR". If this column is not a join key, the stage only carry the left link's "MISCORR" field and will drop the right link's. Suggest you to remove input link's unnecessary columns to avoid this kind of warning messages. You ma...
by alphac
Thu Jul 27, 2006 7:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rejected records
Replies: 16
Views: 7358

You may also check the "null field value" property set in "Sequential file stage". In your case, the transformer / the sequential file would drop records if : 1. transformer : put a "NULL" to a non-nullable field OR 2. sequential file : you have not set "null field...
by alphac
Wed Jul 26, 2006 9:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pad char in Sequantial File stage. Where is it?
Replies: 6
Views: 2565

If you want to apply to whole project, you may set environment variable APT_STRING_PADCHAR. Thats quite convenient in Parallel engine.
by alphac
Wed Jul 26, 2006 9:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error on subtraction of two decimal(19,3) number
Replies: 9
Views: 4350

I've tested but seems these three ...INTERM... parameters do not affected the results.

Thanks for your suggestions again.
by alphac
Wed Jul 26, 2006 3:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error on subtraction of two decimal(19,3) number
Replies: 9
Views: 4350

Hi, kumar_s Lets for sharing. I have change setting of APT_DECIMAL_INTERM_SCALE and APT_DECIMAL_INTERM_PRECISION but never change on APT_DECIMAL_INTERM_ROUND_MODE. It is now APT_DECIMAL_INTERM_SCALE = 38 and APT_DECIMAL_INTERM_PRECISION = 10 Make APT_DECIMAL_INTERM_SCALE and APT_DECIMAL_INTERM_PRECI...
by alphac
Wed Jul 26, 2006 12:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error on subtraction of two decimal(19,3) number
Replies: 9
Views: 4350

Thank you, ray.

Let me report this issue and kindly share my experience to the others.
by alphac
Tue Jul 25, 2006 11:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error on subtraction of two decimal(19,3) number
Replies: 9
Views: 4350

Hi, ray As mentioned, it always gives wrong answer in decimal places e.g. 123456789012345.123 - 0.000 ==> 123456789012345.058 123456789012345.123 - 0.001 ==> 123456789012345.121 ... Not only the subtraction encountered this problem but also using parallel function "NullToZero()". I have te...
by alphac
Tue Jul 25, 2006 9:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error on subtraction of two decimal(19,3) number
Replies: 9
Views: 4350

Error on subtraction of two decimal(19,3) number

Hi, all

I have experienced that when I subtract two numbers,
datastage always give wrong results in the decimal places.

e.g. 123456789012345.123 - 0.000 ==> 123456789012345.xxx

I have changed related environment variables in Project but seems no
effect.

Does anyone know how to solve it ?
by alphac
Tue Jul 25, 2006 8:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Empty Date field Export to Seq File
Replies: 10
Views: 4957

Hi, just want to give some ideas to you: You may use empty string ('') to represent a null date when writing sequential file ( by setting the "Null field value" property ) but when you want to read empty string ('') into a nullable date field, datastage fatal error : [ ... cannot have a &q...
by alphac
Mon Jul 24, 2006 10:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim in FILTER stage
Replies: 7
Views: 7489

The "where clause" of Filter Stage does not allow "trim function" in it. Extra stage to handle "trim" is needed. On the other hand, you should pay attention to the where clause you set. In your case, set a = b is different from b = a for a is varchar(2) and b is varchar...