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 105 Record

This table shows the record layout for type 105 SMF records
(GDPS Global Mirror).

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

Purpose: SMF record 105 contains information relating to GPDS Global Mirror and Metro Global Mirror.

There are two subtypes of SMF 105:

  • Subtype 1: contains the Product and Session sections.
  • Subtype 2: contains the Product, Disk subsystem and Individual LSS sections.

It's easy to report on SMF 105 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!

The Spectrum Writer definitions for the SMF type 105 record below are based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual and/or DSECTs mapped by its Assembler macros.

 

Spectrum SMF Writer
File Definition for Type 105 SMF Records
GDPS Global Mirror

***********************************************************************
*          SPECTRUM SMF WRITER -- FILE DEFINITION STATEMENTS          *
*             SMF TYPE 105 RECORD - "GDPS GLOBAL MIRROR"              *
***********************************************************************
OPTION: MISSOFFSET /* TREAT OFFSET ERRORS (99999) LIKE MISSING DATA */
*/*** START OF SPECIFICATIONS ****************************************/
*/*                                                                  */
*/* Macro Name: GEOMSMF                                              */
*/*                                                                  */
*/* Descriptive Name:   SMF record 105 subtype 1 and 2               */
*/* Acronym: SMF105                                                  */
*/*                                                                  */
*/* DSECT Name:                                                      */
*/* Subtype 1: SMF105HDR SMF105PDT SMF105SDS                         */
*/*                                                                  */
*/* Subtype 2: SMF105HDR SMF105PDT SMF105DSS SMF105LSS               */
*/*                                                                  */
*/* Component: GDPS                                                  */
*/*                                                                  */
*/*            SMF 105 has two subtypes:                             */
*/*            - Subtype 1 is created by Global Mirror and           */
*/*              Metro Global Mirror if monitor is activated         */
*/*            - Subtype 2 is created by Global Mirror and           */
*/*              Metro Global Mirror if monitor is activated         */
*/*                                                                  */
*/*            The record consists of 4 parts:                       */
*/*                                                                  */
*/*            1. The fixed portion of the SMF header.               */
*/*            2. The individual header extension which contains     */
*/*               offset/length/number triplets to address the       */
*/*               record parts following the GDPS product section.   */
*/*            3. The GDPS product section.                          */
*/*            4. The GDPS data sections                             */
*/*                                                                  */
*/* Notes: None                                                      */
*/*                                                                  */
*/* Size:                                                            */
*/*                                                                  */
*/*  Subtype 1:                                                      */
*/*                                                                  */
*/*  - Smf Header. . . . . . . . . . . :  34 bytes                   */
*/*  - Header Extension  . . . . . . . :   8 bytes                   */
*/*  - Product Section . . . . . . . . :  10 bytes                   */
*/*  - Session Section . . . . . . . . : 141 bytes                   */
*/*                                                                  */
*/*  Subtype 2:                                                      */
*/*                                                                  */
*/*  - Smf Header. . . . . . . . . . . :  34 bytes                   */
*/*  - Header Extension  . . . . . . . :  16 bytes                   */
*/*  - Product Section . . . . . . . . :  10 bytes                   */
*/*  - DiskSubsystem Section . . . . . :  36 bytes                   */
*/*  - Individual LSS Section  . . . . :  24 bytes                   */
*/*                                                                  */
*/*                                                                  */
*/*                                                                  */
*/*                                                                  */
**********************************************************************/
*
**********************  Common smf header  ****************************
FLD: SMF105HDC LEN(34) DISP(0)
                            /*COMPLETE HEADER+PRODUCT SECTION TRIPLET*/
FLD: SMF105LEN LEN(2) TYPE(BIN) DISP(0)               /*RECORD LENGTH*/
FLD: SMF105SEG LEN(2) TYPE(BIN) DISP(2)          /*SEGMENT DESCRIPTOR*/
FLD: SMF105FLG LEN(1) TYPE(BIN) DISP(4)            /*HEADER FLAG BYTE*/
FLD: SMF105RTY LEN(1) TYPE(BIN) ACC(NO) DISP(5)         /*RECORD TYPE*/
FLD: SMF105TME LEN(4) TYPE(B-SECS) DISP(6) DEC(2)
                                  /*TOD RECORD WRITTEN*/
FLD: SMF105DTE TYPE(P-CYYDDD) DISP(10)          /*DATE RECORD WRITTEN*/
FLD: SMF105IDS LEN(4) DISP(14)    /*SYSTEM ID FROM INSTALLATION*/
FLD: SMF105SSI LEN(4) DISP(18)    /*SUBSYSTEM ID (GDPS)*/
FLD: SMF105STY LEN(2) TYPE(BIN) DISP(22)                    /*SUBTYPE*/
FLD: SMF105TRN LEN(2) TYPE(BIN) DISP(24)
                                  /*NUMBER OF TRIPLETS IN THIS RECORD*/
FLD: SMF105PRO LEN(4) TYPE(BIN) DISP(26)
                                  /*OFFSET TO GDPS PRODUCT SECTION*/
FLD: SMF105PRL LEN(2) TYPE(BIN) DISP(30)
                                  /*LENGTH OF GDPS PRODUCT SECTION*/
FLD: SMF105PRN LEN(2) TYPE(BIN) DISP(32)
                                  /*NUMBER OF GDPS PRODUCT SECTIONS*/
**********************  Subtype 1  ************************************
FLD: SMF1051HX LEN(8) DISP(34)    /*Total Header extension*/
FLD: SMF105SEO LEN(4) TYPE(BIN) DISP(34)
                                  /*offset to session control section*/
FLD: SMF105SEL LEN(2) TYPE(BIN) DISP(38)
                                  /*length of session control section*/
FLD: SMF105SEN LEN(2) TYPE(BIN) DISP(40)
                                 /*number of session control sections*/
**********************  Subtype 2  ************************************
FLD: SMF1052HX LEN(16) DISP(34)   /*Total Header extension*/
FLD: SMF105DSO LEN(4) TYPE(BIN) DISP(34)
                                  /*Offset to disk subsystems section*/
FLD: SMF105DSL LEN(2) TYPE(BIN) DISP(38)
                                  /*Length of disk subsystems section*/
FLD: SMF105DSN LEN(2) TYPE(BIN) DISP(40)
                                  /*Number of disk subsystems section*/
FLD: SMF105LSO LEN(4) TYPE(BIN) DISP(42)
                                /*Offset to Logical subsystem section*/
FLD: SMF105LSL LEN(2) TYPE(BIN) DISP(46)
                                /*Length of Logical subsystem section*/
FLD: SMF105LSN LEN(2) TYPE(BIN) DISP(48)
                                /*Number of Logical subsystem section*/
*
**********************  COMMON GDPS PRODUCT SECTION  ******************
***********************************************************************
**** SMF105PDT DSECT
***********************************************************************

COMP: PROD_OFFSET =
           WHEN(SMF105RTY=105 AND SMF105PRN > 0) ASSIGN(SMF105PRO)
           ELSE                                 ASSIGN(99999)
FLD: SMF105PDT DISP(0) LEN(10) OFFSET(PROD_OFFSET)
FLD: SMF105PRV LEN(2) DISP(0)   /*GDPS version number, with in packed*/
*                       format 'vrmF'.
*                       ... v = version number
*                       ... r = release number
*                       ... m = modification level
FLD: SMF105PRD LEN(8) DISP(2)     /*PRODUCT NAME*/
*                       GDPSGM = Global Mirror
*
**********************  Data Section for Subtype 1 ********************
**********************  SESSION DATA SECTION **************************
***********************************************************************
**** SMF105SDS DSECT
***********************************************************************

***********************************************************************
* TO REPORT ON ALL OCCURRENCES OF SMF105SDS, USE:
* INPUT: SMF105
*        NORMWHEN(SMF105RTY=105 AND SMF105STY=1 AND SMF105SEN>0)
*        NORMSMF(SMF105SEO)
***********************************************************************
COMP: SDS_OFFSET =
           WHEN(SMF105RTY=105 AND SMF105STY=1 AND SMF105SEN > 0)
                    ASSIGN(SMF105SEO)
           ELSE     ASSIGN(99999)
FLD: SMF105SDS DISP(0) LEN(141) OFFSET(SDS_OFFSET)
FLD: SMF105SDT TYPE(P-CYYDDD) DISP(0)    /*Current date on MVS system*/
FLD: SMF105STM LEN(4) TYPE(B-SECS) DISP(4) DEC(2)
                      /*Time since midnight in hundredths of a second*/
FLD: SMF105SIN LEN(4) TYPE(B-SECS) DISP(8) DEC(2)
                                  /*Duration of the interval*/
FLD: SMF105SFL LEN(1) TYPE(BIN) DISP(12)               /*Record flags*/
FLD: SMF105SNU LEN(1) TYPE(BIN) DISP(13)             /*Session Number*/
FLD: SMF105SDM LEN(8) DISP(14)    /*GDPS instance name*/
FLD: SMF105SID LEN(16) DISP(22)   /*Session name*/
FLD: SMF105SMS LEN(10) DISP(38)   /*Master DSS Serial Number*/
FLD: SMF105STA LEN(8) DISP(48)    /*Session status*/
FLD: SMF105SSD TYPE(P-CYYDDD) DISP(56)
                                  /*Current date on DiskSubsystem*/
FLD: SMF105SST LEN(4) TYPE(B-SECS) DISP(60) DEC(2)
                               /*Time since midnight on DiskSubsystem*/
FLD: SMF105SCD TYPE(P-CYYDDD) DISP(64)          /*Last CG date on DSS*/
FLD: SMF105SCT LEN(4) TYPE(B-SECS) DISP(68) DEC(2)
                                 /*Last CG time since midnight on DSS*/
FLD: SMF105SAR LEN(6) TYPE(BIN) DISP(72)  /*Average RPO over interval*/
FLD: SMF105SIR LEN(6) TYPE(BIN) DISP(78)
                               /*Instantaneous RPO at end of interval*/
FLD: SMF105SGC LEN(4) TYPE(BIN) DISP(84)    /*Good CG in the interval*/
FLD: SMF105SFC LEN(4) TYPE(BIN) DISP(88)  /*Failed CG in the interval*/
FLD: SMF105SCF LEN(4) TYPE(BIN) DISP(92)
                                  /*Failed CG since last success*/
FLD: SMF105SLS LEN(2) TYPE(BIN) DISP(96)
                                  /*Number of LSS being monitored*/
FLD: SMF105STV LEN(2) TYPE(BIN) DISP(98)
                                  /*Total volumes in GM session*/
FLD: SMF105SOV LEN(2) TYPE(BIN) DISP(100)      /*Vol. with OOS tracks*/
FLD: SMF105SPV LEN(2) TYPE(BIN) DISP(102)
                                  /*Vol. in Duplex pending status*/
FLD: SMF105SSV LEN(2) TYPE(BIN) DISP(104)    /*Vol. in Simplex status*/
FLD: SMF105SUV LEN(2) TYPE(BIN) DISP(106)  /*Vol. in Suspended status*/
FLD: SMF105SCV LEN(2) TYPE(BIN) DISP(108)   /*Vol. in Cascaded status*/
FLD: SMF105SJV LEN(2) TYPE(BIN) DISP(110)
                                  /*Vol. in Join pending status*/
FLD: SMF105SFV LEN(2) TYPE(BIN) DISP(112) /*Vol. in First pass status*/
FLD: SMF105SOT LEN(8) TYPE(BIN) DISP(114)
                                  /*Total OOS tracks in session*/
FLD: SMF105SER LEN(4) DISP(122)   /*Last Error Reason*/
FLD: SMF105SES LEN(8) DISP(126)   /*State at time of last error*/
FLD: SMF105SLN LEN(2) TYPE(BIN) DISP(134)       /*LSS in Normal state*/
FLD: SMF105SLR LEN(2) TYPE(BIN) DISP(136)
                                  /*LSS in CG in progress state*/
FLD: SMF105SLP LEN(2) TYPE(BIN) DISP(138)    /*LSS in not ready state*/
FLD: SMF105SLO LEN(2) TYPE(BIN) DISP(140)       /*LSS in other states*/

**********************  LSS Data Section for Subtype 2  ***************
*********************** Disk Subsystem Section ************************
***********************************************************************
**** SMF105DSS DSECT
***********************************************************************

***********************************************************************
* TO REPORT ON ALL OCCURRENCES OF SMF105DSS, USE:
* INPUT: SMF105
*        NORMWHEN(SMF105RTY=105 AND SMF105STY=2 AND SMF105DSN>0)
*        NORMSMF(SMF105DSO)
***********************************************************************
COMP: DSS_OFFSET =
           WHEN(SMF105RTY=105 AND SMF105STY=2 AND SMF105DSN > 0)
                    ASSIGN(SMF105DSO)
           ELSE     ASSIGN(99999)
FLD: SMF105DSS DISP(0) LEN(36) OFFSET(DSS_OFFSET)
FLD: SMF105DDT TYPE(P-CYYDDD) DISP(0)    /*Current date on MVS system*/
FLD: SMF105DTM LEN(4) TYPE(B-SECS) DISP(4) DEC(2)
                      /*Time since midnight in hundredths of a second*/
*                       that the record was created
FLD: SMF105DFL LEN(1) TYPE(BIN) DISP(8)                /*Record flags*/
FLD: SMF105DNU LEN(1) TYPE(BIN) DISP(9)              /*Session Number*/
FLD: SMF105DSA LEN(16) DISP(10)   /*Session name*/
FLD: SMF105DSE LEN(10) DISP(26)   /*Master DSS Serial Number*/
FLD: SMF105DNL LEN(1) TYPE(BIN) DISP(36)  /*Number of LSS on this DSS*/

*********************** Individual LSS Section ************************

***********************************************************************
**** SMF105LSS DSECT
***********************************************************************

***********************************************************************
* TO REPORT ON ALL OCCURRENCES OF SMF105LSS, USE:
* INPUT: SMF105
*        NORMWHEN(SMF105RTY=105 AND SMF105STY=2 AND SMF105LSN>0)
*        NORMSMF(SMF105LSO)
***********************************************************************
COMP: LSS_OFFSET =
           WHEN(SMF105RTY=105 AND SMF105STY=2 AND SMF105LSN > 0)
                    ASSIGN(SMF105LSO)
           ELSE     ASSIGN(99999)
FLD: SMF105LSS DISP(0) LEN(24) OFFSET(LSS_OFFSET)
FLD: SMF105LID LEN(2) TYPE(BIN) DISP(0)              /*LSS Identifier*/
FLD: SMF105LST LEN(8) DISP(2)     /*Status for this LSS*/
FLD: SMF105LTV LEN(1) TYPE(BIN) DISP(10)  /*Total volumes in this LSS*/
FLD: SMF105LOV LEN(1) TYPE(BIN) DISP(11)       /*Vol. with OOS tracks*/
FLD: SMF105LPV LEN(1) TYPE(BIN) DISP(12)
                                  /*Vol. in Duplex pending status*/
FLD: SMF105LSV LEN(1) TYPE(BIN) DISP(13)     /*Vol. in Simplex status*/
FLD: SMF105LUV LEN(1) TYPE(BIN) DISP(14)   /*Vol. in Suspended status*/
FLD: SMF105LCV LEN(1) TYPE(BIN) DISP(15)    /*Vol. in Cascaded status*/
FLD: SMF105LJV LEN(1) TYPE(BIN) DISP(16)
                                  /*Vol. in Join pending status*/
FLD: SMF105LFV LEN(1) TYPE(BIN) DISP(17)  /*Vol. in First pass status*/
FLD: SMF105LOT LEN(6) TYPE(BIN) DISP(18)    /*Total OOS tracks in LSS*/
FLD: SMF105_END LEN(1) OFFSET(0)

 

Copyright 2024.
Pacific Systems Group.
All rights reserved.
Home | Products | Prices | Documentation | 30-Day Trials | Customer Reviews | Company | FAQ | Sample Reports | SMF Records
Send Your Comments or Questions