Hi,
I have an job currently in a dseries that is running on the mainframe, via a z/OS agent. I have a need to pass the job's run time (HHMNSS) to the JCL for the job, using the Environment Variables. What I have done so far:
1) Defined the following ENVAR:
TIME_STAMP %JOBTIME
This is present in the JCL coded as %TIME_STAMP.
2) Defined Javascript at the job level, to execute at job runtime as follows:
JOBTIME=WOB._RHH+WOB._RMN+WOB._RSS;
When I simulate the event, the results for the TIME_STAMP envar is NaN (looks like garbage)
Is this something that cannot be simulated and can only be tested through real-time processing?
Thanks,
Denise