SMF 30 statement
If TRACE(PARM) is specified on the OPTIONS statement, BMC AMI Datastream displays a summary of your type 30 event and severity specifications in message CZA0243I. For more information about TRACE, see OPTIONS-statement.
If you use the SMF 30 statement defaults, all Start, End, and Stepend type 30 records are forwarded with the following settings:
- Facility: SYSTEM
- Severity: INFOrmational
- All type 30 statistics records are suppressed
Syntax diagrams
The following diagrams describe the valid syntax for the SMF type 30 statement.


endEvents: For descriptions of the overriding severity options, see Overriding severity codes.
severity: For descriptions of the severity specifications, see Syslog severities in Syslog-facilities-and-severities.
The following table describes the parameters in the SMF type 30 statement.
Parameter | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FACILITY(SYSTEM|facilityName) | Specifies the originating RFC 3164 facility of the syslog records that correspond to SMF type records To use a different facility, enter one of the RFC 3164 facility names listed in Syslog facilities and severities. If you omit this parameter, the default SYSTEM is used. | ||||||||||||
FIELDs(fieldName …) | Specifies the names of the SMF type record fields that BMC AMI Datastream should forward to the BMC Defender Server or other syslog console Fields appear in the message in the order in which you listed them. For more information about acceptable field names, see Supported-record-field-names. | ||||||||||||
filterSpecification | Filters the fields For information about filtering fields, see FILTER and MATCH parameters. | ||||||||||||
INHibit | Inhibits writing the SMF type record to the SMF data sets or logstream BMC AMI Datastream processes the record, but SMF then inhibits further processing. | ||||||||||||
JOBs | Specifies the type of events and severity to be forwarded For more information about severities, see Syslog-facilities-and-severities.
| ||||||||||||
LOG | LOG(HEX) | Logs SMF records on CZAPRINT and dumps them in hexadecimal or character format This parameter is intended primarily for diagnostic purposes. | ||||||||||||
OTHER | Specifies the type of events and severity that BMC AMI Datastream should forward to the syslog console For more information about severities, see Syslog-facilities-and-severities.
| ||||||||||||
PROCess('SMF:'|‘processTag’) | Specifies the tag that appears at the start of SMF syslog messages The tag follows the priority, time stamp, and host name, and precedes the formatted fields. Enter the exact process tag that you want to include in syslog messages, including any spaces and punctuation. Process tags can be of any length from null string (‘’) to 32 characters. If you omit this parameter, the default SMF is used, followed by the leading delimiter from OPTIONS DELIM. For more information, see OPTIONS-statement. | ||||||||||||
STC | Specifies the type of events and severity that BMC AMI Datastream should forward to the syslog console For more information about severities, see Syslog-facilities-and-severities.
| ||||||||||||
TSO | Specifies the type of events and severity that BMC AMI Datastream should forward to the syslog console For more information about severities, see Syslog-facilities-and-severities.
|
Overriding severity codes
The following table describes return codes that can override the severity of an end event.
For more information about severities, see Syslog-facilities-and-severities.
Return code | Description |
|---|---|
RC0(severity) | Overriding severity for units of work that end with the return code 0 |
RC4(severity) | Overriding severity for units of work that end with the return code 1, 2, 3, or 4 |
RC8(severity) | Overriding severity for units of work that end with the return code 5, 6, 7, or 8 |
RC12(severity) | Overriding severity for units of work that end with the return code 9, 10, 11, or 12 |
RC16(severity) | Overriding severity for units of work that end with the return code 13 |
ABEND(severity) | Overriding severity for units of work that end with the return code ABEND |
SMF 30 severity example
Suppose you enter the following syntax:
STEPEND(SUPPRESS) +
END( SUPPRESS RC4(WARN) RC8(ERROR) ABEND(CRIT) ) ) +
OTHER( START(NOTICE) +
END( SUPPRESS ABEND(NOTICE) ) ) + +
STC( START(SUPPRESS) +
END( NOTICE RC4(WARN) RC8(ERROR) ABEND(CRIT) ) ) +
TSO( START(NOTICE) END(SUPPRESS) )
The output work unit severities (as displayed in message CZA0243I when TRACE(PARM) is in effect) are as follows:
JOB SUPpress SUPpress WARNing ERRor ERRor ERRor CRITical
JOBSTEP --- SUPpress SUPpress SUPpress SUPpress SUPpress SUPpress
OTHER NOTICE SUPpress SUPpress SUPpress SUPpress SUPpress NOTICE
STC SUPpress NOTICE WARNing ERRor ERRor ERRor CRITical
TSO NOTICE SUPpress SUPpress SUPpress SUPpress SUPpress SUPpress