ESP Reporting issue for abended jobs
search cancel

ESP Reporting issue for abended jobs

book

Article ID: 247394

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Running a report on failed jobs thru ESP, and the report is showing some inconsistencies. 

It's showing where a batch job completed successfully, but is flagged with a CCFAIL in one job, and in another it's showing that the job had a CC of 0, when in fact if had a CC of 08.

 

Environment

Release : 12.0

Component : ESP WORKLOAD AUTOMATION

Cause

The CCCHK parameter will cause the job fail even if it ends with 0 return code.

Regarding the job that ended with RC=8, however, the CMPC field shows : 0

CMPC -
Specifies the job completion code, including return code, user abend code, system abend code, and the type of error.

So in this case it shows the return code, which is understood as: 

RC -
Specifies the return code from the last step that was executed in the job. This is a numeric field.

The history report in this case shows the RC from the last step.

Resolution

Adjust the CCCHK from (0:4095)