Datatype conversion

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
svga
Participant
Posts: 73
Joined: Thu Aug 07, 2008 6:31 am
Location: Syracuse

Datatype conversion

Post by svga »

Hi,

I have problem in converting char string to datetime datatype.The macro Datetimestamp is being passed as a user status to the next job where i am deleting the record from SQL table if the Extrctdte(One of the column in the table) is equal to Datetimestamp.Here i am getting an error as "Syntax error converting datetime from character string". Please help me to convert the string into datetime format.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Which macro, exactly? There isn't one called "Datetimestamp".
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply