Go to Home Page
Questions?
Call 1-800-572-5517
 
  Go to Home Page  
  See all products
  See price schedules
  See manuals, tutorials, articles
  Download a free 30-day trial
  See user testimonials
  About Pacific Systems Group
 
 
SMF Tools
  See SMF Record Layouts
  See Sample SMF Reports
  Learn How to Export SMF Data
  Download Free SMF Reporting Software (30 days)
 
One of the greatest SMF record parsing programming languages I've ever seen. Chief, Large Systems Services Branch, NIH
  Choose Spectrum Writer to add 4GL to your product
  Free 60-Page Book (PDF) - How to Make an SMF Report
Spectrum DCOLLECT Reporter - the 4GL DCOLLECT Report Writer.

Spectrum SMF Writer - the 4GL SMF Report Writer.

SMF Type 85 Record

This table shows the record layout for type 85 SMF records
(OAM Performance).

List of other SMF record layouts available.
List of sample SMF reports.

Purpose: Measures OAM performance at the OSREQ macro interface level. z/OS V2R3

It's easy to report on SMF 85 data!

SMF Spectrum Writer
We have a low-cost 4GL report writer especially for SMF files. It's called Spectrum SMF Writer.

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.

Plus, Spectrum SMF Writer can export SMF data as comma delimited files to use on your PC.
 
Try It FREE Now!

SMF Type 85 Record -- OAM Performance
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF85LEN2binary
Record length.
22SMF85SEG2binary
Segment descriptor.
44SMF85FLG1binary
System indicator.
Bit Meaning WHEN SET
0 Reserved.
1 Subtypes are valid.
2 Reserved.
3 MVS/SP Version 4 and above. bits 3, 4, 5, and 6 are on. See note.
4 MVS/SP Version 3. bits 4, 5, and 6 are on.
5 MVS/SP Version 2. bits 5 and 6 are on.
6 VS2 bit 6 is on.
7 Reserved.
Recommendation: Use record type 30 to obtain the z/OS product level.
55SMF85RTY1binary
Record type (decimal 85, hexadecimal X'55').
66SMF85TME4binary
Time since midnight in hundredths of a second that the record was presented to SMF.
10ASMF85DTE4binary
Date the record was presented to SMF in the form of 0cyydddF, where F is the sign.
14ESMF85SID4EBCDIC
System Identification (from SID parameter).
1812SMF85SSI4EBCDIC
Subsystem identification, contains ’OAM‘ for all OAM SMF records.
2216SMF85STY2binary
Record subtype.
2418SMF85TRN2binary
Number of triplets in this record. A triplet is a set of offset/length/number values that defines a section of the record.
261ASMF85PSO4binary
Offset to OAM product section.
301ESMF85PSL2binary
Length of OAM product section.
3220SMF85PSN2binary
Number of OAM product section.
3422SMF85OSO4binary
Offset to OAM subtype data section.
3826SMF85OSL2binary
Length of OAM subtype data section.
4028SMF85OSN2binary
Number of OAM subtype data sections.
422ASMF85RSV_
1
6binary
Reserved.
Product Section
Each OAM SMF record has a 112-byte OAM product section following the standard SMF record header. The OAM product section contains product identification information and common information to all OAM SMF record subtypes. If a field is not used for a particular subtype and the format of the field is shown as EBCDIC in the FORMAT column of the table describing the SMF record subtype, the field contains EBCDIC blanks.

If a field is not used for a particular subtype and the format of the field is shown as binary in the FORMAT column of the table describing the SMF record subtype, the field contains binary zeros.

(Offset from beginning of record: SMF85PSO)
00SMF85_
R85PCID
9EBCDIC
Component ID for OAM. For DFSMS, this field contains the characters ‘5695DF180’.
99SMF85_
R85PVID
1binary
Version number for DFSMS.
10ASMF85_
R85PRID
1binary
Release number for DFSMS.
11BSMF85_
R85PMID
1binary
Modification level for DFSMS.
12CSMF85_
R85PFMID
8EBCDIC
SMP/E FMID for OAM.
2014SMF85RSV_
2
4binary
Reserved.
2418SMF85_
R85PCPUI
8binary
CPU ID as stored by S/390® Store CPU ID (STIDP) instruction.
3220SMF85_
R85PJOBN
8EBCDIC
Job name.
4028SMF85_
R85PSTPN
8EBCDIC
Step name.
4830SMF85_
R85PPRCN
8EBCDIC
Procedure name.
5638SMF85_
R85PPGMN
8EBCDIC
Contains the job step program name. The job step program name is the name of the program specified on the job control language (JCL) EXEC statement with the PGM= keyword.
6440SMF85_
R85USRID
8EBCDIC
User identification or blanks.
7248SMF85_
R85PTRXN
8EBCDIC
Contains the transaction name for subtypes 2-6. The transaction names are specified as follows. For all other subtypes, this field contains blanks.
Environment Meaning
CICS The name of the CICS transaction that invoked the OSREQ macro.
IMS The name of the IMS transaction that invoked the OSREQ macro.
OTHER This field contains blanks, if the OSREQ macro was invoked from any other environment.
8050SMF85_
R85PSTRT
8binary
Starting time of the function in 8-byte STCK format.
8858SMF85_
R85PENDT
8binary
Ending time of the function in 8-byte STCK format.
9660SMF85_
R85PRESP
4binary
Elapsed time of the function in milliseconds (.001 second units).
10064SMF85RSV_
3
12binary
Reserved.
OSREQ activity subtypes 1–10 data section format The format of the subtype data section for all OSREQ macro functions IS identical; although, not all of the fields are applicable to all OSREQ functions. Also, with the exception of the OSREQ return code (ST1RC), the rest of the fields are not valid if the OSREQ function fails.

The following are subtypes and descriptions for the functions of the OSREQ macro:

  • 1 OSREQ ACCESS
  • 2 OSREQ STORE
  • 3 OSREQ RETRIEVE
  • 4 OSREQ QUERY
  • 5 OSREQ CHANGE
  • 6 OSREQ DELETE
  • 7 OSREQ UNACCESS
  • 8 OSREQ STOREBEG
  • 9 OSREQ STOREPRT
  • 10 OSREQ STOREEND

    Although subtypes 1–10 share a common subtype data section, not all fields are valid for each of the ten subtypes.

  • (Offset from beginning of record: SMF85OSO)
    00SMF85_
    ST1COLN
    44EBCDIC
    Collection name. Valid for subtypes 2, 3, 4, 5, 6, 8, 9, and 10.
    442CSMF85_
    ST1OBJN
    44EBCDIC
    Object name. Valid for subtypes 2, 3, 4, 5, 6, 8, 9, and 10.
    8858SMF85_
    ST1SGN
    8EBCDIC
    Storage group name. Valid for subtypes 2, 3, 4, 5, 6, 8, 9, and 10.
    9660SMF85_
    ST1SCN
    8EBCDIC
    Storage class name. Valid for subtypes 2, 4, 5, 8, 9, and 10.
    10468SMF85_
    ST1MCN
    8EBCDIC
    Management class name. Valid for subtypes 2, 4, 5, 8, 9, and 10.
    11270SMF85_
    ST1OFF
    4binary
    Offset for both partial object retrieve (subtype 3), and object store part (subtype 9). Zero for all others.
    11674SMF85_
    ST1LEN
    4binary
    Length. Valid for subtypes 2, 3, 4, 6, 8, 9, and 10.
    SUBTYPE Meaning
    1 Unused, contains binary zero.
    2 Length of object stored.
    3 Number of bytes retrieved.
    4 Number of QEL elements returned to the application program.
    5 Unused, contains binary zero.
    6 Length of object deleted.
    7 Unused, contains binary zero.
    8 Total object length in bytes.
    9 Length in bytes of the part of the object to be stored.
    10 Total object length in bytes to complete storage of the object.
    12078SMF85_
    ST1TTOK
    16binary
    OSREQ tracking token supplied with TTOKEN keyword on the OSREQ macro.
    Note: Any application programs that want to use the new TTOKEN keyword interface need to be recompiled with the new OSREQ macro. For more information concerning the TTOKEN keyword, see z/OS DFSMS OAM Application Programmer's Reference.
    13688SMF85_
    ST1TOK
    8binary
    OSREQ token.
    14490SMF85_
    ST1VSN
    6EBCDIC
    Volume serial number. Valid for subtypes 2, 3, and 6.
    For an OSREQ STORE request (subtype 2), this field contains the volume serial number of the tape or optical volume to which the primary copy of the object was stored. Only valid if bit 1 or 2 is on in field SMF85_ST2FLGS.
    For an OSREQ RETRIEVE request (subtype 3), this field contains the volume serial number of the tape or optical volume from which the copy of the object was retrieved. Either the first or the second backup copy is retrieved as determined by the VIEW=BACKUP | BACKUP2 option indicated on the RETRIEVE request. Valid if bit 1, 2, 3, 4, 5, or 6 is on in field SMF85_ST3FLGS.
    For an OSREQ DELETE request (subtype 6), this field contains the volume serial number of the tape or optical volume from which the primary copy of the object was deleted. Valid if bit 1 or 2 is on in field SMFF85_ST6FLGS.
    15096SMF85_
    ST1VMT
    2EBCDIC
    Volume media type. Valid for subtype 2, 3, and 6. If a volume serial number is contained in the previous field (ST1VSN), this field contains the media type of the volume whose volume serial number is in field SMF85_ST1VSN as follows:
    Value Meaning
    01 IBM 3995 5.25-inch 650-MB rewritable optical disk media.
    02 IBM 3480 Cartridge System Tape.
    03 IBM 3995 5.25-inch 650-MB WORM optical disk media.
    04 IBM 3480 Enhanced Capacity Cartridge System Tape.
    05 IBM High Performance Cartridge Tape.
    06 IBM Extended High Performance Cartridge Tape.
    07 IBM Enterprise Tape Cartridge.
    08 IBM Enterprise WORM Tape Cartridge.
    09 IBM Enterprise Economy Tape Cartridge.
    10 IBM Enterprise Economy WORM Tape Cartridge.
    11 IBM 3995 5.25-inch 1300-MB rewritable optical disk media.
    12 IBM Enterprise Extended Tape Cartridge.
    13 IBM 3995 5.25-inch 1300-MB WORM optical disk media.
    14 IBM Enterprise Extended WORM Tape Cartridge.
    15 IBM 3995 5.25-inch 1300-MB CCW optical disk media.
    21 IBM 3995 5.25-inch 2600-MB rewritable optical disk media.
    23 IBM 3995 5.25-inch 2600-MB WORM optical disk media.
    25 IBM 3995 5.25-inch 2600-MB CCW optical disk media.
    31 IBM 3995 5.25-inch 5.2-GB rewritable optical disk media.
    33 IBM 3995 5.25-inch 5.2-GB WORM optical disk media.
    35 IBM 3995 5.25-inch 5.2-GB CCW optical disk media.
    Note: CCW = continuous composite WORM media.
    WORM = write-once-read-many.
    15298SMF85_
    ST1RC
    4binary
    OSREQ return code. Value in register 15 following the OSREQ macro invocation.
    1569CSMF85_
    ST1RS
    4binary
    OSREQ reason code. Value in register 0 following the OSREQ macro invocation.
    160A0SMF85_
    ST1FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below, all bits are zero and reserved. For subtype 1, the following bit definitions apply:
    Bit Meaning
    0 When on, the IADDRESS parameter was specified on the OSREQ request.
    1-31 Reserved
    160A0SMF85_
    ST2FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below, all bits are zero and reserved. For subtype 2, the following bit definitions apply:
    Bit Meaning
    0 When on, the object is stored to disk.
    1 When on, the object is stored to optical.
    2 When on, the object is stored to tape.
    3 Unused.
    4 Unused.
    5 When on, the OSREQ STORE request resulted in the mounting of a shelf-resident removable media volume (tape or optical) by an operator. This bit is valid only if bit 1 or 2 is on.
    6 When on, the OSREQ STORE request resulted in the mounting of a library-resident removable media volume (tape or optical) inside an automated storage library. This bit is valid only if bit 1 or 2 is on.
    7 When on, the OSREQ STORE request was satisfied using an already mounted removable media volume (tape or optical). This bit is valid only if bit 1 or 2 is on.
    8 When on, an immediate backup copy is scheduled for this object.
    9 When on, the object is stored to LOB storage structure.
    10 When on, the object is stored on a sublevel 1. When bit 0 is on, the object is stored in DB2. When bit 2 is on, the object is stored to a tape sublevel 1 volume.
    11 When on, the object is stored on a sublevel 2. When bit 0 is on, the object is stored in a file system. When bit 2 is on, the object is stored to a tape sublevel 2 volume.
    12 Unused
    13 When on, the OSREQ STORE request included a DELHOLD=HOLD parameter. A deletion-hold was in effect for this object when it was initially stored.
    14 When on, the object was stored as a retention-protected object.
    15 When on, the object was stored as a deletion-protected object.
    16 When on, the object was stored as an event-based-retention object.
    160A0SMF85_
    ST3FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below all bits are zero and reserved. For subtype 3, the following bit definitions apply:
    Bit Meaning
    0 When on, the primary copy of the object was retrieved from disk.
    1 When on, the primary copy of the object was retrieved from optical.
    2 When on, the primary copy of the object was retrieved from tape.
    3 When on, either the first or the second backup copy of the object was retrieved from optical as a result of VIEW=BACKUP or VIEW=BACKUP2 being specified on the OSREQ macro. See bit 10 to indicate which backup copy was retrieved.
    4 When on, either the first or the second backup copy of the object was retrieved from tape as a result of VIEW=BACKUP or VIEW=BACKUP2 being specified on the OSREQ macro. See bit 10 to indicate which backup copy was retrieved.
    5 When on, either the first or the second backup copy of the object was retrieved from optical as a result of the primary copy of the object being unavailable and the automatic access to backup being active. See bit 10 for indication which backup copy was retrieved.
    6 When on, either the first or the second backup copy of the object was retrieved from tape as a result of the primary copy of the object being unavailable and the automatic access to backup being active. See bit 10 for indication which backup copy was retrieved.
    7 When on, the OSREQ RETRIEVE request resulted in the mounting of a shelf-resident removable media volume (tape or optical) by an operator. This bit is valid only if bit 1, 2, 3, 4, 5, or 6 is on.
    8 When on, the OSREQ RETRIEVE request resulted in the mounting of a library-resident removable media volume (tape or optical) inside an automated storage library. This bit is valid only if bit 1, 2, 3, 4, 5, or 6 is on.
    9 When on, the OSREQ RETRIEVE request was satisfied using an already mounted removable media volume (tape or optical). This bit is valid only if bit 1, 2, 3, 4, 5, or 6 is on.
    10 When on, the second backup copy of the object was retrieved.
    11 When on, a recall is scheduled for this object.
    12 When on, a recall was explicitly specified on the OSREQ RETRIEVE request.
    13 When on, the primary copy of the object was retrieved from a LOB table.
    14 When on, the object is retrieved from a sublevel 1. When bit 0 is on, the object is retrieved from DB2. When bit 2 is on, the object is retrieved from a tape sublevel 1 volume.
    15 When on, the object is retrieved from a sublevel 2. When bit 0 is on, the object is retrieved from a file system. When bit 2 is on, the object is retrieved from a tape sublevel 2 volume.
    160A0SMF85_
    ST4FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below, all bits are zero and reserved. For subtype 4, the following bit definitions apply:
    Bit Meaning
    0 When on, the QUERY BACKUP OPTION has been disabled by specifying QB=N in the IEFSSNxx PARMLIB member. When off, the QUERY BACKUP OPTION is enabled, either by default or by specifying QB=Y in the IEFSSNxx PARMLIB member.
    1-31 Reserved.
    160A0SMF85_
    ST5FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below, all bits are zero and reserved. For subtype 5, the following bit definitions apply:
    Bit Meaning
    0 When on, management class is specified on the OSREQ CHANGE macro.
    1 When on, storage class is specified on the OSREQ CHANGE macro.
    2 When on, retention period is specified on the OSREQ CHANGE macro.
    3 When on, special retention period value of -1 is specified the OSREQ CHANGE macro.
    4 When on, special retention period value of -2 is specified the OSREQ CHANGE macro.
    5 When on, special retention period value of X'7FFFFFFF' is specified the OSREQ CHANGE macro.
    6 When on, event expiration (EVENTEXP) is specified on the OSREQ CHANGE macro.
    7 When on, activate deletion hold (DELHOLD=HOLD) is specified on the OSREQ CHANGE macro.
    8 When on, release deletion hold (DELHOLD=NOHOLD) is specified on the OSREQ CHANGE macro.
    160A0SMF85_
    ST6FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below, all bits are zero and reserved. For subtype 6, the following bit definitions apply:
    Bit Meaning
    0 When on, the primary copy of the object is deleted from disk.
    1 When on, the primary copy of the object is deleted from optical.
    2 When on, the primary copy of the object is deleted from tape.
    3 When on, the first backup copy of the object is deleted from optical.
    4 When on, the first backup copy of the object is deleted from tape.
    5 When on, the second backup copy of the object is deleted from optical.
    6 When on, the second backup copy of the object is deleted from tape.
    7 When on, the primary copy of the object is deleted from LOB table.
    8 When on, the primary copy of the object is deleted from sublevel 1. When bit 0 is on, the object is deleted from DB2. When bit 2 is on, the object is deleted from a tape sublevel 1 volume.
    9 When on, the primary copy of object is deleted from sublevel 2. When bit 0 is on, the object is deleted from a file system. When bit 2 is on, the object is deleted from a tape sublevel 2 volume.
    160A0SMF85_
    ST7FLGS
    4binary
    Processing flags. For subtype 7, all bits contain zero.
    160A0SMF85_
    ST8FLGS
    4binary
    Processing flags. For subtype 8, all bits contain zero.
    160A0SMF85_
    ST9FLGS
    4binary
    Processing flags. For subtype 9, all bits contain zero.
    160A0SMF85_
    ST10FLGS
    4binary
    Processing flags. The meaning is dependent on the record subtype. Unless specified below, all bits are zero and reserved. For subtype 10, the following bit definitions apply:
    Bit Meaning
    0 When on, the object is stored to disk.
    1 Unused.
    2 When on, the object is stored to tape.
    3 Unused.
    4 Unused.
    5 When on, the OSREQ STORE request resulted in the mounting of a shelf-resident tape volume by an operator (this could also be a non-IBM tape library). This bit is valid only if bit 2 is on.
    6 When on, the OSREQ STORE request resulted in the mounting of a library-resident tape volume inside an IBM automated tape library. This bit is valid only if bit 2 is on.
    7 When on, the OSREQ STORE request was satisfied using an already mounted tape volume. This bit is valid only if bit 2 is on.
    8 When on, an immediate backup copy is scheduled for this object.
    9 When on, the object is stored to LOB storage structure.
    10 When on, the object is stored on a sublevel 1. When bit 0 is on, the object is stored in DB2. When bit 2 is on, the object is stored to a tape sublevel 1 volume.
    11 When on, the object is stored on a sublevel 2. When bit 0 is on, the object is stored in a file system. When bit 2 is on, the object is stored to a tape sublevel 2 volume.
    12 When on, the CANCEL=YES keyword was specified indicating the store sequence was successfully cancelled.
    13 When on, the OSREQ STOREBEG request included a DELHOLD=HOLD parameter. A deletion-hold was in effect for this object when it was initially stored.
    14 When on, the object was stored as a retention-protected object.
    15 When on, the object was stored as a deletion-protected object.
    16 When on, the object was stored as an event-based-retention object.
    164A4SMF85_
    ST1STOK
    16binary
    OSREQ STOKEN. Valid for subtypes 8, 9, and 10.
    180B4SMF85_
    ST1RC2
    4binary
    OSREQ Return Code 2. Valid for subtypes 2, 3, and 10.
    184B8SMF85_
    ST1STOUT
    4binary
    STIMEOUT value specified on the STOREBEG request. Specifies the maximum interval in seconds between STOREBEG, STOREPRT, and STOREEND request that OAM should wait before OAM will assume that there will be no more activity for this store sequence. Valid for subtype 8.
    188BCSMF85_
    ST1OLRD
    10EBCDIC
    Old Last Reference Date. Value contained in OLDREFDT prior to the OSREQ CHANGE or RETRIEVE request. Valid for subtypes 3 and 5.
    198C6SMF85_
    ST1NLRD
    10EBCDIC
    New Last Reference Date. Value contained in ODLREFDT after the OSREQ CHANGE or RETRIEVE request has completed. Valid for subtypes 3 and 5.
    208D0SMF85_
    ST1INST
    4binary
    Instance ID. Valid for subtypes 2,3,6, and 10.

    The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.

    Copyright 2024.
    Pacific Systems Group.
    All rights reserved.


    Spectrum Writer 4GL - the economical alternative to SAS, Easytrieve, DYL-280...

    Home | Products | Prices | Documentation | 30-Day Trials | Customer Reviews | Company | FAQ | Sample Reports | SMF Records
    Send Your Comments or Questions