how to validate the date in the datastage

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
siva4joy
Premium Member
Premium Member
Posts: 34
Joined: Fri Apr 14, 2006 6:10 am
Location: London

how to validate the date in the datastage

Post by siva4joy »

Hi all,
From the source the dates are coming like '1980-02-31','1995-02-31',
'2000-02-31', '2007-02-31' which is invalid because for Febrauary you will never have 31 days.
Can anybody tell me how to validate of the date?
Thanks for your help in this.
Thanks and Regards,
Sivasankar.z
+44-07807478984
koolnitz
Participant
Posts: 138
Joined: Wed Sep 07, 2005 5:39 am

Post by koolnitz »

Use IsValid('DATE' , In_Date_Column) in Transformer stage
Last edited by koolnitz on Wed Nov 28, 2007 3:49 am, edited 2 times in total.
Nitin Jain | India

If everything seems to be going well, you have obviously overlooked something.
Post Reply