Concatenation with null values

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
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Concatenation with null values

Post by dr.murthy »

hi all,

i have an reqirement like concatenation of 4 fields into a single character,
but some of the fields having null records are dropped at the Transformer.
for example F1,F2,F3,F4
if any one of the field having null values these recorda are not loaded into next stage,transformer stage dropping these records.i handled these null values at oracle stage(source) by using NVL(F1,' ').
but its not giving proper results.

Any suggestions.
D.N .MURTHY
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Post by dr.murthy »

can i concatenate null values with out hanling null property
D.N .MURTHY
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No.

Think about it. I want to concatenate "abc" to an unknown value. What is the result?

"It's not working properly" is not a sufficient diagnosis.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Pagadrai
Participant
Posts: 111
Joined: Fri Dec 31, 2004 1:16 am
Location: Chennai

Re: Concatenation with null values

Post by Pagadrai »

Hi,
Can you specify what are the actual and expected results?
You can try 'NullToEmpty' Function.
Post Reply