SMF Type 61 Record
This table shows the record layout for type 61 SMF records
It's easy to report on SMF 61 data! (Jump to sample reports)
Spectrum SMF Writer handles the difficult SMF record parsing for you automatically. You just specify which fields you want to see.
Spectrum SMF Writer also converts the arcane date and time fields and reformats them into an attractive report.
Record length. This field and the next field (total of four bytes) form the RDW (record descriptor word). See “Standard SMF Record Header” on page 13-1 for a detailed description.
Segment descriptor (see record length field).
System indicator: Bit Meaning When Set 0-2 Reserved 3-6 Version indicators* 7 Reserved.*See “Standard SMF Record Header” on page 13-1 for a detailed description.
Record type 61 (X'3D').
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
Date when the record was moved into the SMF buffer, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
System identification (from the SID parameter).
The action taken on the catalog entry; valid values are: IN (INSERT) DE (DELETE) UP (UPDATE)
Offset of product section from start of record, including record descriptor word (RDW).
Length of product section.
Number of product sections.
Offset of data section from start of record, including record descriptor word (RDW).
Length of data section.
Number of data sections.
Version of the type 61 records.
Catalog management product identifier.
Job name. The job log identification consists of the job name, time, and date that the reader recognized for the JOB card (for this job). If a system task caused the record to be written, the job name and user identification fields contain blanks and the time and date fields contain zeros.
Time since midnight, in hundredths of a second, the reader recognized the JOB card (for this job).
Date reader recognized the JOB card for this job, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
Name of catalog in which entry is defined.
Entry type identifier. For a description of this field, see the SMF60TYP field on page 13-255.
New catalog record for defined entry (the length of this record is contained in the first two bytes of this field).
The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.
The sample SMF report below was created with Spectrum SMF Writer, the low-cost 4GL SMF report writer.
In this report, we read as input the SMF file and select three types of records:
The report shows the time, system and jobname associated with each change to the catalog. It shows the type of change, information about the entity involved, and the catalog changed. We sorted the report in time order. (We could also have sorted it by entity name, and then time order.)
This is a good example of reporting on 3 different SMF record types. In this case, it was easy because all 3 records have the same layout. This example also shows how to code "tables" to look up the meaning of various codes. That way your report shows meaningful information, not just cryptic codes.
All of this with just a few lines of code!
Why not install a Spectrum SMF Writer trial right now and start making your own SMF reports!