About the JCL statements

The JCL statements are explained as follows.
//STEP1 EXEC PGM=ARSLOAD ...
The EXEC statement specifies the name of the ARSLOAD program.
// PARM=('/-h ARCHIVE -u odadmin -p passwd -n -g appGrp -s INPUT afp ')
The PARM keyword on the EXEC statement specifies the parameters for the ARSLOAD program. See Parameters for information about the parameters that you can specify. The example specifies the following parameters:
Important: The leading / in the PARM= keyword is important, as this ensures that the Language Environment® will not attempt to interpret the parameters as Language Environment runtime options.
  • -h ARCHIVE specifies the name of the Content Manager OnDemandinstance to process. The system locates the specified instance name in the ARS.INI file to determine the TCP/IP address, host name alias, or fully-qualified host name of the library server and other configuration information for the instance. The example -h parameter specifies an instance name of ARCHIVE.
  • -u odadmin specifies the Content Manager OnDemand userid that has administrator authority to load documents into the application group.
  • -p passwd specifies the password for the Content Manager OnDemand userid that was specified with the -u parameter.
  • -n specifies that the ARSLOAD program should keep the input files after successfully completing processing.
  • -g appGrp specifies the name of the Content Manager OnDemand application group to load. The name of the application group must be specified exactly as it exists in the Content Manager OnDemand database.
  • -s INPUT specifies the DD name that identifies the input data set that ACIF will index (INPUT in this example).
  • afp causes the ARSLOAD program to append the processid to the specified file name. This is to allow for running multiple instances of the ARSLOAD program. If you do not specify the -s parameter, the processid will not be appended.
//STEPLIB DD DSN=ARS.V10R5M0. SARSLOAD,DISP=SHR
Specifies the load library for the Content Manager OnDemand programs, which must be customized for the local naming conventions.
//* DD DSN=DB2.V10R5M0.SDSNEXIT
If ODF is being used, uncomment and customize for the local naming conventions.
//* DD DSN=DB2.V10R5M0.SDSNLOAD
If ODF is being used, uncomment and customize for the local naming conventions.
// DD DSN=ACIF.V2R3M1.SAPKMOD1
Specifies the ACIF library, which must be customized for the local naming conventions.
//*DSNAOINI DD PATH='/opt/IBM/ondemand/V10R5M0/config/cli.ini'
If ODF is being used, or ARSLOAD should attempt to not use TCP/IP, uncomment and customize for the local naming conventions.
//INPUT DD ...
Specifies the input data set that ACIF will index. This DD statement is named by the -s parameter.
//CEEDUMP DD ...
Specifies the data set to which Language Environment writes any dumps.