Controlling and customizing exception analysis
Although customizing exception analysis is generally part of the installation process, OMEGAMON® for IMS allows individual users to customize their sessions and save the settings in profiles for later recall.
- Group definition
- Exception group switches
- Exception control
- Invocation order
You can save the settings that you define in a user profile. New group settings are not saved in the user profile. To reuse those settings in future OMEGAMON for IMS sessions, save them in a screen space and invoke the screen space at the start of your session.
Defining group exceptions
You can define
your own exception groups by using the GDFN
command.
You might want to supplement or change the default groupings to organize
exceptions in groups that are related to your application. You can
also group highly critical exceptions that have a potentially severe
impact on the system.
- Related or critical exception messages appear when you invoke exception analysis by group. They are more visible because they are shown at the beginning of the display.
- A summary of the last and worst occurrences of exception warnings by group displays on the History of all Tripped Exceptions panel.
- You can set group switches by using the
XGSW
command to determine the invocation state of the exception group as a whole. To display the existing groups, enterXGSW
.
See the IBM®
OMEGAMON for IMS on
z/OS®: Realtime Commands Reference for
more information about the GDFN
and XGSW
commands.
Setting group switches
You can control the
state of all exceptions within a specified group by using the XGSW
command.
For example, you can turn all exceptions in a group on or off at once,
force a sample warning message for each exception in a group for testing
purposes, or suppress the display of messages for a group even though
the exception switch is on. The latter option is useful for the Exception
Logging Facility (XLF) and Automatic Screen Facility (ASF).
The group switch overrides individual exception settings (unless you define a null state for the group).
You can list the existing groups
or change them. To change the status of a group, add the keywords
on the XGSW
command.
XGSW
specifies that the IM group of exceptions
is on and can be logged, but does not display on the terminal.XGSW GROUP=IM STATE=NDSP
See
the IBM
OMEGAMON for IMS on
z/OS: Realtime Commands Reference for more information
about the XGSW
command.Controlling individual exceptions
OMEGAMON for IMS provides a set of panels from which you can view the current characteristics of an exception or change the characteristics of an exception. On these panels, you can dynamically change the settings of each keyword in the display by typing over the displayed value and pressing Enter. You can access these panels from the Profile menu (option P on the Main menu). Any new definitions that you create can be saved in a user profile for future OMEGAMON for IMS sessions.
- Display
- Specifies display characteristics for the exception, such as the two-character group name that identifies the type of exception, whether the exception is ON or OFF, and whether to activate an audible alarm when the exception trips.
- Box
- Specifies whether you want the warnings for this exception to be enclosed in a box. If not, specify NOBOX. Otherwise, you can specify the characteristics for the box, including the box color, intensity, and attributes such as blinking, reverse video, and underlining.
- Threshold
- Sets the exception threshold, typically numeric. You can also set display color and attributes for the exception message if you do not request a boxed message.
- Cycle
- Limits OMEGAMON for IMS exception checking,
which restricts the use of CPU time to test high overhead exceptions.
The
EXNCYC
keyword sets the frequency for checking exceptions. For example, you can choose to have OMEGAMON for IMS check for a particular exception condition only every 5 or 10 cycles. See the.NXE
immediate command in the IBM OMEGAMON for IMS on z/OS: Realtime Commands Reference for information about controlling the frequency of display.The
STOP
keyword stops the checking of exceptions after they trigger the specified number of times. It also displays how many times an exception triggered sinceSTOP=
was reset.The
CUMULATIVE
keyword is informational, indicating how many times an exception triggered during the session. - XLF
- For a description of the XLF parameters, see the exception logging facility in the IBM OMEGAMON for IMS on z/OS: Realtime Commands Reference.
XACB
command
shown in Figure 1.- LIST=
- Allows you to list the exceptions to display or modify.
- GROUP=
- Allows you to limit the list of exceptions to those exceptions in the specified exception group.
- FORCE
- Displays the current value of the exception as a sample exception message.
- TERSE
- Displays an abbreviated, single-line status for each defined exception, showing the threshold value, display color, exception state, and the state of the bell.
XACB
commands
that use the TERSE
keyword.
Reordering the display
LEXC
command. The following figure shows
a partial display of the exceptions in the OMEGAMON for IMS default order:
To dynamically change the order of the exceptions, type over an exception name or its number. You can save the new definition in your user profile.