Question:
The CA WA ESP CSF (Consolidated Status Facility) ISPF panel has field named 'MaxRT' and 'MinRT'. How to get the values of these fields to display for jobs in the CSF?
Environment
CA WA ESP EDITION 11.4 Z/OS
Answer:
MaxRT represents the symbolic variable MAXRUNTIME which contains the maximum allowable execution time for a job in minutes.
MinRT represents the symbolic variable MINRUNTIME which contains the minimum allowable execution time for a job in minutes.
In order to display the MaxRT or MinRT, the symbolic variable must be used in the ESP procedure.
The following sample ESP procedure contains MAXRUNTIME and MINRUNTIME symbolic variables:
APPL PAYROLL
JCLLIB 'CYBER.JCL.CNTL'
IF %ESP_APPL_PROC THEN DO
MINRUNTIME = AVGRUNTIME * 25 / 100
MAXRUNTIME = AVGRUNTIME * 175 / 100
ENDDO
NOTIFY OVERDUE USER(CYBER02)
NOTIFY PREMEND USER(CYBER02)
JOB PAY1
RUN NOW
ENDJOB
JOB PAY2
RUN NOW
ENDJOB