Previous Topic: When to UseNext Topic: Example JCL


How to Use the DBUTLTY Command

The MUF must be active when you execute this command. Execute DBUTLTY with the command:

►►─ COMM OPTION=CONSOLE,OPTION2='command' ─┬──────────────────────┬───────────►◄
                                           └─ ,IGN68= ─┬─ NO ◄ ─┬─┘
                                                       └─ YES ──┘

Command

COMM

Invokes the function to pass communication to the MUF.

Required Keyword

OPTION=CONSOLE

Requests that the value for command specified with the OPTION2= keyword be sent to the MUF.

,OPTION2='command'

Used to specify the command that is to be sent to the MUF. DBUTLTY passes the character string provided by OPTION2= to the MUF the same way a console modify would pass the command. It then prints a provided message as a result. Because a blank is required between the command and the value, the entire string must be placed inside single quote marks ('). If the command is accepted, message DB00608I is issued. If the command is not accepted, message DB00604I is issued.

Note: For the supported values for command, see the section about maintaining CA Datacom/DB with console-like commands in the CA Datacom/DB Database and System Administration Guide.

Optional Keyword

IGN68=

Specify IGN68=YES to ignore a return code 68. IGN68= is allowed for every ACCESS and COMM function. By ignoring return code 68, you can set up and run JCL that incorporates a stack of DBUTLTY functions without requiring that the MUF be enabled. IGN68= would therefore be useful, for example, if you wanted to load a database without first enabling the MUF, perhaps to allow restart to properly occur. Following is an example showing a stack of DBUTLTY functions that use IGN68=.

 ACCESS STATUS=UTLTY,DBID=997,USERS=WAIT,IGN68=YES
 COMM   OPTION=CLOSE,DBID=997,IGN68=YES
 INIT   AREA=IXX,DBID=997
 INIT   AREA=A01,DBID=997
 LOAD   AREA=A01,DBID=997,FORMAT=NONE,KBYTES=9999,SORT=1
 ACCESS STATUS=WRITE,DBID=997,IGN68=YES

Note: If the CXX is externally secured, the INIT and LOAD functions do not execute without the MUF being available, and IGN68=YES is therefore not recommended.

A function or functions specified with IGN68=YES generates message DB13001E to note that the function did not occur. Because no error was recognized, however, other functions in the stack continue to execute, and the DBUTLTY step ends without a recognizable error. Message DB13001E signals that the MUF was not enabled For details about DB13001E, see the CA Datacom/DB Message Reference Guide.

The DBSYSID macro parameter DELAY68= can be used to specify the number of minutes that the MUF connection can wait if the MUF is not currently available. But if IGN68=YES is specified, DELAY68= is ignored and the function continues. If the delay is desired, however, either do not specify IGN68=, in which case it defaults to NO, or specify IGN68=NO.

Valid Entries:

NO or YES

Default Value:

NO