Iconv and Oconv Date Conversion
Posted: Tue Jun 16, 2009 11:55 pm
Hi,
I have a problem using the iconv and oconv fuctions for the date conversion in Datastage 8.0.1. The format that i entered the date was mm/dd/yyyy and the output desired was yyyy/mm/dd but i got an output of yyyy mm dd.How can i add the slash in my output.
And, i would also like to know how I could convert to date in the form of
yy MON dd.
The fuction that I used is as follows.
Oconv(Iconv(InputFieldName,"D DMY[2,2,4]"),"D YMD[4,2,2]")
Thanks in Advance
Regards,
Tanmaya
I have a problem using the iconv and oconv fuctions for the date conversion in Datastage 8.0.1. The format that i entered the date was mm/dd/yyyy and the output desired was yyyy/mm/dd but i got an output of yyyy mm dd.How can i add the slash in my output.
And, i would also like to know how I could convert to date in the form of
yy MON dd.
The fuction that I used is as follows.
Oconv(Iconv(InputFieldName,"D DMY[2,2,4]"),"D YMD[4,2,2]")
Thanks in Advance
Regards,
Tanmaya