Right. You need to 'convert' the date portion only and you can't include that time mask in the output conversion. So split into two, convert date, stick time back on.
-craig
"You can never have too many knives" -- Logan Nine Fingers
There is no such think as Oconv() for a timestamp. Your second argument is completely wrong. You must convert the date and time portions separately then concatenate them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Just like I posted. Field() can do the parsing for you here. And since your time format is different than you originally posted, you'll need to convert that as well using "MTS".
-craig
"You can never have too many knives" -- Logan Nine Fingers
Oh i see what i did wrong i modified the output colum in the transform to datatype of date it was varchar looks good now.
Thank you very much
Now all i got to do is something like this correct
OCONV(ICONV(Field(DSLink2.CreateDate," ",1,1),"D"),"D-DMY[2,A3,2] ") + Field(DSLink2.CreateDate," ",10,8)
Use ":" for concatenation, not "+". And you want the 2nd & 3rd "field" for the timestamp part, so Field(DSLink2.CreateDate," ",2,2) to mean "two contiguous fields starting with the 2nd field".
-craig
"You can never have too many knives" -- Logan Nine Fingers