Example 1
The
following example shows the JCL statements used to check an IOCP input
file. IOCP requires SYSIN as the ddname for the input data set and
SYSPRINT as the ddname for the output data set. Reports are sent to
SYSOUT.
//IOCP1 JOB REGION=0M,...
//TEST1 EXEC PGM=ICPIOCP,PARM=('WRTCDS=NO',
// 'LINECOUNT=60')
//SYSIN DD DSNAME=USER.IOCD1.CARDS,DISP=SHR
//SYSPRINT DD SYSOUT=A,DCB=(RECFM=FA)
In the example:
- IOCP1
- specifies the JOB statement. Code parameters on the JOB statement that your installation requires. To determine the REGION or MEMLIMIT size, see IOCP storage requirements.
- TEST1
- specifies the EXEC statement and the program (ICPIOCP) to run.
The PARM options are:
- WRTCDS=NO
- specifies not writing the IOCDS to the Support Element hard disk
- LINECOUNT=60
- specifies 60 lines of output on the reports IOCP produces.
- SYSIN
- specifies the DD statement that defines the input data set, which consists of statements with a record length of 80 bytes.
- SYSPRINT
- specifies the DD statement that defines the output data set to receive messages and reports. (Note that IOCP records contain ANSI device control characters and have a length of 133 bytes.)