ESP CCCHK statements not processed for some jobs.
search cancel

ESP CCCHK statements not processed for some jobs.

book

Article ID: 45082

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

CCCHK statements defined at the JOB level not getting processed. 

Cause

Job contains ESPS*** variable's which are processed during generation phase causing statements in job definition to not be included. 

Example:
TIME2='%ESPAHH%ESPAMN'   
JOB DPRCCOD7.%TIME2   
RUN DAILY   
CCCHK RC(U0206) OK CONTINUE   
CCCHK RC(1:4095) FAIL CONTINUE   
ENDJOB 

Resolution

Use ESPS*** time or date variables which are (Actual) variables. The time or date will resolve to when the application is scheduled.  

Example:

TIME2='%ESPSHH%ESPSMN'   
JOB DPRCCOD7.%TIME2   
RUN DAILY   
CCCHK RC(U0206) OK CONTINUE   
CCCHK RC(1:4095) FAIL CONTINUE   
ENDJOB