JCL and Commands for z/OS and z/VSE

JCL and commands for running ADSOBSYS are shown below for z/OS, z/VSE, and z/VM systems.
idmscu19
JCL and commands for running ADSOBSYS are shown below for z/OS, z/VSE, and z/VM systems.
This article describes the following information:
2
2
z/OS JCL
Sample z/OS JCL for Central Version
ADSOBSYS (central version) (z/OS)
//ADSOBSYS EXEC PGM=ADSOBSYS,REGION=1024K //STEPLIB  DD   DSN=
idms.dba.loadlib
,DISP=SHR //         DD   DSN=
idms.loadlib
,DISP=SHR //
sysctl
   DD   DSN=
idms.sysctl
,DISP=SHR //
dcmsg
    DD   DSN=
idms.sysmsg.ddldcmsg
,DISP=SHR //SYSLST   DD   SYSOUT=A //SYSPCH   DD   DSN=
&&object.
,DISP=(NEW,PASS), //             UNIT=
disk
,SPACE=(TRK,1), //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120) //SYSIDMS  DD   * DMCL=
dmcl-name
  DBNAME=
system
 
Put other SYSIDMS parameters, as appropriate, here
  /* //SYSIPT   DD   *
Put ADSOBSYS parameters, as appropriate, here
  /* //* //LINKOPTI EXEC PGM=IEWL,REGION=1024K,PARM='LET,LIST,NCAL,XREF' //SYSPRINT DD   SYSOUT=A //SYSUT1   DD   UNIT=
disk
,SPACE=(CYL,(3,2)) //SYSLMOD  DD   DSN=
idms.dba.loadlib
,DISP=SHR //SYSLIN   DD   DSN=
&&object.
,DISP=(OLD,DELETE) //         DD   *  ENTRY 
adsoopti
   NAME  
adsoopti
(R) /* //*
Sample z/OS JCL for Local Mode ADSOBSYS (local mode) (z/OS)
//ADSOBSYS EXEC PGM=ADSOBSYS,REGION=1024K //STEPLIB  DD   DSN=
idms.dba.loadlib
,DISP=SHR //         DD   DSN=
idms.loadlib
,DISP=SHR //
dcdml
    DD   DSN=
idms.system.ddldml
,DISP=SHR //
dcmsg
    DD   DSN=
idms.sysmsg.ddldcmsg
,DISP=SHR //
sysjrnl
  DD   DUMMY //SYSLST   DD   SYSOUT=A //SYSPCH   DD   DSN=
&&object.
,DISP=(NEW,PASS), //             UNIT=
disk
,SPACE=(TRK,1), //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120) //SYSIDMS  DD   * DMCL=
dmcl-name
  DBNAME=
system
 
Put other SYSIDMS parameters, as appropriate, here
  /* //SYSIPT   DD   *
Put ADSOBSYS parameters, as appropriate, here
  /* //* //LINKOPTI EXEC PGM=HEWL,REGION=1024K,PARM='LET,LIST,NCAL,XREF' //SYSPRINT DD   SYSOUT=A //SYSUT1   DD   UNIT=
disk
,SPACE=(CYL,(3,2)) //SYSLMOD  DD   DSN=
idms.dba.loadlib
,DISP=SHR //SYSLIN   DD   DSN=
&&object.
,DISP=(OLD,DELETE) //         DD   *  ENTRY 
adsoopti
   NAME  
adsoopti
(R)  /* //*
idms.dba.loadlib
Data set name of the load library containing the DMCL and database name table load modules
idms.loadlib
Data set name of the load library containing the CA IDMS executable modules
sysctl
DDname of the SYSCTL file
idms.sysctl
Data set name of the SYSCTL file
dcmsg
DDname of the system message (DDLDVM/ESAG) area
idms.sysmsg.ddldcmsg
Data set name of the system message (DDLDVM/ESAG) area
&&object.
Temporary data set name for the ADSOOPTI object module
disk
Symbolic device name for the work files
dmcl-name
Name of the DMCL load module
system
Name of the system dictionary
adsoopti
ADSOOPTI module name
dcdml
DDname of the system dictionary definition (DDLDML) area
idms.system.ddldml
Data set name of the system dictionary definition (DDLDML) area
sysjrnl
DDname of the tape journal file
For more information about SYSIDMS parameters, see the
CA IDMS Database Administration section.
z/VSE JCL
Sample z/VSE JCL for Central Version
ADSOBSYS (z/VSE)
// UPSI b                 
if specified in IDMSOPTI module
  // DLBL       userlib // EXTENT     ,nnnnnn // LIBDEF     *,SEARCH=idmslib.sublib // LIBDEF     *,CATALOG=(userlib.cdmslib) // DLBL    IDMSPCH,'temp.adsootpi' // EXTENT  sysnnn,nnnnnn,,,ssss,llll    ASSGN   sysnnn,DISK,VOL=nnnnnn,SHR // EXEC    ADSOBSYS  SYSTEM=nnnn,MODULE=adsoopti
SYSIDMS parameters
  /* // DLBL    IJSYSIN,'temp.adsoopti' // EXTENT  SYSIPT,nnnnnn    ASSGN   SYSIPT,DISK,VOL=nnnnnn,SHR // OPTION  CATAL  PHASE adsoopti,*  INCLUDE  ENTRY (adsoopti) // EXEC    LNKEDT  CLOSE SYSIPT,SYSRDR  CLOSE sysclb,UA
adsoopti
ADSOOPTI module name
SYSIDMS parameters
a list of SYSIDMS parameters for this job
b
appropriate 1- to 8-character UPSI bit switch, as specified in the IDMSOPTI module
llll
number of tracks (CKD) or blocks (FBA) of the disk extent
nnnn
version number of the DC/UCF system
nnnnnn
volume serial number of the library
ssss
starting track (CKD) or block (FBA) of the disk extent
sysnnn
logical unit assignment of the temporary adsoopti module
temp.adsoopti
temporary file-id of the ADSOOPTI module
userlib
filename of the user library
userlib.cdmslib
file-id of the CA IDMS sublibrary
For more information about SYSIDMS parameters, see the
CA IDMS Database Administration
.
Sample z/VSE JCL for Local Mode
To execute ADSOBSYS in
local mode
, perform the following steps:
  1. Remove the UPSI specification.
  2. Add the following statements before the EXEC ADSOBSYS statement:
// DLBL    dictcb,'idms.appldict.ddldml',,DA // EXTENT  sys015,nnnnnn // ASSGN   sys015,DISK,VOL=nnnnnn,SHR // DLBL    dloddb,'idms.appldict.ddldclod',,DA // EXTENT  sys017,nnnnnn // ASSGN   sys017,DISK,VOL=nnnnnn,SHR // DLBL    dmsgdb,'idms.sysmsg.ddldcmsg',,DA // EXTENT  sys016,nnnnnn // ASSGN   sys016,DISK,VOL=nnnnnn,SHR // TLBL    sys009,'idms.tapejrnl',, nnnnnn,,f // ASSGN   sys009,TAPE,VOL=nnnnnn
idms.appldict.ddldml
file-id of the data dictionary DDLDML area
idms.appldict.ddldclod
file-id of the data dictionary load area
idms.sysmsg.ddldcmsg
file-id of the data dictionary message area
idms.tapejrnl
file-id of the tape journal file
dictdb
filename of the data dictionary DDLDML area
dloddb
filename of the data dictionary load area (DDLDCLOD)
dmsgdb
filename of the data dictionary message area (DDLDVM/ESAG)
f
file number of the tape journal file
nnnnnn
volume serial number of the library
sys009
logical unit assignment for the tape journal file
sys015
logical unit assignment for the data dictionary DDLDML area
sys016
logical unit assignment for the data dictionary message area
sys017
logical unit assignment for the data dictionary load area
userlib
filename of the user library
userlib.cdmslib
file-id of the CA IDMS sublibrary