Selecting option 1,
LOGGING and ABEND CONTROL,
on the ISMF profile option menu, displays the panel shown in
Figure 1, which allows you to:
- Specify the amount of information ISMF records (the first three
options shown on the panel in Figure 1). This is discussed
in ISMF's use of the ISPF log.
- View or change the way ISMF handles abends (the fourth option, "RECOVER
FROM ABENDS," shown on the panel in Figure 1). This
is discussed in Recovering from abends.
- Cause ISMF to automatically present the ERTB display panel (see Figure 1) if an ISMF error record is created whose contents exactly match the field values entered by the
user. (Blank fields are not compared.)
This
option is used to trap an intermittent failure. It assumes you have
some failure-related data (such as the module name, return code, reason
code, or feedback information). You must enter this data on the logging/abend
control entry panel. For example, if the COPY line
operator was failing intermittently with a reason code 103, you would
enter the line operator name in the feedback field and the reason
code in the reason code field. (See Figure 1.) If the
failure occurred again, the trap would spring and ERTB panel would
display the failure-related ERTB entry.
Note that after selecting
trap conditions, you can enable or disable the trap simply by changing
the DISPLAY ERTB WHEN THE RECORD BELOW IS LOGGED field.
Figure 1. ISMF—Entry
Panel for Logging and Abend Parameters Panel Utilities Help
------------------------------------------------------------------------------
DGTDPPF2 LOGGING/ABEND CONTROL ENTRY PANEL
Command ===>
Optionally Specify One or More:
Log Detailed Error Data . . Y (Y or N)
Log Inter-module Trace . . N (Y or N)
Log Trace-point Trace . . . N (Y or N)
Recover from Abends . . . . Y (Y or N)
Display Ertb when the Record Below is Logged . . N (Y or N)
Module Name . . (8 Characters)
Proc Name . . . (1 to 8 Characters)
Return Code . . (1 to 4 Digits)
Reason Code . . (1 to 4 Digits)
Short Msg . . . (8 Characters)
Long Msg . . . (8 Characters)
Service . . . . (1 to 8 Characters)
Feedback . . . (1 to 35 Characters)
Use ENTER to Perform Verification;
Use HELP Command for Help; Use END Command to Save and Exit.
Note: The contents of the ERTB field are defined following
Figure 1.