Has anyone experienced this situation when using CCCHK? And if so, how did you get around it?
I have an application coded as below. Jobs DXXXXX01 and DXXXXX03 both have a model defined, with a JOBFAIL event listed in the model definition. When the below runs, and receives a CC 4 in the first job(DXxxxx01), the JOBFAIL event is executed from the model, even though that is not my intent. A CC 4 is acceptable. If I run this appl and the first job receives a CC 5, the JOBFAIL event is executed along with the NOTIFY FAILURE MAILBOX statement(which is the intent).
ANNETEST : ESPPROC
APPL ANNETEST INDEX(10)
JCLLIB 'AL27710.ESP.CNTL'
CCCHK RC(1:4) OK CONTINUE
CCCHK RC(5:4095) FAIL
JOB DXXXXX01
NOTIFY FAILURE MAILBOX(LEONARD)
RUN ANY
RELEASE DXXXXX03
ENDJOB
JOB DXXXXX03
NOTIFY FAILURE MAILBOX(LEONARD)
MEMBER TESTIT1
RUN ANY
ENDJOB
Additional info:
ltj dxxxxx01
JOB DXxxxx01, MODEL ANNE2, OWNER DX24948, 5 JOBS INDEXED, 5 MAX
ltm anne2
MODEL - ANNE2 DEFINED AT 12.33 ON MON 11DEC2017 BY AL27710
HISTFILE - DXHIST, INDEX(10), TRACK, NOPRINTDATA
JOB FAIL - VASTUGRP.NOTIFY_ABND
Thanks in advance.
Anne Leonard