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.
Figure 1. Sample commands, which include examples with labels and arguments

 .MJ DS DISK  DLST  DPAV  DSKB  DSKC  DSKE  DSKG  DSKM  DSKN  DSKP  DSKQ  DSKR
+       DSKS  DSKU  DSKV  2305  2314  3330  3340  3350  3375  3380  3390      
 DISK    VMXA04   VMXA05    VMSP50  VMHP02    OMONVM  DOSTST  DP215R  DOSRES +
 dadr       1A0      1A1       1B0     1B1       2A7     2B0     4F1     4F2
 
2GDEV     SYSDA
         MIS003  HSM001  WORKB1  PDB002  MIS002  MIS003  SYSB24  SYSD22 PROD02 +
The following diagram shows the format for OMEGAMON for IMS major, minor, and immediate commands.
Figure 2. OMEGAMON for IMS command format
lccccaa
||   | |
||   | +-----> extended argument or keyword field (cols. 8 through 72)
||   |
||   +-----> argument field (cols. 6 and 7)
||
|+----> command name (cols. 2 through 5)
|
+--> label field (col. 1)
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.