Previous Topic: z/OS JCL (central version)Next Topic: z/OS Local Mode Considerations


z/OS JCL (local mode)

Here is sample z/OS JCL to execute CA OLQ batch jobs in local mode:

CA OLQ Batch (local mode) (z/OS)

//FORMAT   EXEC PGM=IDMSBCF,REGION=1024K
//STEPLIB  DD   DSN=idms.dba.loadlib,DISP=SHR
//         DD   DSN=idms.loadlib,DISP=SHR
//dcmsg    DD   DSN=idms.sysmsg.ddldcmsg,DISP=SHR
//dclscr   DD   DSN=&.&dclscr.,DISP=(NEW,PASS),
//             UNIT=SYSDA,SPACE=(bbbb,nnnn),
//             DCB=(RECFM=F,LRECL=llll,BLKSIZE=bbbb)
//SYSLST   DD   SYSOUT=A
//SYSIDMS  DD   *
DMCL=dmcl-name
Put other SYSIDMS parameters, as appropriate, here
/*
//SYSIPT   DD   *
FORMAT FILE SYSLOC.dclscr;
/*
//*
//OLQBATCH EXEC PGM=OLQBATCH,REGION=1024K
//STEPLIB  DD   DSN=idms.dba.loadlib,DISP=SHR
//         DD   DSN=idms.loadlib,DISP=SHR
//dictdb   DD   DSN=idms.appldict.ddldml,DISP=SHR
//dloddb   DD   DSN=idms.appldict.ddldclod,DISP=SHR
//dcmsg    DD   DSN=idms.sysmsg.dcmsg,DISP=SHR
//userdb   DD   DSN=user.userdb,DISP=SHR
//dclscr   DD   DSN=&.&dclscr.,DISP=(OLD,DELETE)
//sysjrnl  DD   DUMMY
//SYSLST   DD   SYSOUT=A
//SYSIDMS  DD   *
DMCL=dmcl-name
Put other SYSIDMS parameters, as appropriate, here
/*
//SYSIPT   DD   *
Put CA OLQ commands here
/*
//*

 

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

 

dcmsg

DDname of the system message (DDLDCMSG) area

 

idms.sysmsg.ddldcmsg

Data set name of the system message (DDLDCMSG) area

 

dclscr

DDname of the local mode system scratch (DDLOCSCR) area

Note: See z/OS Local Mode Considerations, below, for more information.

 

&.&dclscr.

Temporary data set name of the local mode system scratch (DDLOCSCR) area

Note: See z/OS Local Mode Considerations, below, for more information.

 

bbbb

Block size (page size)

 

nnnn

Number of pages in the area

 

llll

Logical record length (should be the same as block size)

 

dmcl-name

Specifies the name of the DMCL load module

 

dictdb

DDname of the application dictionary definition area

 

idms.appldict.ddldml

Data set name of the application dictionary definition (DDLDML) area

 

dloddb

DDname of the application dictionary definition load area

 

idms.appldict.ddldclod

Data set name of the application dictionary definition load (DDLDCLOD) area

 

userdb

DDname of the user database file

 

user.userdb

Data set name of the user database file

 

sysjrnl

DDname of the tape journal file

Note: See z/OS Local Mode Considerations, below, for more information.

 

sysctl

DDname of the SYSCTL file

 

idms.sysctl

Data set name of the SYSCTL file

Note: If both the system and local scratch areas are defined in the DMCL, CA IDMS only uses the local scratch area (SYSLOC.DDLOCSCR, dclscr).