Need help with SARGRW in creating a report showing particular job run information.
Release : 14.0
Component : CA Deliver
In this instance, the client was looking for information that would be found in JOB records (from SARINIT JOBMODE=YES), but when the client was asked to be in a View online session and be in JOB mode, it was found that there were no records from which information could be extracted.
As the client was actually looking for information from ALL mode, it was then recommended that the client use the following SARGRW program:
/SELECT SUBSTR(JOBNAME,1,3) = 'ABC'
/IF EXECSDAT = CDATE
/TITLE 'ABC JOBS RUN - SNAPSHOT 9AM TODAY'
/PRINT JOBNAME 'JOBNAME' COL(1)
/PRINT SYSID ' SYSTEM'
/PRINT CLASS 'CLASS'
/PRINT ID ' ID'
/PRINT EXECSDAT 'START DATE'
/PRINT EXECSTIM ' TIME'
/PRINT EXECEDAT ' END DATE'
/PRINT EXECETIM ' TIME'
/PRINT XCODE 'XCODE'
/PRINT EDIT(LINES,'ZZZZZZZZ9') ' LINES'
/PRINT EDIT(PAGES,'ZZZZZZZ9') ' PAGES'