I am creating a Rexx tool that will submit some jobs and give a report with output datasets, total execution time taken and other details. I am using ISFCALLS to read the spool and get MAX RC detail of a job using RETCODE. I am refering IBM Redbook - Implementing REXX
Support in SDSF that says that we can get
1. Time that execution began using TIMEE.
2. Time that execution end using TIMEN.
However using these keywords I am not able to get the times.
Please find below code snippet:
RC_ISF = ISFCALLS("ON")
IF RC_ISF = 00 THEN
ISFPREFIX = "'"MEMBER"'"
ADDRESS SDSF "ISFEXEC ST"
DO IJ = 1 TO JNAME.0
IF JOBID.IJ = JID THEN
IF RETCODE.IJ <> '' THEN
RTCODE = RETCODE.IJ
RCODE = SUBSTR(RETCODE.IJ,4,4)
SAY 'START TIME ' TIMEE.IJ
SAY 'END TIME ' TIMEN.IJ