Previous Topic: JCL and CommandsNext Topic: z/VSE JCL


z/OS JCL

Sample z/OS JCL for Central Version

ADSOBCOM (z/OS)

//         EXEC PGM=ADSOBCOM,REGION=500K
//STEPLIB  DD  DSN=idms.loadlib,DISP=SHR
//sysctl   DD  DSN=idms.sysctl,DISP=SHR
//dclscr   DD  DSN=cdms.dclscr,DISP=SHR
//SYSLST   DD  SYSOUT=A
//SYSUDUMP DD  SYSOUT=A
//SYSIDMS  DD  *
SYSIDMS parameters 
//SYSIPT   DD  *
control statements 
/*

idms.loadlib

data set name of the CA IDMS load library

idms.sysctl

data set name of the SYSCTL file

dclscr

ddname of the local scratch file (if one is specified in the DMCL; otherwise not required)

cdms.dclscr

data set name of the local scratch file (if one is specified; otherwise not required)

sysctl

ddname of the SYSCTL file

SYSIDMS parameters

a list of the SYSIDMS parameters that pertain to this job

Sample z/OS JCL for Local Mode

To execute ADSOBCOM in local mode, perform the following steps:

  1. Remove the sysctl DD statement.
  2. Add the following statements after the CDMSLIB DD statement:
    //sysjrnl DD DSN=idms.tapejrnl,DISP=(NEW,KEEP),UNIT=tape
    //dictdb  DD DSN=idms.appldict.ddldml,DISP=SHR
    //dloddb  DD DSN=idms.appldict.ddldclod,DISP=SHR
    //dmsgdb  DD DSN=idms.sysmsg.ddldcmsg,DISP=SHR
    

idms.appldict.ddldml

data set name of the data dictionary DDLDML area

idms.appldict.ddldclod

data set name of the data dictionary load area

idms.sysmsg.ddldcmsg

data set name of the data dictionary message area

idms.tapejrnl

data set name of the tape journal file

dictdb

ddname of the data dictionary DDLDML area

dloddb

ddname of the data dictionary load area (DDLDCLOD)

dmsgdb

ddname of the data dictionary message area (DDLDVM/ESAG)

sysjrnl

ddname of the tape journal file

tape

symbolic device name of the tape journal file