This section describes the statements and parameters of SMFPRMxx.
Choose a two-digit global interval value, mm, that divides evenly into 60 (01, 02, 03, 04, 05, 06, 10, 12, 15, 20, 30, and 60). Otherwise, the system can synchronize only the first interval.
When you specify the SYNCVAL parameter for interval synchronization, specify the global interval value with the INTVAL parameter (unless you accept the default for INTVAL).
Default: ACTIVE
Default: RECORDING(DATASET)
You can use system symbols and the &SID symbol in SMF log stream names. The resolved substitution text for the &SID system symbol is the system identifier specified on the SID parameter in SMFPRMxx. &SID can be used only to name resources in SMFPRMxx; you cannot specify &SID in other parmlib members.
Substitution Text | Log stream name | Resolved log stream name | |
---|---|---|---|
&SID | &SYSNAME | ||
WRR1 | — | IFASMF.SYS1.&SID..DATA | IFASMF.SYS1.WRR1DATA |
WRR1 | — | IFASMF.SYS1.SID&SID..DATA | IFASMF.SYS1.SIDWRR1.DATA |
WRR1 | SP52 | IFASMF.SYS1.&SYSNAME;&SID..DATA | IFASMF.SYS1.SP52WRR1.DATA |
— | SP52 | IFASMF.SYS1.&SYSNAME | IFASMF.SYS1.SP52 |
If you specify an incorrect log stream name, the system issues message IFA700I.
DEFAULTLSNAME(IFASMF.DEFAULT)
LSNAME(IFASMF.PERF,TYPE(30,89))
LSNAME(IFASMF.JOB,TYPE(30))
RECORDING(LOGSTREAM)
This allows you to collect job-related SMF data in the JOB log stream, and performance-related SMF data in the PERF log stream. Record type 30 fits into both categories, so you can specify that it is written to both log streams. Note that this arrangement can result in duplicate records being recorded.
Default: None.
Value Range: 0-255 (SMF record types)
Default: The option specified on the global NOBUFFS parameter
Default: The option specified on the global BUFUSEWARN parameter
Default: 2G
Default: NOCOMPRESS.
If all zEDC Express features fail or none are available for use, message IFA730I is issued and SMF continues writing non-compressed records to the log stream.
To restart a failed zEDC session, issue a SETSMF RECORDING=LOGSTREAM to retry compression or alter other SMF parameters via the SET or the SETSMF command. Message IFA731I is issued when compression is successfully enabled.
If specified, this value overrides the global PERMFIX value.
DEFAULTLSNAME(IFASMF.DEFAULT)
LSNAME(IFASMF.PERF,TYPE(30,89))
RECORDING(LOGSTREAM)
This results in record types 30 and
89 going to log stream IFASMF.PERF, while all other record types go
to the default log stream IFASMF.DEFAULT. You must follow the log stream naming restrictions specified in the LSNAME parameter.
Default: The option specified on the global NOBUFFS parameter
Default: The option specified on the global BUFUSEWARN parameter
Default: 2G
If a zEDC Express feature fails or none are available for use, message IFA730I is issued and SMF continues writing non-compressed records to the log stream.
To restart a failed zEDC session, issue a SETSMF RECORDING=LOGSTREAM to retry compression or alter other SMF parameters via the SET or the SETSMF command. Message IFA731I is issued when compression is successfully enabled.
If specified, this value overrides the global PERMFIX value.
The maximum length of the data set name is 44 characters, and must follow standard MVS™ data set naming conventions.
You can use system symbols and the &SID symbol in SMF data set names. The resolved substitution text for the &SID system symbol is the system identifier specified on the SID parameter in SMFPRMxx. &SID can be used only to name resources in SMFPRMxx; you cannot specify &SID in other parmlib members.
Substitution text | Data set name | Resolved data set name | |
---|---|---|---|
&SID | &SYSNAME | ||
WRR1 | — | SYS1.&SID;DATA | SYS1.WRR1DATA |
WRR1 | — | SYS1.SID&SID;.DATA | SYS1.SIDWRR1.DATA |
WRR1 | SP52 | SYS1.&SYSNAME;&SID;.DATA | SYS1.SP52WRR1.DATA |
— | SP52 | SYS1.&SYSNAME | SYS1.SP52 |
This is the global specification of the DSPSIZMAX value, and its value takes effort for logstreams where DSPSIZMAX was not specified.
Value range: 128M - 2048M, or 1G - 2G (128 megabytes to 2048 megabytes, or 1 gigabyte to 2 gigabytes)
Defaults: 2G
Default: LISTDSN
You can specify the SID value directly, or you can have the system select from several SID values, using the processor serial numbers or the SYSNAME value.
SID(AAAA,012303)
SID(BBBB,012304)
When running on processor 012303, the system selects an SID value of AAAA. When running on processor 012304, the system selects an SID value of BBBB.
SID(AAAA,SYSNAME(PRODSYS))
SID(BBBB,SYSNAME(TESTSYS))
SYSNAME(TESTSYS)
In this case, the system selects BBBB as the SID value, because the name TESTSYS matches the name specified in IEASYSxx or IEASYMxx.
When defining the system identifier, you can use:
The system substitutes text for system symbols before it validates the syntax of the SID parameter. If errors occur in system symbol notation, the system prompts the operator to respecify the SID parameter. See What are system symbols? for information about the syntax of system symbols.
The preferred way to define the system identifier is to assign the identifier to a system symbol.
The formats for the SID are:
SID(SYSA)
SID(SYSB,006204,106204)
SID(SYSC,SYSNAME(SYS0001))
SID(&SYSNAME(1:4))
SID(SYSE,COMBIN(006204,106204,206204))
Default: If the SID parameter is not specified, and no other SID specification is available, the system uses the four-digit processor model number.
Syntax Precedence: It is possible for more than one SID specification to apply to one system. For example, if a SMFPRMxx member includes two SID specifications, SID(AAAA) and SID(BBBB,SYSNAME(SYSBBBB)) and the system is IPLed with a system name of SYSBBBB, both SID specifications apply. In this case, the precedence rules listed in Table 3 apply.
Syntax | Meaning | Priority |
---|---|---|
SID(xxxx,ser#[,ser#]...) | If the serial number ser# matches, the SID is xxxx. | 1 |
SID(xxxx,SYSNAME(sysname)) | If the system name (sysname) matches, the SID is xxxx. | 1 |
SID(xxxx,COMBIN(ser#[,ser#]...)) | If any of the listed serial numbers match, the SID is xxxx. | 1 |
SID(xxxx) | The SID is xxxx. | 2 |
{Default} | SID=four-digit processor model number. | 3 |
The lower the number, the higher the priority. For syntax with similar priority numbers, the first occurrence in the SMFPRMxx parmlib member of a matching SID specification becomes the system identifier.
If SMFPRMAA specified at IPL SID value Option Display (D SMF,0)
contains:
SID(SYSA) SYSA SID(SYSA)
If SMFPRMBB specified at IPL
contains:
SID(SYSB,006204,106204) SYSB SID(SYSB,006204,106204)
If SMFPRMCC specified at IPL
contains:
SID(SYSC,SYSNAME(SYSSYSD)) SYSC SID(SYSC,SYSNAME(SYSSYSD))
If SMFPRMDD specified at IPL
contains:
SID(&SYSNAME(4:4)) SYSD SID(SYSD)
If SMFPRMEE specified at IPL
contains:
SID(SYSE,COMBIN(006204, SYSE SID(SYSE,006204,106204)
106204,206204))
Default: REC (PERM)
Value Range: 0001-5959
Default: MAXDORM (3000). This indicates 30 minutes.
By default, empty EXCP sections are also generated for non-dataset allocations like DD DUMMY or spool file allocations.
With this option, empty EXCP sections that are generated for non-dataset allocations like DD DUMMY or spool file allocations are also suppressed.
Default: STATUS
Value Range: 000001-240000
Default: (010000) — Indicates a one-hour interval.
Default: NOSYNC
If the specified time limit expires, the system passes control to the SMF time limit exit, IEFUTL (if active). IEFUTL either extends the wait time or allows the system to end the job or TSO/E user address space abnormally.
Value Range: 0001-2400
Default: JWT (0010) This indicates 10 minutes
If the specified time limit expires, the system passes control to the SMF time limit exit, IEFUTL (if active). IEFUTL either extends the wait time or allows the system to end started task address space abnormally.
Value Range: 0001-2400
Default: When SWT is not specified, the value specified for JWT is used for determining when to time out started task address spaces.
If the specified time limit expires, the system passes control to the SMF time limit exit, IEFUTL (if active). IEFUTL either extends the wait time or allows the system to end the TSO/E user address space abnormally.
Value Range: 0001-2400
Default: When TWT is not specified, the value for JWT is used for determining when to time out TSO/E user address spaces.
Long-running jobs might take a long time to end in this case, because of the building of the SMF type 30 records for a long-running job.
DDCONS(NO) requests that this consolidation function be bypassed, which results in a reduction in the amount of processing required to build the records, and thus a reduction in the amount of time required to complete the job.
Default: YES
NOPROMPT specifies that the parameters are not listed and the operator is not prompted unless there is a syntax error in the parmlib member.
Default: PROMPT (ALL)
Default: None. When not specified, by default, SETSMF is not authorized if the PROMPT(IPLR) or NOPROMPT parameter options are specified.
NOTYPE specifies that SMF is to collect all SMF record types and subtypes except those specified. aa, bb, and zz are the decimal notations for each SMF record type. cc and yy are the decimal notations for each subtype. A colon indicates the range of SMF record types (bb through zz) or the range of subtypes (cc through yy for SMF record dd) that are not to be recorded.
Default: TYPE (0:255) (all types and subtypes)
Interval recording allows the user to preserve accounting data for long-running jobs or TSO/E sessions. Because SMF records accounting data for each job or task each time the interval expires, the data is not completely lost if there is a system failure.
Default: NOINTERVAL
Value Range: 000001-240000
Default: N/A
Default: NOSYNC
NOEXITS specifies that SMF exits are not invoked.
The SUBSYS specification overrides the SYS specification. Use SUBSYS to make exceptions to your SYS specification for particular subsystems.
Exit Point | SUBSYS Value | ||||
---|---|---|---|---|---|
JES2 | JES3 | STC | ASCH | TSO | |
IEFACTRT | Yes | Yes | Yes | Yes | Yes |
IEFUAV | No | No | No | Yes | No |
IEFUJI | Yes | Yes | Yes | Yes | Yes |
IEFUJP | Yes(2) | No | Yes | No | No |
IEFUJV | Yes | Yes | Yes | Yes(1) | Yes |
IEFUSI | Yes | Yes | Yes | Yes | Yes |
IEFUSO | Yes(2) | No | Yes | No | No |
IEFUTL | Yes | Yes | Yes | Yes | Yes |
IEFU29 | No | No | Yes | No | No |
IEFU29L | No | No | No | No | No |
IEFU83 | Yes | Yes | Yes | Yes | Yes |
IEFU84 | Yes | Yes | Yes | Yes | Yes |
IEFU85 | Yes | Yes | Yes | Yes | Yes |
Note:
|
For more information, refer to Specifying SMF Exits to the Dynamic Exits Facility.
For TSO, when DETAIL is specified, type 32 SMF records contain the total count of each TSO/E command used, CPU time under TCBs and SRBs, and the total number of TGETs, TPUTs, EXCPs and transactions. When NODETAIL is specified for TSO, type 32 SMF records contain only the total count of each TSO/E command used.
NODETAIL is enforced for the master address space.
Default: NODETAIL
Default: None
MEMLIMIT values are defined with nnnnnM for megabytes, nnnnnG for gigabytes, nnnnnT for terabytes, or nnnnnP for petabytes. For example, to request 1275 gigabytes, specify MEMLIMIT(1275G), or to request 15 petabytes, specify MEMLIMIT(15P). The command D SMF,O displays the current MEMLIMIT.
If you want SMF MEMLIMIT to be a certain quantity of exabytes, you must convert the exabytes into petabytes and use the nnnnnP nomenclature. There are 1000 petabytes in an exabyte, for example, 15 exabytes would be expressed as 15000P.
Default value: 2G
For a complete description of MEMLIMIT, and the ways to define it, see z/OS MVS Programming: Extended Addressability Guide.
name represents the one to four character name of a subsystem. The first character must be alphabetic or national (#, @, or $), and the remaining characters can be either alphanumeric or national characters.
These options are the same as those you can specify for the SYS parameter. When you specify SUBSYS, any option you omit from the SUBSYS parameter defaults to the value specified for that option on the SYS parameter. If you omit SUBSYS, SMF uses the values for all of the options on the corresponding SYS parameter. For the EXIT option, if you omit SUBSYS an exit point name is created for any exit specified on the SYS parameter.
Default: See the description of SYS (options).
RETRY specifies that the SMF dump program attempts to recover from abends and continue processing.
NORETRY specifies that the SMF dump program terminates when an abend occurs.
Default: RETRY
Default: MSG
For logstream recording environments, specifies the system action when any one of the defined SMF logstream buffer areas run out of space. A separate buffer area is maintained for each SMF logstream and the option specified for this parameter applies to all logstreams defined for SMF data collection. The option specified can be overridden for a particular logstream buffer if NOBUFFS is also specified as a sub-option on the LSNAME or DEFAULTLSNAME SMFPRMxx parameter options.
MSG specifies that the system is to issue message IFA786W and continue processing. Note that when the logstream buffer is full, data that is designated to be written to that logstream only will be lost until the logstream buffer storage becomes available.
HALT specifies that the system is to enter a restartable wait state when the logstream buffer is full. Specifying HALT prevents data loss when the logstream buffer is full.
Default: MSG
This parameter applies to SMF data set recording only; it does not apply to SMF log stream recording. If you are using SMF log stream recording, LASTDS(HALT) is ignored. When you specify data sets in SMFPRMxx, SMF issues messages that pertain to LASTDS(MSG) depending on the status of the data sets during SMF initialization.
MSG specifies that the system is to issue a message and continue processing; SMF data is buffered until an SMF data set is available. If SMF runs out of buffers, there might be a loss of data.
HALT specifies that the system is to enter a restartable wait state.
Default: MSG
MULCFUNC indicates that users of the IFAUSAGE service that registered specifying SCOPE=FUNCTION must use IFAUSAGE with the REQUEST=FUNCTIONxxx parameters. SMF is to set the CVTMULFN indicator OFF.
NOMULCFUNC indicates that users of the IFAUSAGE service that registered specifying SCOPE=FUNCTION do not need to use IFAUSAGE with the REQUEST=FUNCTIONxxx parameters. SMF is to set the CVTMULFN indicator ON. Any measured usage program using SCOPE=FUNCTION, such as DB2®, can record only its registration data only and omit recording the usage data.
Default: MULCFUNC
BUFSIZMAX values area are defined with nnnnM for megabytes or 1G for one gigabyte. For example, to request 1 gigabyte, specify BUFSIZMAX(1G) or BUFSIZMAX(1024M). To request 128 megabytes, specify BUFSIZMAX(128M).
The BUFSIZMAX value can be specified during an IPL in parmlib member SMFPRMxx and the value can be set higher or lower using the T SMF or SETSMF command.
D SMF,O displays the current BUFSIZMAX value.
Value range: 128M–1024M, or 1G (128 megabytes to 1024 megabytes, or 1 gigabyte)
Default: 0128M (128 megabytes)
The BUFUSEWARN value can be specified during an IPL in parmlib member SMFPRMxx, and you can set the value higher or lower using the T SMF or SETSMF commands. The D SMF,O command displays the current BUFUSEWARN value.
Value range: 10–90 (10% to 90%)
Default: 25 % (25% of BUFSIZMAX value)
NOBUFFS(MSG)
BUFUSEWARN(25)
DEFAULTLSNAME(ifasmf.default)
LSNAME(ifasmf.important,NOBUFFS(HALT),BUFUSEWARN(30))
In this example, the default for all log streams is NOBUFFS(MSG) and BUFUSEWARN(25). Because the DEFAULTLSNAME did not override these defaults, they will be applied to the IFASMF.DEFAULT log stream buffer. The IFASMF.IMPORTANT log stream did override these values, and therefore NOBUFFS(HALT) and BUFUSEWARN(30) will be applied. Note that in data set recording mode, the global values still apply.
SMFDLEXIT ({ USER1(exit name,exit name, . . .)} | NOUSER1 )},
({ USER2(exit name,exit name, . . .)} | NOUSER2 )},
({ USER3(exit name,exit name, . . .)} | NOUSER3 )}
SMFDPEXIT ({ USER1(exit name,exit name, . . .)} | NOUSER1 )},
({ USER2(exit name,exit name, . . .)} | NOUSER2 )},
({ USER3(exit name,exit name, . . .)} | NOUSER3 )}
For a description of SMF flood policies, see the topic on FLOOD and FLOODPOL - Specifying SMF Record Flood Options in z/OS MVS System Management Facilities (SMF).
Value range: 0-255 (SMF record types)
Default: None.
Value range: 1-9999
Default: None.
Value range: 1-9999
Default: None.
Value range: 1-9999
Default: None.
Value range: 1-9999
Default: None.
For more information about SMFEWTM and SMFWTM, see SMFEWTM - Writing SMF Records and SMFWTM — Writing SMF Records in z/OS MVS System Management Facilities (SMF).
Default: None.
FLOOD(ON)
FLOODPOL(TYPE(4,5),RECTHRESH(1000),INTVLTIME(50),MAXHIGHINTS(15),ENDINTVL(120),ACTION(MSG))
FLOODPOL(TYPE(102),RECTHRESH(5000),INTVLTIME(10),MAXHIGHINTS(15),ENDINTVL(100),ACTION(MSG))
FLOODPOL(TYPE(102),RECTHRESH(5000),INTVLTIME(10),MAXHIGHINTS(15),ENDINTVL(50),ACTION(DROP))
In this example, two filters are set up. The first filter sets up a monitor for both record types 4 and 5. This filter detects when 1000 records are generated within 5 seconds and, if records continue to be generated at this rate for more than 15 consecutive five-second intervals, message IFA780A is issued. The flood state ends, for each record type, when fewer than 1000 records are generated in at least 12 seconds. Message IFA781I is issued when the flood state ends.
The second filter for record type 102 is a two-part filter. The first part that issues the warning message, IFA780A, is triggered when 5000 records are generated in less than 1 second, and records continue to be generated at that rate for more than 15 consecutive one-second intervals. The flood state ends when fewer than 5000 records are generated in at least 10 seconds. Message IFA781I is issued when the flood ends. If the flood state persists, the DROP filter becomes active so that if 5000 type-102 records are generated within 1 second over more than 15 consecutive one-second intervals, message IFA782A is issued and records will be dropped. Records will stop being dropped once fewer than 5000 type 102 records are generated in at least 5 seconds. Message IEFA7831 is issued when the flood state for dropping records ends.
The system detects a change in processor speed when an ENF 41 is signaled, along with a change in processor capacity data.
The default value of zero for this option will result in only regularly scheduled interval records to be generated for each interval. A value greater than zero will allow up to that many extra sets of type 30 and 89 records to be collected within one interval as the processor capacity is changed. If precise capacity measurements are needed for billing, the value of nn should match the number of processor capacity changes expected in a single interval.
Value Range: 0-60
Default: 0
Value Range: 128 megabytes to 2048 megabytes; or 1 gigabyte to 2 gigabytes
Default: 2G
This is the global PERMFIX option and can be overridden by the PERMFIX suboption of the LSNAME or DEFAULTLSNAME parameters.
Default: NOPERMFIX.
See the topic on setting up hardware event data collection in z/OS MVS System Commands for more information about enabling counter sets.
Default: NOSMF30COUNT.
IBM has defined the SMF exits to the dynamic exit facility. Through the PROGxx parmlib member, you can associate multiple exit routines with SMF exits, at IPL or while the system is running.
To define SMF exits to the dynamic exits facility, you must specify the exits in both PROGxx and SMFPRMxx. The system does not call SMF exits that are defined to PROGxx only. (If you do not plan to take advantage of the dynamic exits facility, you need only define SMF exits in SMFPRMxx).
Default: All exits are invoked.
Note: The PROGxx parmlib member allows you to specify installation exits and control their use. Through PROGxx, you can associate multiple exit routines with exits, at IPL or while the system is running. IBM suggests that you use PROGxx in addition to SMFPRMxx to specify exits, whether or not you want to take advantage of these functions.
The following example shows how you can specify SMF exits in a PROGxx parmlib member. If you specify the following in SMFPRMxx,
SYS(...EXITS(IEFU83,IEFU84,IEFUJI)...)
SUBSYS(STC,...EXITS(IEFU83,IEFU85)...)
SUBSYS(TSO,...)
SUBSYS(JES3,...EXITS(IEFUJI)...)
you would add the following to get the equivalent processing in PROGxx:
EXIT ADD EXITNAME(SYS.IEFU83) MODNAME(IEFU83)
EXIT ADD EXITNAME(SYS.IEFU84) MODNAME(IEFU84)
EXIT ADD EXITNAME(SYS.IEFUJI) MODNAME(IEFUJI)
EXIT ADD EXITNAME(SYSSTC.IEFU83) MODNAME(IEFU83)
EXIT ADD EXITNAME(SYSSTC.IEFU85) MODNAME(IEFU85)
EXIT ADD EXITNAME(SYSJES3.IEFUJI) MODNAME(IEFUJI)
For information about using PROGxx to control the use of exits and exit routines, see PROGxx (authorized program list, exits, LNKLST sets and LPA).