Hi Friends,
I have a input DATE column which is in DD/MM/YYYY format and the problem is Im unable to do a conversion of
CURRENT DATE - DATE and my target colum is a number.
can anyone help me coverting this in datastage server jobs.
Thanks
Conversion
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
System variable @DATE does not require conversion, as it is already in internal format. The same is true of the Date() function. Therefore you are looking for an expression something like
Code: Select all
@DATE - Iconv(InLink.TheDate, "DDMY")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.