Previous Topic: OverviewNext Topic: Utility Statements


Batch Command Facility

The following CMS commands are used to execute the Batch Command Facility.

When using the IDMSBCF program to execute a utility statement, code these commands along with the required statements for each of the utilities.

The file assignments for each utility statement and program are presented on subsequent pages in this chapter.

Local mode IDMSBCF (CMS)

FILEDEF SYSLST PRINTER
FI dcmsg DISK idms dmsgdb fm (RECFM F LRECL ppp BLKSIZE ppp XTENT nnn

Insert file assignments required by the utility statements

FILEDEF sysjrnl TAP1 SL VOLID nnnnnn (RECFM VB LRECL lll BLKSIZE bbbb
FILEDEF SYSIDMS DISK sysidms input a
FILEDEF SYSIPT DISK utility input a
GLOBAL LOADLIB idmslib dbalib
GLOBAL LOADLIB idmslib
OSRUN IDMSBCF

Important! Additional file assignments might be needed for the user catalog and the system dictionary.

Note: When executing local mode or batch-to-CV mode execs in CMS, filedefs for CDMSLIB loadlibs are optional. However, if omitted, and multiple EXECOS OSRUN statements are coded in the same EXEC, you must code the following CMS statement prior to the first EXECOS OSRUN statement in the EXEC:

SET STORECLR ENDCMD

You must also code the following CMS statement following the last EXECOS OSRUN statement:

SET STORECLR ENDSVC

idmslib

Filename of the load library containing CA IDMS executable modules

dbalib

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

dcmsg

DDname of the system message (DDLDCMSG) area

idms dmsgdb fm

File identifier of the system message (DDLDCMSG) area

ppp

Page size of the database file

nnn

Number of pages in the database file

sysjrnl

DDname of the tape journal file

nnnnnn

Volume serial number of the tape journal file

lll

Record length of the tape journal file

rbbbb

Block size of the tape journal file

SYSIDMS

DDname of the parameter file provided by CA IDMS to specify runtime directives and operating system-dependent parameters.

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

sysidms input a

File identifier of the file containing SYSIDMS parameters if applicable

utility input a

File identifier of the file containing utility statements

Central version IDMSBCF (CMS)

FI dcmsg DISK idms dmsgdb fm (RECFM F LRECL ppp BLKSIZE ppp XTENT nnn
FILEDEF SYSCTL DISK sysctl file fm
FILEDEF sysjrnl DUMMY
FILEDEF SYSLST PRINTER
GLOBAL LOADLIB idmslib dbalib
GLOBAL LOADLIB idmslib

Insert file assignments required by the utility statements

FILEDEF SYSIPT DISK utility input a
OSRUN IDMSBCF

idmslib

Filename of the load library containing CA IDMS executable modules

utility input a

File identifier of the file containing utility statements