How to make a job ignore any condition codes or system abends on CA Workload Automation ESP Edition?
search cancel

How to make a job ignore any condition codes or system abends on CA Workload Automation ESP Edition?

book

Article ID: 10671

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

The programmer has a particular job and wants to ignore any abnormal failure message that the job might put out which could cause ESP/Encore to fail/abend it.



Environment

CA WA ESP 11.4 Z/OS

Resolution

Add CONDITIONAL LINK PROCESS as successor which will be released when the JOB fails, it then will force complete the JOB:

JOB MYJOB
RUN TODAY
CCCHK RC(1:4095) FAIL CONTINUE
RELEASE ADD(PDUMMY3.COMP(A))
ENDJOB

JOB MYJOB.COMP LINK PROCESS CONDITIONAL
RUN TODAY
ESPNOMSG AJ MYJOB COMPLETE APPL($ESPAPPL..$ESPAPGEN)
ENDJOB