Any date validate function

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mouthou
Participant
Posts: 208
Joined: Sun Jul 04, 2004 11:57 pm

Any date validate function

Post by mouthou »

Hello All,

I was trying to find some routine or function to validate the incoming source DATE values.
Sometimes the source is deriving (from other date columns) and sending invalid dates like 31-sep-2007. But there is no 31 in September. Is there any function like IsValidDate in datastage or it has to be custom defined. Could your share your ideas in case you encountered this situation.

Thanks for your help.
trammohan
Participant
Posts: 47
Joined: Thu Nov 13, 2003 12:47 pm

Post by trammohan »

try this one

IsValid("date",Str)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Search the forum to find where a server version of IsValid() can be obtained.
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