How to Hnadle NUllable Field in SEQ file

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
jagadish9
Participant
Posts: 10
Joined: Sat Jun 10, 2006 10:16 am

How to Hnadle NUllable Field in SEQ file

Post by jagadish9 »

Hi,
can you please tell me how to handle nullable field in seq file.
when i running a job in parallel.i am getting the following warning.

Null field handling without nullable properties

Thanks for u r help in advance
ds_is_fun
Premium Member
Premium Member
Posts: 194
Joined: Fri Jan 07, 2005 12:00 pm

Re: How to Hnadle NUllable Field in SEQ file

Post by ds_is_fun »

You will need to find out what the biz rule for defaulting NULLs is.
THen In the Transformer stage based on the null default write a IF THEN ELSE clause as -
If NULL THEN <default value> ELSE column.
jagadish9 wrote:Hi,
can you please tell me how to handle nullable field in seq file.
when i running a job in parallel.i am getting the following warning.

Null field handling without nullable properties

Thanks for u r help in advance
Those who throw objects at crocodiles should be asked to retreive 'em.
ravibabu
Participant
Posts: 39
Joined: Tue Feb 13, 2007 12:18 am
Location: vijayawada

Post by ravibabu »

hI,

You select the Nullable is YES and your not handleng the NUlls in Format tab.

Pls select the Field default then Null fileld Value="\000"

Regards,
Ravi Babu.B
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Go to the Columns grid and edit the extended metadata for the Nullable column. Set its Null Field Value property (in the Nullable folder). If the sequential file is fixed width then the number of characters in the Null Field Value property must exactly match the number of characters in the field itself.
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