DIAGNOSE facility
To add textual comments in the diagnose file, enclose them in the delimiters /* and */. You can nest comments within other comments.
MSGID messageID | Specifies the message event that causes BMC AMI Utilities to perform the specified filtering and action A message event occurs when BMC AMI Utilities issue a message with the specified messageID to CDBPRINT, SYSERROR, or SUMMARY DD statements. The messageID value must be a valid NGTUTIL message ID and not exceed seven characters. A messageID value of fewer than seven characters matches against any message ID that starts with those characters. To match against all messages, code MSGID(*). The number of MSGID events cannot exceed 200. |
ABEND abendCode | Specifies that abend event that causes BMC AMI Utilities to perform the specified filtering and action An abend event occurs when NGTUTIL encounters an abend with the specified abendCode. The abendCode value must be a six-digit hexadecimal string. The first three digits represent the system abend code; the last three digits represent the user abend code. To specify an abendCode mask, enclose it in single quotation marks (' ', not " "). You can use the following escape characters:
The number of abend events cannot exceed 200. |
Filter block
JOB jobName | Specifies the job name of the JOB from which the event has originated |
MODULE moduleName | Selects only events generated by a specific NGTUTIL module name or a REXX EXEC name |
INSTANCE integer | Specifies the number of times the specified event must occur The integer value specified must be greater than 0. |
MATCHLIM integer | Specifies the maximum number of actions on a specified event. The default integer value is 1. MATCHLIM does not apply when suppressing messages. |
FILE ddName | |
TASK taskID | Specifies the BMC AMI Utilities task ID from which the event has originated |
BLANKS | Allows only blank lines that match the MSGID(*) event specification You can use BLANKS to eliminate an excessive number of blank lines. |
Action block
ACTION specifies the action that you want BMC AMI Utilities to perform when an event has matches the filter criteria.
When you specify multiple actions for an event, BMC AMI Utilities execute them in the following order:
- SNAP
- SVCD
- WAIT
- EXEC
- ABEND
- SUPPRESS
ABEND | Causes the current job step to abend ABEND is a default option. | ||||||||||||||
WAIT | Issues a WTOR message to the operator and requests a reply | ||||||||||||||
SNAP | Takes a snap dump of the current issuer to the LOGPDS data set | ||||||||||||||
EXEC name | Invokes a REXX EXEC and passes to it the following variables:
| ||||||||||||||
SUPPRESS | Removes the message from the BMC AMI Utilities output files If this is a message event, it removes the message from the BMC AMI Utilities output files. If this is an abend event, it suppresses LOGPDS dump and issues message NGTU797 to show the name of the abending module. |
SVCD block
Use the SVCD option to capture an SVC dump of the current job for a specific location in a module by using the OFFSET(hex) and MODULE(moduleName) operands. You can also request a dump of the Db2 and BMC AMI Utilities subsystems.
OFFSET(hex) | Offset of four hexadecimal digits (for example, 0A03) |
MODULE(moduleName) | Module name of up to eight characters (for example, RRGSAMPL) |
DATASPACE(dataSpaceName) | Data space name of up to eight characters You can use an asterisk (*) to request all data spaces for the job. |
Db2 | Captures a dump of the Db2 subsystem |
NGTSS | Captures a dump of the BMC AMI Utilities subsystem |