Parameter | Meaning and Use |
---|---|
LSNAME(lsname,OPTIONS(data)) | Specifies the log stream, where lsname is
the name of the log stream. You can specify the following to specify
that you want a log stream to be dumped:
The
OPTIONS subparameter is optional; the data value
can be:
The DUMP option indicates that the log stream is to be dumped, as does no OPTIONS specification at all. The OPTIONS statement is allowed for easier migration from the data set dump utility. When you specify the ARCHIVE option, IFASMFDL dumps the data to a data set and then deletes the data from the log stream. When you specify the DELETE option, IFASMFDL only deletes the data from the log stream without dumping the data. You can specify any number of LSNAME
parameters. If you do not specify the LSNAME parameter, the default
is:
The system generates
a summary activity report if at least one record was read and written.
For more information, see Creating the summary activity report. |
OUTDD(ddname,filters) | Describes the output data set, where ddname is
the data definition name (DDNAME) of the output data set. If a syntax error occurs in the OUTDD parameter,
the job is terminated. The filters value can
be any one of the following:
TYPE(list)|NOTYPE(list) is a required parameter indicating that the record types and subtypes are to be selected for or excluded from dumping. If you specify both TYPE and NOTYPE for the same data set, the first valid specification is used. The list variable can be any record type and subtype or combination of records and subtypes; the record types and subtypes can be specified individually or as a range. For example, TYPE(2,4:7,9,30(2,4:6)) indicates that records 2, 4, 5, 6, 7, 9, and subtypes 2, 4, 5, and 6 of the type 30 record are to be included in the data set. NOTYPE(30(1,3:5)) indicates that subtypes 1, 3, 4, and 5 of record type 30 will not be recorded. You can filter the records written to the output data set by using the DATE, START, and END subparameters on the OUTDD statement. The syntax and descriptions of DATE, START, and END are shown in the table below. Use the following guidelines when coding the DATE, START, and END subparameters on the OUTDD statement:
You may specify any number of OUTDD parameters. See Running the SMF log stream dump program for examples of specifying various subparameters on the OUTDD statement. |
DATE({yyddd|yyyyddd}, {yyddd|yyyyddd}) | Specifies the start and end date for the period
for which records are to be written, where yy is
the last two digits of the year, yyyy is all four
digits of the year, and ddd is the Julian date.
If only the last two digits of the year is specified, the first two
digits defaults to 19. For example, DATE(92001,92366) indicates only
records from January 1, 1992 to December 31, 1992 are to be written.
The value for ddd cannot exceed 366. If DATE is
specified, both a start and an end date must be included. If DATE
is not specified, the default is:
You can specify DATE either as a IFASMFDL-level parameter (on a separate line) affecting all the OUTDD statements, or as a subparameter on the OUTDD parameter to customize a specific output data set. Note that dates and times specified are based on the local time on the system running the IFASMFDL program. Use caution when dumping data from a system in a different timezone to ensure the proper data is dumped. |
START(hhmm) | Specifies that only those records that were recorded
at and after the START time and before the END time are to be written,
where hh is the hours and mm is
the minutes (based on a 24-hour clock). If START is not specified, the default is: START(0000) You
can specify START in the following ways:
|
END(hhmm) | Specifies that only those records that were recorded
after the START time and before the END time are to be written, where hh is
the hours and mm is the minutes (based on a 24-hour
clock). If END is not specified, the default is: END(2400) You can specify END in the following ways:
|
RELATIVEDATE(unit, n, x) | Specifies a date range based
on the current day to be selected by the IFASMFDL program. The start
date of the date range is calculated by going backward n time
units measured by day, week, or month from the current day, week,
or month. The end date of the date range is calculated by moving x time
units forward from the start date. You can use the RELATIVEDATE option
instead of the DATE option. The RELATIVEDATE parameter is not compatible
with the DATE parameter.
|
SID(xxxx) | Specifies that only records written by the operating
system with the specified system identifier are written to the output
data set, where xxxx, which indicates the system
identifier, can be any one to four alphameric characters. A separate
SID parameter can be specified for each system the SMF dump program
is expected to handle. If SID is not specified, records pertaining
to any operating system are written. You can only specify SID on a separate input line as a IFASMFDL-level parameter affecting all the OUTDD statements. You cannot us it as a subparameter on the OUTDD parametert. |
ABEND(RETRY|NORETRY) | Specifies whether the SMF log stream dump program
attempts to recover from an abend (abnormal end of task). When specified,
this option overrides the SMF parmlib option (DUMPABND). If you specify RETRY, then the SMF log stream dump program attempts to recover from the abend. If you specify the NORETRY, then the SMF log stream dump program terminates after the abend has occurred. You can only specify ABEND on a separate input line as a IFASMFDL-level parameter affecting all the OUTDD statements. |
USER1(name) | Specifies the name of an installation-written
exit routine that is given control after each record is read and the
counters incremented. The parameter list pointed to by register 1
contains the address of the three-word user work area in word 1, the
address of the SMF record in word 2, and the address of the log stream name in word 3. See Figure 1. You can only specify USER1 on a separate input line as a IFASMFDL-level parameter. The
exit routine must set a return code in register 15 before passing
control back to the SMF log stream dump program. The return codes
are as follows:
Any other return code indicates that a problem was encountered and that the SMF log stream dump program is not to invoke the exit again. |
USER2(name) | Specifies the name of the installation-written
exit routine that is given control when the SMF log stream dump program
selects a record to be written. The parameter list pointed to by
register 1 contains the address of the three-word user work area in
word 1, the address of the SMF record in word 2, and the address of
the OUTDD ddname in word 3. See Figure 1. You can only specify USER2 on a separate input line as a IFASMFDL-level parameter. The return codes are the same as those for USER1. |
USER3(name) | Specifies the name of the installation-written
exit routine that is given control after the output data set is closed.
This routine is invoked for each output data set. The parameter list
pointed to by register 1 contains the address of the three-word user
work area in word 1, the address of the output DCB in word 2, and
the address of the OUTDD ddname in word 3. See Figure 1. You can only specify USER3 on a separate input line as a IFASMFDL-level parameter. The
exit routine must set a return code in register 15 before passing
control back to the SMF log stream dump program. The return codes
for USER3 are as follows:
|
SMARTENDPOINT | Specifies that processing of input records in
the logstream should discontinue after it has been determined that
records for all known SIDS contain a date and time that is past the IFASMFDL specified date and time plus the SMARTEPOVER value. The default behavior is that IFASMFDL continues to read records all the way to the end of the logstream. In z/OS® V1R9 through z/OS V1R12, this keyword only applies to the DUMP option. Beginning with z/OS V1R13, this keyword applies to all the OPTIONS subparameter (ARCHIVE, DELETE, and DUMP). |
SMARTEPOVER(hhmm) | This keyword only applies when SMARTENDPOINT
is specified; it specifies the amount of time that is added to the
end date and time to determine the SMARTENDPOINT time. The value
specified in hhmm can range from zero (0000) to
two hours (0200). The default value is two hours (0200). To determine
which value to specify, take into account the following considerations:
For more information about the MAXDORM option, see parmlib member SMFPRMxx in z/OS MVS Initialization and Tuning Reference. |
FLDSTATS(xxxx) | Prints out a table with statistics related to record flooding. The output table includes statistics for the records that matched the output filters. Each line of the report is for a given record type. Statistics are gathered based on the xxxx value. This value indicates the number of records that make a single interval for the statistical calculations. See Figure 7. |
SOFTINFLATE | NOSOFTINFLATE | Specifies whether the SMF log stream dump program
can decompress SMF records that were compressed with zEDC using software
decompression.
|
If the start time is greater than the end time, all records produced between the start time on one day and the end time on the following day are selected. For example, if you specify START(2000),END(0800), SMF selects records during the time period indicated by the shaded area in Figure 2.
SMF does not select the records produced between 0800 hours and 2000 hours in any day.
2008.150 2300 2008.151 0100 2008.151 0300 2008.151 0400
+----------------+----------------+----------------+-----------------+
| | | | |
| Block 1 | Block 2 | Block 3 | Block 4 |
| | | | |
+----------------+----------------+----------------+-----------------+
Block 1 --> 2008.150 2200 to 2008.150 2259
Block 2 --> 2008.150 2300 to 2008.151 0059
Block 3 --> 2008.151 0100 to 2008.151 0259
Block 4 --> 2008.151 0300 to 2008.151 0359
The MAXDORM option in SMFPRMxx can be used to align the logger block boundaries with the date and time selection criteria of the ARCHIVE and DELETE options. For more information about the MAXDORM option, see parmlib member SMFPRMxx in z/OS MVS Initialization and Tuning Reference.