JCL requirements

The following figure illustrates the JCL required for the operation of ARSYSPIN.
Figure 1. JCL required for the operation of ARSYSPIN
1		//IEFPROC EXEC PGM=ARSYSPIN,REGION=0M
2		//STEPLIB  DD DISP=SHR,DSN=V10R5M0.SARSLOAD
		//         DD DISP=SHR,DSN=CEE.SCEERUN
		//         DD DISP=SHR,DSN=CBC.SCBCCMP
		//         DD DISP=SHR,DSN=DB2.V10R5M0.SDSNEXIT
		//         DD DISP=SHR,DSN=DB2.V10R5M0.SDSNLOAD
		//         DD DISP=SHR,DSN=PSF.SAPKMOD1
3		//SYSIN    DD DUMMY,DCB=(LRECL=80,BLKSIZE=80,RECFM=FB)
4		//SYSPRINT DD SYSOUT=*
5		//SYSOUT   DD SYSOUT=*
6		//CEEDUMP  DD SYSOUT=*
7		//ARSYLIST DD SYSOUT=*
8		//ARSYPARM DD DISP=SHR,DSN=control.data.set.name
The JCL statements are described in the following figure.
Table 1. JCL statements for ARSYSPIN
Statement DDNAME Description/Notes
1   The EXEC statement should specify a REGION size of 0M.

Currently, no PARM text is expected. If PARM text is supplied, it is ignored. However, to ensure compatibility with future enhancements, the EXEC statement PARM parameter should not be specified.

2 STEPLIB Depending upon your system configuration, the STEPLIB DD statement may or may not be required. If a STEPLIB DD statement is needed, all of the referenced libraries must be APF Authorized.

The CEE.* and CBC.* libraries provide the C and other Language Environment runtime support modules.

The Db2®.* libraries provide Db2 runtime support modules.

The *.SARSLOAD library is where ARSYSPIN and other related Content Manager OnDemand modules (such as ARSLOAD) reside.

The *.SAPKMOD1 library is where APKACIF resides

3 SYSIN This DD statement is used by the C runtime for the STDIN stream. The statement should be specified exactly as shown.
4 SYSPRINT This DD statement is used by the C runtime for the STDOUT stream. See z/OS Language Environment Programming Guide, (SA22-7561) for details regarding the characteristics of the file referenced by this DD statement.
5 SYSOUT This DD statement is used by the C runtime for the STDERR stream. See z/OS Language Environment Programming Guide, (SA22-7561) for details regarding the characteristics of the file referenced by this DD statement.
6 CEEDUMP This DD statement is used by the Language Environment runtime for the production of serviceability and traceback information in the event of a runtime detected failure. See z/OS Language Environment Programming Guide, (SA22-7561) for details regarding the characteristics of the file referenced by this DD statement.
7 ARSYLIST The file referenced by this DD statement contains the messages produced by ARSYSPIN. Any file supported by QSAM may be specified.

This file is always written as RECFM=FBA, LRECL=133. If a BLKSIZE value is not supplied, a system determined BLKSIZE value is used.

8 ARSYPARM The file referenced by this DD statement contains the control statement stream. Any file supported by QSAM may be specified.

LRECL: Any record length up to a maximum value of 512 is accepted. The smallest record length is that which is needed to fully contain a keyword/operand pair. From a practical point of view, the smallest record length is 80.

RECFM: Any of the following are supported:
Fixed
(RECFM=F)
Fixed Blocked
(RECFM=FB)
Variable
(RECFM=V)
Variable Blocked
(RECFM=VB)