MaxRT and MinRT are blank for Jobs in ESP CSF (Consolidated Status Facility) ISPF panel
search cancel

MaxRT and MinRT are blank for Jobs in ESP CSF (Consolidated Status Facility) ISPF panel

book

Article ID: 23364

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

MaxRT and MinRT are blank for jobs in  ESP CSF (Consolidated Status Facility) ISPF panel

How to get the values of these fields 'MaxRT' and 'MinRT' to display for jobs in the CSF (Consolidated Status Facility) ISPF panel? 

Environment

Component: ESP WORKLOAD AUTOMATION 
Release:   12.0

Resolution

In order to display the MaxRT or MinRT, the symbolic variable must be used in the ESP procedure.  

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.


The following sample ESP procedure contains MAXRUNTIME and MINRUNTIME symbolic variables:

APPL appname                                                               
JCLLIB '<your library name>'                                                    
IF %ESP_APPL_PROC THEN DO                                                  
  MINRUNTIME = AVGRUNTIME * 25 / 100                                       
  MAXRUNTIME = AVGRUNTIME * 175 / 100                                      
ENDDO                                                                      
NOTIFY OVERDUE USER(xxxxxxx)                                               
NOTIFY PREMEND USER(xxxxxxx)                                               
JOB jobname1                                                                   
  RUN NOW                                                                  
ENDJOB                                                                     
JOB jobname2                                                                   
  RUN NOW                                                                  
ENDJOB