Previous Topic: SYSIDMS Parameter FileNext Topic: Utility Statements


Batch Command Facility

The following sample z/VSE JCL is used to execute the Batch Command Facility (IDMSBCF).

When using the IDMSBCF program to execute a utility statement, include these file assignments along with the required statements for each of the utilities. The file assignments for each utility are presented on subsequent pages in this chapter.

Local mode IDMSBCF (z/VSE)

// LIBDEF *,SEARCH=CA IDMS libraries
// EXEC PROC=IDMSLBLS
// DLBL   idmslib,'idms.library'
// EXTENT SYSnnn,nnnnnn,,,ssss,tttt
// ASSGN  SYSnnn,DISK,VOL=vvvvvv,SHR
// TLBL   SYSnnn,'idms.sysjrnl',,nnnnnn,,f
// ASSGN  SYSnnn,x'cuu'

Insert file assignments required by the utility statements

// EXEC IDMSBCF,SIZE=64K

Insert SYSIDMS parameters, as required

/*

Insert utility statements

/*

Note: Additional file assignments may be neededfor the user catalog and the system dictionary depending on your security implementation.

IDMSLBLS

Name of the procedure provided at installation containing the file definitions for CA IDMS dictionaries, databases, and SYSIDMS parameter file.

Note: For a complete listing of IDMSLBLS, see "IDMSLBLS Procedure" later in this section.

idmslib

Dtfname of the CA IDMS library

idms.library

Data set name of CA IDMS libraries, as established during installation

SYSnnn

Logical unit of the volume for which the extent is effective

nnnnnn

Volume serial identifier of appropriate disk volume

ssss

Starting track (CKD) or block (FBA) of disk extent

tttt

Number of tracks

vvvvvv

Volume serial number

CA IDMS libraries

The CA IDMS libraries, as established during installation

SYSIDMS

Filename of the SYSIDMS parameter file

Note: For a complete listing of the SYSIDMS parameter file, see the CA IDMS Common Facilities Guide.

Central version

To run IDMSBCF under the central version, add a SYSCTL file and remove the tape journal file assignment.

// LIBDEF *,SEARCH=CA IDMS libraries
// EXEC PROC=IDMSLBLS
// DLBL    idmslib,'idms.library'
// EXTENT  SYSnnn,nnnnnn,,,ssss,tttt
// ASSGN   SYSnnn,DISK,VOL=vvvvvv,SHR
// DLBL    sysctl,'idms.sysctl',1999/365,SD
// EXTENT  SYSnnn,nnnnnn,,,ssss,2
// ASSGN   SYSnnn,DISK,VOL=nnnnnn,SHR

Insert file assignments required by the utility statements

// EXEC IDMSBCF,SIZE=64K

Insert SYSIDMS parameters, as required

/*

Insert utility statements

/*

sysctl

Filename of the SYSCTL file

idms.sysctl

File-ID of the SYSCTL file