NullToEmpty - Exporting nullable field without null handling

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
Apotluri
Premium Member
Premium Member
Posts: 25
Joined: Sun Dec 25, 2005 10:38 pm

NullToEmpty - Exporting nullable field without null handling

Post by Apotluri »

Hi, I am wrting to a sequential file and I have a column name A - varchar(25) and it is nullable, in the transformer I have used NullToEmpty and I am still getting a warning - Exporting nullable field without null handling properties.

Please help me remove these warnings.

Thanks, as always
abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

Post by abc123 »

I am assuming that this is your job design, at least part of it:

SeqFile --> Xfm

You have to have it nullable in the SeqFile stage and Not Nullable on the output of the transformer.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Just to keep it happy set the Null Field Value property for this field to "" (indeed, having done so, you could remove the NullToEmpty transformation).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
MaliniLakhani
Participant
Posts: 11
Joined: Mon Oct 25, 2004 5:35 am

Post by MaliniLakhani »

Thanks, that did the trick for me.
thompsonp
Premium Member
Premium Member
Posts: 205
Joined: Tue Mar 01, 2005 8:41 am

Post by thompsonp »

In the transformer output link have you changed the column from nullable to not nullable in keeping with the NullToEmpty transform?
Post Reply