Problem with date format

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
sg33
Participant
Posts: 25
Joined: Wed Nov 24, 2010 3:07 am
Location: India

Problem with date format

Post by sg33 »

Hi ,

I have a parallel job with the source as a dataset .A field AMORT_DT is coming as VARCHAR from the input and is being converted to Date in the transformer . After the lookup I want to check the converted Date field for Empty field (i.e '')

I think '' is not a valid date type .

Is there any other way to look for Empty String .

Thanks in advance !!
Best Regards
kamtammystuff
Participant
Posts: 26
Joined: Fri Feb 19, 2010 2:08 am

Post by kamtammystuff »

Check the validity of the date before converting it into DATE datatype in the transformer itself.
_____________________________________
-Kish
Post Reply