Sequential_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
fleurlisalu
Participant
Posts: 8
Joined: Thu Jul 19, 2007 6:10 am

Sequential_File

Post by fleurlisalu »

in ODS, the field is nullable, and when i load in a sequential file,i have a warning in director:

Sequential_File_119: When checking operator: When validating export schema: At field "HORAIRE_CONTRAT": Exporting nullable field without null handling properties

i can't modify the field, because it's nullable, thank you for your answer
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Sequential files do not have data types. Export is the process of converting data to human-readable format. You need to do this when writing to a sequential file.

Because they have no data types, sequential files don't have a NULL. Therefore you have to tell it how to represent NULL. You do this through the Null Field Value property of each column (since you may want to represent NULL differently for different fields).

Bonne chance!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
velayuthan
Participant
Posts: 10
Joined: Fri Jul 13, 2007 4:01 am

Post by velayuthan »

In the edit column metadata of the sequential file, set the Null field values= %default Values % in the Nullable Properties Panel.

This warining will be elimated.
xch2005
Participant
Posts: 85
Joined: Fri Apr 29, 2005 3:13 am
Location: India

Post by xch2005 »

Also, for seq. file, input tab - field defaults - null field value can be given as=''

Thanks
xch2005
Participant
Posts: 85
Joined: Fri Apr 29, 2005 3:13 am
Location: India

Post by xch2005 »

Also, for seq. file, input tab - field defaults - null field value can be given as=''

Thanks
ambasta
Participant
Posts: 93
Joined: Thu Jan 19, 2006 10:29 pm
Location: Bangalore

Post by ambasta »

Do the null handling in column meta data ..it will remove the warning
ambasta
Post Reply