Previous Topic: DDDL Compiler Batch Execution JCLNext Topic: IDMSDDDL Under z/VSE


IDMSDDDL Under z/OS

Executing Under the Central Version

z/OS JCL for running IDMSDDDL under the CA IDMS/DB central version follows:

IDMSDDDL (z/OS)

//stepname EXEC PGM=IDMSDDDL,REGION=1024K
//STEPLIB  DD   DSN=idms.dba.loadlib,DISP=SHR
//         DD   DSN=idms.custom.loadlib,DISP=SHR
//         DD   DSN=idms.cagjload,DISP=SHR
//sysctl   DD   DSN=idms.sysctl,DISP=SHR
//dcmsg    DD   DSN=sysmsg.ddldcmsg,DISP=SHR
//SYSLST   DD   SYSOUT=A
//SYSIDMS  DD   *
DMCL=dmcl-name
DICTNAME=dictionary-name
Other optional SYSIDMS parameters
/*
//SYSIPT   DD   *
DDDL source statements
/*

More information: For more information on optional SYSIDMS parameters, refer to the CA IDMS Common Facilities Guide document.

idms.dba.loadlib

Dataset name of the load library containing the DMCL and database name table load modules

idms.custom.loadlib

Dataset name of the load library containing the customized CA IDMS executable module

idms.cagjload

Dataset name of the load library containing the CA IDMS executable modules that do not require customization

sysctl

DDname for the SYSCTL file; sysctl is SYSCTL unless specified otherwise in IDMSOPTI

idms.sysctl

Dataset name of the SYSCTL file

dcmsg

DDname name of the system message (DDLDCMSG) area

sysmsg.ddldcmsg

Dataset name of the system message (DDLDCMSG) area

dmcl-name

Name of the DMCL to be accessed

dictionary-name

Name of the dictionary to be accessed

SYSPCH Statement

If you are going to be using any PUNCH statements, include the SYSPCH statement in JCL. For example:

//SYSPCH   DD   DSN=dataset-name,DISP=(NEW,KEEP,DELETE),
                DCB=(RECFM=FB,BLKSIZE=9040,LRECL=80),
                     SPACE=space-specification,
                     UNIT=unit,VOL=SER=nnnnnn

Executing in Local Mode

To execute the DDDL compiler in local mode, remove the SYSCTL DD statement and replace it with the following statements:

//dictdb  DD  DSN=idms.appldict.ddldml,DISP=SHR
//dloddb  DD  DSN=idms.appldict.ddldclod,DISP=SHR
//sysjrnl DD  DSN=idms.tapejrnl,DISP=SHR

Note: These statements are needed only if the DDDL compiler run accesses the LOAD MODULE entity type.

dictdb

DDname of the application dictionary definition (DDLDML) area

idms.appldict.ddldml

Dataset name of the application dictionary definition (DDLDML) area

dloddb

DDname of the application dictionary load (DDLDCLOD) area

idms.appldict.ddldclod

Dataset name of the application dictionary load (DDLDCLOD) area

sysjrnl

DDname of tape journal file; the name must be appropriate to the DMCL module being used

idms.tapejrnl

Dataset name of tape journal file