null input in transformer stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
cetzhbo
Premium Member
Premium Member
Posts: 38
Joined: Tue Aug 28, 2007 10:20 am

null input in transformer stage

Post by cetzhbo »

Hello Gurus,

in transformer stage, if a input columne is null, and this is direct mapping, so corresponding output should be null.

but if this null input columne appears in the output derivation, corresponding output will be rejected.

how to make this null input column output with derivation if I want to keep this null value ?

thanks very much!
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Re: null input in transformer stage

Post by ArndW »

cetzhbo wrote:...but if this null input columne appears in the output derivation, corresponding output will be rejected...
Could you explain that? NULL output columns are perfectly valid and are used all the time.
cetzhbo
Premium Member
Premium Member
Posts: 38
Joined: Tue Aug 28, 2007 10:20 am

Post by cetzhbo »

this is the abstract for v8 guide:

" If you use input columns in an output column expression, be aware that a null value in that input column will cause the row to be dropped or, if a
reject link has been defined, rejected. "

my question point to that.

thanks very much!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This refers to the case where the output column is designated as Not Null, or where the output column derivation expression includes a function that does not tolerate null arguments (which is the case for most of the functions).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply