Previous Topic: z/OS Job Control LanguageNext Topic: Assembling and Link Editing ETOTTBL


Generate (ETOTMAIN)

Use the following JCL to execute the transparency generator (ETOTMAIN):

ETOTMAIN (z/OS)

//GENERATE EXEC PGM=ETOTMAIN,REGION=2048K
//STEPLIB  DD   DSN=idms.dba.loadlib,DISP=SHR
//         DD   DSN=idms.loadlib,DISP=SHR
//SYSLST   DD   SYSOUT=A
//dcmsg    DD   DSN=idms.sysmsg.ddldcmsg,DISP=SHR
//SYSIDMS  DD   *
DMCL=etotdmcl
Input other SYSIDMS parameters, as required
/*
//SYSIPT   DD   DSN=user.srclib(totalddl),DISP=SHR
//         DD   DSN=user.srclib(ctrlstmt),DISP=SHR
//         DD   DSN=yourHLQ.CAGJSRC(ETOTTBL),DISP=SHR
//         DD   DSN=yourHLQ.CAGJSRC(ETOTLOAD),DISP=SHR
//SYSPCH   DD   DSN=user.etotschm,UNIT=disk,DISP=(NEW,CATL),
                SPACE=(TRK,(4,4)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=bbbb)
//SYSPCH03 DD   DSN=user.etotsubs,UNIT=disk,DISP=(NEW,CATL),
                SPACE=(TRK,(4,4)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=bbbb)
//SYSPCH04 DD   DSN=user.etottbl,UNIT=disk,DISP=(NEW,CATLG,
                SPACE=(TRK,(4,4)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=bbbb)
//SYSPCH05 DD   DSN=user.etotload,UNIT=disk,DISP=(NEW,CATL),
                SPACE=(TRK,(4,4)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=bbbb)

Note: The punched output should be directed to sequential files. Do not use partitioned datasets.

idms.dba.loadlib

Dataset name of the CA IDMS/DB load library containing the DMCL and database name table load modules

idms.loadlib

Dataset name of the CA IDMS/DB load library containing CA IDMS executable modules

dcmsg

DDname of the system message area

idms.sysmsg.ddldcmsg

Dataset name of the system message area

etotdmcl

Name of the DMCL to be accessed at runtime; use the name of the global DMCL

Note: For more information about the SYSIDMS parameters, see the CA IDMS Common Facilities Guide.

user.srclib

Dataset name of the user source library

totalddl

Name of the library member containing Total DDL

yourHLQ.CAGJSRC

Dataset name of the CA IDMS/DB source library

ctrlstmt

Name of the library member containing user-supplied control statements

user.etotschm

Dataset name of the file containing the schema source generated by ETOTMAIN. Run this output through the schema compiler (IDMSCHEM).

user.etotsubs

Dataset name of the file containing the subschema source generated by ETOTMAIN. Run this output through the subschema compiler (IDMSUBSC).

user.etottbl

Dataset name of the file containing the customized runtime control table generated by ETOTMAIN from the skeleton table, ETOTTBL. Run this output through the assembly and link edit process.

user.etotload

Dataset name of the file containing the customized loader generated by ETOTMAIN from the skeleton loader, ETOTLOAD. Run this output through the COBOL compile and link edit process.

disk

Symbolic device name of the file containing the punched output

bbbb

Block size of the file containing the punched output; must be a multiple of 80