Command types

There are four types of commands that are used in OMEGAMON® for IMS.

The following figure shows the four types of commands and sample output.
Figure 1. Examples of the four types of commands
 /PRINT__________ KOI#01   VTM     OI-II    V530./C I91C 03/25/15 16:55:15    B
 
 DISK    VMXA04   VMXA05    VMSP50  VMHP02    OMONVM  DOSTST  DP215R  DOSRES +
 dadr       1A0      1A1       1B0     1B1       2A7     2B0     4F1     4F2
 .MIN                                                                          
+       DADR  DALC  DCAT  DIO   DIOQ  DOPN  DPIN  DPLT  DRES  DSTA  DTYP  DUSR 
+       DVMP  DVOL  ICHP  OCHP                                                 
 
The types of commands include the following:
INFO-line
These commands perform control functions such as printing a screen (/PRINT) and stopping your session (/STOP).

INFO-line commands are executed first and disappear as soon as they execute. Therefore, you cannot save them in a screen space. INFO-line commands always begin with a slash (/) and must be entered on the top line (starting in column 2).

Note: If you are running in an automatic update mode, placing the cursor in column 1 on the top line pauses updating until you move the cursor.
Major
These commands select general categories for display, such as system information, resource utilization, or storage utilization. In the example, the major command DISK produces a list of online disks. You can enter major commands on any line after the INFO-line.
Minor
These commands display detailed information about the category that the major selects. In the example, the minor command DADR displays the unit addresses of the devices listed with DISK. You can enter minor commands on any line after the INFO-line, but they do not execute unless they are preceded by an appropriate major command.
Immediate
These commands serve various functions. Some are system monitoring commands, while others provide information about your session or about OMEGAMON for IMS.

In the example, .MIN produces a list of all the minors of DISK. Immediate commands can also provide screen and session controls, and often perform the same or similar functions as INFO-line commands of the same name. You can include control commands as part of a screen space.

Enter immediate commands on any line after the INFO-line. You can enter immediate commands between a major command and one of its minors.