IMSCMDOPT control statement

The IMSCMDOPT control statement specifies option parameters for the IMS commands that are issued through the IMS Tools Online System Interface (TOSI).

By using IMSCMDOPT control statements, you can specify the GLOBAL option for the /DBD, /DBR, and /STA commands.

This control statement is optional. If you do not specify this control statement, option parameters that are described in IMSCMD control statement and STARTDB control statement are used.

Read syntax diagramSkip visual syntax diagramIMSCMDOPT=ALLDBDDBRSTA,LOCAL,GLOBAL

The IMSCMDOPT control statement must be specified with IMSCMD=YES,TOSI.

The first parameter specifies the IMS commands to apply the option parameter change among the IMS commands that are issued during a Smart Reorg Driver job.

ALL
Applies to all IMS commands.
DBD
Applies to /DBD commands.
DBR
Applies to /DBR commands.
STA
Applies to /STA commands.

The second parameter specifies the option parameter for the IMS command that is specified with the first parameter.

LOCAL
The LOCAL option is used.
GLOBAL
For /DBD, /DBR, and /STA commands, the GLOBAL option is used.
Notes:
  • One or more IMSCMDOPT control statements can be specified. However, when the first parameter is ALL, only one IMSCMDOPT control statement can be specified.
  • The GLOBAL option is effective when IRLM is active.
  • When the GLOBAL option is specified, the Smart Reorg Driver selects an IMS subsystem in the TOSI XCF group and, by using TOSI, issues the IMS command with the GLOBAL option to the IMS subsystem. The IMS Command Processing report shows the result of the command only for that IMS subsystem. The results on other IMS subsystems are not shown.