warning for null field

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
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

warning for null field

Post by samsuf2002 »

hi i am runnung a parallel job with two seq files input to CDC and out put to a seq file

job is running fine but i am getting this warnings

When checking operator: When validating export schema: At field "lat": "null_field" length (0) must match field's fixed width (9)

these warnings are for 2 fields which are decimal 7,4

Can any one plz help out here
Thanks
hi sam here
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

You already have a post running on this topic and a post resloved on this topic. I don't think advice would be any different from what Arnd has suggested in other post i.e. Search.

What you are trying to do is read data from fixed-width files and have not defined on how to handle any null values. Try the suggestions in the above link. You might get lucky :wink:
Kris

Where's the "Any" key?-Homer Simpson
ambasta
Participant
Posts: 93
Joined: Thu Jan 19, 2006 10:29 pm
Location: Bangalore

Post by ambasta »

Try NULL FIELD VALUE=' ' in sequential file.
ambasta
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

i tried Null Field value = ' ' but still it is giving this warning .My file is a pipe delimited why it is giving warning as fixed width i dont knw.
hi sam here
ambasta
Participant
Posts: 93
Joined: Thu Jan 19, 2006 10:29 pm
Location: Bangalore

Post by ambasta »

if there are only two column u can do edit at column level.can u go to that column and place those many no of spaces as ur field length.try this and let us know.
ambasta
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

Can any body please suggest some more
Thanks
hi sam here
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If the column is decimal, give the default value equal in digit to the given spec. Like
Null Field Value - '000.0000'
Also check the stage on which the warning is appearing.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply