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.
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 withDISK
. 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 ofDISK
. 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.