There is a program and a supporting clist available to aid in condition code
coding and verifying. The program is DR0060CP and the clist is CC. DR0060CP
accepts up to a 4 digit parm and will simply return the parm as the condition
code. It will also accept PARM=ABEND to force a S0C4 abend to enable testing
of abend handling.
Examples: //STEP01 EXEC PGM=IDCAMS
//SYSOUT DD SYSOUT=*
//SYSIN DD *
.
.
.
/*
//*
// IF (STEP01.RC = 0) THEN
//*
//STEP02 EXEC PGM=YW100BC
A sample production job using DR0475BA is PCCC$3C2.