Joined: 20 Jun 2005 Posts: 86 Location: Chennai, India
You may wish to use TIME macro in your routines to get the current date/time stamp. It will return the date in the format you request. Here is an example:
TIMEDATE DS CL16 TIME AND DATE RETURNED
Here TIMEDATE is the variable where system would store the result. The first two full words in TIMEDATE would have time of the day in the format requested (DEC means format would be HHMMSS,milli,micro seconds); third full word would have the date in the format you requested (YYYYDDD); fourth full word must be initialized to zero before issuing TIME macro.