ESP JOB FAILED with JCL ERROR
search cancel

ESP JOB FAILED with JCL ERROR

book

Article ID: 258017

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

When I submit job outside ESP it runs with RC=0012 but when I run it through ESP it fails with JCL error. 

ESP493I JOB TERMINATED BY CCCHK STOP REQUEST
IEF453I XXXXXXXX - JOB FAILED - JCL ERROR
$HASP395 XXXXXXXX ENDED - RC=0012

Environment

Component: ESP WORKLOAD AUTOMATION 
Release:   12.0

Cause

Whenever you use the CCCHK RC(1:4095) FAIL STOP.   

If the Condition matches  FAIL STOP The job will issue message 453I. This message indicates the job failed with a JCL error, although there actually is no JCL error.

 

Resolution

Change: CCCHK in Job definition using example below:

From:
CCCHK RC(0) OK CONTINUE   
CCCHK RC(1:4095) FAIL STOP

To:
CCCHK RC(0) OK CONTINUE   
CCCHK RC(1:4095) FAIL CONTINUE

Additional Information

N/A