Example 2
The following example shows the JCL statements to process an IOCP input file, to generate an IOCDS, and to write the generated IOCDS to the A0 IOCDS on the Support Element hard disk. Reports of the generated IOCDS are sent to SYSOUT.
IOCP requires the ddnames
SYSIN for the input
data set and SYSPRINT for the output data set. //IOCP2 JOB REGION=0M,...
//WRITE1 EXEC PGM=ICPIOCP,PARM='WRTCDS=A0'
//SYSIN DD DSNAME=USER.IOCD2.CARDS,DISP=SHR
//SYSPRINT DD SYSOUT=A,DCB=(RECFM=FA) In the example:
- IOCP2
- specifies the JOB statement. Code parameters on the JOB statement required by your installation. To determine the REGION or MEMLIMIT size, see IOCP storage requirements.
- WRITE1
- specifies the EXEC statement and the program (ICPIOCP) to run.
The PARM options are:
- WRTCDS=A0
- specifies writing the A0 IOCDS to the Support Element hard disk.
- 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.)