See code sample. The date and time are returned as formatted character fields, so as long as you can work with that.... You can also get the Job start date/time and subsystem from the same message. Mike
Code
See code sample. The date and time are returned as formatted character fields, so as long as you can work with that.... You can also get the Job start date/time and subsystem from the same message. Mike
Code
Is there a way in a CL to see the time that a job entered the system? I see that there is a parmameter you can use from the RVTJOBA command to get the start date. Is there one for the start time?
The Retrieve Job Information API could be used to access the date and time the job entered the system and when the job started. The following example returns this information for the current job in Char(13) fields with a format of CYYMMDDHHMMSS where C is century (0 = 19xx, 1= 20xx), YY is year, MM month, etc. The API can be found in the Information Center under Programming/APIs/APIs by category/Work Management
Code