Hi,
I need a function/system variable similar to @Date in Server.It should do the following:
At the first call in a job, the function calls the operating system for the date. On the second and subsequent calls, the function returns the value of the first call.
Thanks.
Today's date
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The DataStage macro DSJobStartTimestamp should be available in a Transformer stage. Or simply initialize a stage variable to CurrentDate() and don't derived it as each new row is processed.
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.