Previous Topic: z/OS JCLNext Topic: Subschema Compiler


Schema Compiler

IDMSCHEM—Central Version IDMSCHEM (z/OS)

//SCHEMA   EXEC PGM=IDMSCHEM,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=idms.sysmsg.ddldcmsg,DISP=SHR
//SYSLST    DD  SYSOUT=A
//SYSPCH    DD  DSN=&.&PCH., DISP=(NEW,PASS,DELETE),
                DCB=(RECFM=FB,BLKSIZE=9040,LRECL=80),
                     SPACE=space-specification,
                     UNIT=unit
//SYSIDMS   DD  *
Input SYSIDMS parameters, as required
/*
//SYSIPT    DD  *
Schema DDL source statements

Note: The SYSPCH DD statement is required only if the DDL specifies PUNCH TO SYSPCH.

idms.dba.loadlib

Data set name of the load library containing the DMCL and database name table load modules

idms.CUSTOM.LOADLIB

Data set name of the load library containing the customized CA IDMS executable modules

idms.CAGJLOAD

Data set name of the load library containing the vanilla CA IDMS executable modules

sysctl

DDname of the SYSCTL file

idms.sysctl

Data set name of the SYSCTL file

dcmsg

DDname of the message (DDLDCMSG) area

idms.sysmsg.ddldcmsg

Data set name of the message (DDLDCMSG) area

space-specification

Space specification for the punch file

unit

Symbolic device name

IDMSCHEM—Local Lode

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

//dictdb     DD  DSN=idms.appldict.ddldml,DISP=SHR
//dloddb     DD  DSN=idms.appldict.ddldclod,DISP=SHR
//sysjrnl    DD  DSN=idms.tapejrnl,DISP=(NEW,KEEP),
//               UNIT=tape
Additional journal file assignments, as required

Note: Include the dloddb DD statement only if the DDL contains the REGENERATE statement.

dictdb

Ddname of the data dictionary DDLDML area

dloddb

Ddname of the data dictionary load area

idms.appldict.ddldclod

Data set name of the tape journal file

idms.appldict.ddldml

Data set name of the data dictionary DDLDML area

sysjrnl

Ddname of the tape journal file; must be appropriate for the DMCL module being used

tape

Symbolic device name for the tape journal file