Previous Topic: Batch Submit ProcedureNext Topic: Reporting


JCL and NDVRBOOK Syntax

Sample JCL for executing a batch compiler with an CA Endevor/DB Signon follows. If no CA Endevor/DB CCIDs or userids are required, this procedure is optional.

//JOBNAME      JOB YOUR.JOBCARD.INFORMATION
//JOBLIB       DD DISP=SHR,DSN=usercv.loadlib
//     DD DISP=SHR,DSN=ndvrdb.loadlib
//     DD DISP=SHR,DSN=idms.loadlib
//*
//****************************************************************
//*
//*    JOB:      SAMPBOOK
//*
//*    PURPOSE:  RUN ANY CA COMPILER WITH CA ENDEVOR/DB USER/CCID SIGNON.
//*
//*    STEP:     FUNCTION:
//*    =====   =========
//*
//*    BOOKDDDL        RUNS IDMSDDDL UNDER CA ENDEVOR/DB BOOK-END.
//*    (CHANGE PROGRAM SENTENCE TO RUN OTHER COMPILERS)
//*
//****************************************************************
//*
//BOOKDDDL     EXEC PGM=NDVRBOOK,REGION=1300K
//SYSCTL       DD DISP=SHR,DSN=idms.sysctl
//NDVRLST      DD SYSOUT=*
//NDVRERR      DD SYSOUT=*
//SYSLST       DD SYSOUT=*
//SYSUDUMP     DD DUMMY
//SYSPCH       DD DUMMY
//SYSIDMS      DD *
DMCL=dmcl-name
DICTNAME=dictionary-name
Other Optional SYSIDMS Parameters
/*
//NDVRIPT      DD *

SIGNON

USER = youruserid PASSWORD = yourpswd

DICTNAME userdict.

PROGRAM = IDMSDDDL.
/*
//SYSIPT       DD *

SIGNON

USER = idduserid PASSWORD = iddpswd

DICTNAME userdict.
*+ PUT YOUR IDMSDDDL STATEMENTS HERE. +*
/*

Field

Description

usercv.loadlib

Load library for DMCL, subschema, DBNAME table, or load modules for a particular CA IDMS platform.

ndvrdb.loadlib

CA Endevor/DB load library.

idms.loadlib

CA IDMS load library.

edbuserid

CA Endevor/DB userid.

edbpswd

CA Endevor/DB password.

userdict

Name of dictionary to which you are signing on.

idms.sysctl

Name of the SYSCTL file as defined in the CA IDMS SYSGEN.

dmcl-name

Name of the DMCL used by CA IDMS/CV

idduserid

CA IDMS IDD userid.

iddpswd

CA IDMS IDD password.

progname

Program name of the compiler to execute (IDMSDDDL, RHDCMPUT, etc.). NDVRBOOK will internally invoke the compiler when the CA Endevor/DB Signon is completed.

Caution! Be careful when running in local mode to ensure that the dictionary and the CCDB are restored following an abend. For this reason, it is highly recommended that CV mode be used whenever possible.