Sample JCL
The following figure shows an example of JCL that you can submit to start the ARSLOAD program in a UNIX System Services environment. The parameters for the ARSLOAD program are provided by using the PARM keyword on the EXEC statement.
The following figure shows the same example but specifies
the parameters from a file instead of the PARM keyword on the EXEC
statement:
//USERLOAD JOB (TSS40000),'user',MSGCLASS=1,CLASS=A,
// MSGLEVEL=(1,1),NOTIFY=&SYSUID,TIME=1440
//PROCESS OUTPUT DEFAULT=YES,CLASS=*,JESDS=ALL,OUTDISP=HOLD
//**************************************************************
//STEP1 EXEC PGM=ARSLOAD,REGION=0M,
// PARM=('/-V //DD:PARM -u odadmin -p passwd')
//STEPLIB DD DSN=ARS.V10R5M0.SARSLOAD,DISP=SHR
//* DD DSN=DB2.V10R5M0.SDSNEXIT,DISP=SHR
//* DD DSN=DB2.V10R5M0.SDSNLOAD,DISP=SHR
// DD DSN=ACIF.V2R3M1.SAPKMOD1,DISP=SHR
//*DSNAOINI DD PATH='/opt/IBM/ondemand/V10R5M0/config/cli.ini'
//SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=*
//INPUT DD DSN=PSF.SAPKSAM3(APKBANK),DISP=SHR
//CEEDUMP DD SYSOUT=*.
//PARM DD *
-h
ARCHIVE
-n
-g
appGrp
-s
INPUT
afp