Command format
Many OMEGAMON® for IMS commands can be entered with labels or arguments, which can change the output that is displayed.
The following figure shows some sample commands and output.
The following diagram shows the format for OMEGAMON for IMS major, minor, and immediate
commands.
- label field
- Many commands accept a character in the label field that alters the type of output displayed. You can also use this field for special command modifiers, such as those that request online help text for commands. For example, the numeral 2 in the label field of the GDEV command in Figure 1 restricts the display to only the second row of all available output.
- command name
- This field contains the four-character command name. Although the command name field occupies columns 2 - 5, OMEGAMON for IMS recognizes most commands that begin in column 1 and automatically shifts the command one space to the right.
- argument field
- Many commands accept arguments that modify their function or specify output options. The .MJ command with no arguments displays a list of all OMEGAMON for IMS major and immediate commands. In Figure 1, .MJ is entered with an argument of DS, a group code that specifies that only disk major commands be listed.
Extended arguments are entered in columns 8 - 72. In Figure 1, the GDEV command was entered with an argument of SYSDA, which is a generic device name in the system. This means that only devices in the SYSDA category are displayed. Many commands also accept keywords and parameters that can extend to column 72. OMEGAMON for IMS cannot extend a parameter string to a second line. You must reenter the command (along with keywords) on succeeding lines.