Example 1

The following example shows the JCL statements to check an IOCP input file embedded in the job. IOCP requires SYSLST for the output data set and sends reports there.
// JOB   IOCP1
// ASSGN SYSLST,cuu
// ON $RC GE 8 GOTO $EOJ 
// EXEC  PGM=ICPIOCP,SIZE=AUTO 
(Imbed your IOCP input statements here) 
/* 
/& 
In the example:
JOB
Specifies the JOB statement.
SYSLST
Specifies the printer to receive messages and reports. You must assign SYSLST to a physical printer or to a VSE/POWER spooled printer. (IOCP records contain ANSI device control characters and have a length of 133 bytes.)
ON $RC GE 8 GOTO $EOJ
Specifies that if IOCP ends with an error (return code of 8 or greater), job processing ends.
EXEC
Specifies the EXEC statement with the following options coded:
PGM=ICPIOCP
Specifies that you want to run the ICPIOCP program.
SIZE=AUTO
Specifies that the IOCP program uses the remaining partition size for GETVIS or IARV64.