How to setup a manual job without Encore to detect a failure.
ESP does not know when a manual job fails if you are not using Encore.
You need to insert CCCHK parameter to specify what action to take if a job step or procstep is considered OK or FAILED (See examples below).
Example#1 - A condition code greater than zero in STEP10 causes JOBA to fail.
APPL TESTA
JCLLIB 'yourpdslibrary'
JOB JOBA
CCCHK STEP(STEP10) RC(1:4095) FAIL
RUN ANY
ENDJOB
Example#2 - A condition code of 12 produced by the program IEBGENER for JOBB is acceptable.
APPL TESTB
JCLLIB 'yourpdslibrary'
JOB JOBB
CCCHK PROGRAM(IEBGENER) RC(12) OK
RUN ANY
ENDJOB