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

This table shows the record layout for type 64 SMF records
(VSAM Component or Cluster Status).

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

Purpose: Record type 64 is written when:
1. A VSAM component or cluster is closed,
2. VSAM must switch to another volume to continue to read or write,
3. There is no more space available for VSAM to continue processing.

If a cluster is closed, one record is written for each component in the cluster.

Record type 64 indicates why the record was created (a component was closed, another volume was switched to, or no additional space was available). It describes the device and volume(s) on which the object is stored, and gives the extents of the object on the volume(s). It gives statistics about various processing events that have occurred since the object was defined, such as the number of records in the data component, the number of records that were inserted, and the number of control intervals that were split.

This record identifies the job by job log identification and user identification. The job name, time, and date that the reader recognized the JOB card (for this job) constitute the job log identification.

It's easy to report on SMF 64 data! (Jump to sample reports)

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 64 Record -- VSAM Component or Cluster Status
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF64LEN2binary
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.
22SMF64SEG2binary
Segment descriptor (see record length field).
44SMF64FLG1binary
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.
55SMF64RTY1binary
Record type 64 (X'40').
66SMF64TME4binary
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
10ASMF64DTE4packed
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.
14ESMF64SID4EBCDIC
System identification (from the SID parameter).
1812SMF64JBN8EBCDIC
Job name. The job name, time, and date that the reader recognized the JOB card (for this job) constitute the job log identification, or transaction name (for APPC output). consists of the job name, time, and date that the reader recognized the JOB card (for this job).
261ASMF64RST4binary
Time since midnight, in hundredths of a second, that the reader recognized the JOB card (for this job).
301ESMF64RSD4packed
Date when the 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.
3422SMF64UIF8EBCDIC
User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
422ASMF64RIN1binary
Situation indicator
Bit Meaning When Set
0 Component closed
1 Volume switched (see note 1, below)
2 No space available
3 Record is a catalog or CRA record
4 Component closed, TYPE=T
5 Record written during ABEND processing
6 Record is for a VVDS or ICF catalog being opened or closed as a data set. If this bit is set, the catalog name field and the cluster name field may be set to zeroes.
7 Reserved.
432BSMF64DTY1binary
Indicator of component being processed. Bit Meaning When Set 0 Data set 1 Index 2 Extended format 3 Compressed 4 RLS is in effect 5 RLS is in effect, measurement management facility is disabled 6 Extended addressable data set 7 Reserved.
442CSMF64CNM44EBCDIC
Name of the catalog in which the component is defined.
8858SMF64DNM44EBCDIC
Name of the component or cluster being processed. For a CRA record, this field does not contain meaningful information. For a catalog record, this field contains the catalog or cluster name.
13284SMF64NTR2binary
Number of tracks that were requested but could not be allocated.
13486SMF64CHR4EBCDIC
Highest used relative byte address (RBA) of the component. See also SMF64CHC following.
13486SMF64CHC4EBCDIC
Highest used control interval (CI) of the component. CI is used in place of RBA for an extended format data set capable of extended addressability.
1388ASMF64ESL2binary
Length of extent entry portion of record, excluding this field. (See note 1, below.) Note: 1. If SMF64RIN=X'01', there will be no extended information written for this record (SMF64ESL). For more information, please review APAR OW56162 (for hdz11f0 and hdz11g0 users). For diagnostic purposes, VSAM EOV writes an SMF64 record when there is a record management catalog update request.
Extent Information Section
For each extent, there is one 26-byte entry per volume on a line (when record 64 is written) with the following format:
(Offset from beginning of record: 140)
00SMF64FCC4binary
Beginning cylinder and track, in the form CCHH where CC is the cylinder number and HH is the track number.
44SMF64TCC4binary
Ending cylinder and track, in the form CCHH where CC is the cylinder number and HH is the track number.
88SMF64VSN6EBCDIC
Volume serial number of the volume containing the extent.
14ESMF64CUU2binary
Device number.
1610SMF64IND2EBCDIC
Spindle identification.
1812SMF64UTY4binary
Unit type.
2216SMF64RV14Reserved.
Statistics at OPEN Time
Statistics Section

The statistics section contains:

  • Accumulative statistics from creation until the current OPEN
  • Change in statistics from OPEN to time of EOV and CLOSE
  • Data set characteristics
  • Hiperbatch I/O statistics v Compressed data statistics
  • CF Cache structure statistics

The statistics section includes information on the number of execute channel programs (EXCP). For more information about how EXCP count is determined see Chapter 10, “EXCP Count.”

(Offset from beginning of record: 140 + SMF64ESL)
00SMF64SLN4binary
Length of the statistics section, including this field.
44SMF64NIL4binary
Number of levels in the index.
88SMF64NEX4binary
Number of extents.
12CSMF64NLR4binary
Number of logical records in the component.
1610SMF64NDE4binary
Number of records that were deleted from the component.
2014SMF64NIN4binary
Number of records that were inserted into the component.
2418SMF64NUP4binary
Number of records that were updated in the component.
281CSMF64NRE4binary
Number of records that were retrieved from the component.
3220SMF64NFS4binary
Number of unused control intervals in the component. This value is multiplied by the control interval size when the component is not an extended addressable data set.
3624SMF64NCS4binary
Number of control intervals that were split in the component.
4028SMF64NAS4binary
Number of control areas that were split in the component.
442CSMF64NEP4binary
Number of execute channel programs (EXCPs). When MACRF=RLS, this field contains the number of buffer manager requests.
Change in Statistics from OPEN to time of EOV and CLOSE:
4830SMF64DIL4binary
Change in number of levels in the index.
5234SMF64DEX4binary
Change in number of extents.
5638SMF64DLR4binary
Change in number of logical records in the component. This field may be negative.
603CSMF64DDE4binary
Change in number of records that were deleted from the component. When MACRF=RLS, this field contains the total number of deletes performed by this access-method control block.
6440SMF64DIN4binary
Change in number of records that were inserted into the component. When MACRF=RLS, this field contains the total number of inserts performed by this access-method control block.
6844SMF64DUP4binary
Change in number of records that were updated in the component. When MACRF=RLS, this field contains the total number of updates performed by this access-method control block.
7248SMF64DRE4binary
Change in number of records that were retrieved from the component. When MACRF=RLS, this field contains the total number of retrieves performed by this access-method control block.
764CSMF64DFS4binary
Change in number of unused control intervals in the component. This value is multiplied by the control interval size when the component is not an extended addressable data set. This value may be negative.
8050SMF64DCS4binary
Change in number of control intervals that were split in the component. When MACRF=RLS, this field contains the total number of CI splits performed for this access-method control block.
8454SMF64DAS4binary
Change in number of control areas that were split in the component. When MACRF=RLS, this field contains the total number of CA splits performed for this access-method control block.
8858SMF64DEP4binary
Change in number of execute channel programs (EXCPs) for the data set. When MACRF=RLS, this field contains the total number of buffer manager calls performed for this access-method control block.
Data Set Characteristics Section:
925CSMF64DBS4binary
Physical block size.
9660SMF64DCI4binary
Control interval size.
10064SMF64DLS4binary
Maximum logical record size.
10468SMF64DKL2binary
Key length.
1066ASMF64DDN8EBCDIC
DD name. When the record is written for a VSAM catalog or catalog recovery area, this field may contain zeros. When the record is written for a volume switch or no space available condition, and the volume is associated with a concatenated TIOT entry, this field contains blanks.
11472SMF64STR1binary
The number of strings requested by the user. This field may or may not contain the same number as SMF64PLH. It all depends on the data set activity (VSAM will dynamically add strings when necessary).
11573SMF64BNO1binary
Actual number of buffers requested by the user. VSAM may override the number of data buffers requested by the user based on such things as the amount of buffer space specified at define time. This number may also vary based on whether the data set is using an LSR/GSR buffer pool, and whether or not separate data and index pools were established. When MACRF=RLS, this field is not applicable and it is set to 0.
11674SMF64BSP4binary
Buffer space. When MACRF=RLS, this field is ignored.
12078SMF64BFD2binary
The number of data buffers requested by the user. When MACRF=RLS, this field is ignored.
1227ASMF64BFI2binary
The number of index buffers requested by the user. When MACRF=RLS, this field is ignored.
1247CSMF64CLN44EBCDIC
Cluster name from JCL.
168A8SMF64PLH2binary
Actual number of concurrent strings (requested by the user) used. When MACRF=RLS, this field is set to 0.
170AASMF64MAC3binary
ACB MACRF fields.
170AASMF64MC11binary
First ACB MACRF flag byte Bit Meaning When Set 0 Record is identified by a key 1 Record is identified by a relative byte address (RBA) 2 Control-interval processing 3 Sequential processing 4 Direct processing 5 Input processing 6 Output processing 7 User-supplied buffer space.
171ABSMF64MC21binary
Second ACB MACRF flag byte Bit Meaning When Set 0 Defined only when output and JES format. The system is to ensure that the logical record length will be the same when the data is read. This bit is not defined for input. 1 Control character type 2 Reserved 3 Skip sequential processing 4 VTAM LOGON indicator 5 Set data set to empty state 6 Shared control blocks 7 Alternate index of the path.
172ACSMF64MC31binary
Third ACB MACRF flag byte Bit Meaning When Set 0 Reserved 1 Local shared resource 2 Global shared resource 3 Improved control-interval processing 4 Deferred write 5 Sequential insert strategy 6 Control blocks are fixed in real storage 7 VSAM 31-bit addressing mode I/O buffers.
173ADSMF64MC41binary
Fourth ACB MACRF flag byte Bit Meaning When Set 0 RLS Processing 1 SNP Option 2-7 Reserved
174AESMF64SMB1binary
SMB ACCESS BIAS Information Bit Meaning When Set 0 User specified AMP ACCBIAS through JCL (ACCBIAS=DOISOIDWISW) 1 User requested through JCL or DATACLAS that SMB is to determine ACCBIAS 2 BIAS=DO used 3 BIAS=SO used 4 BIAS=SW used 5 BIAS=DW used 6 BIAS=CO used 7 BIAS=CR used
175AFSMF64RSC1binary
SMB Information Bit Meaning When Set 0 DO with USER specified SMBVSP 1 DO with USER specified SMBHWT 2 REMODE31=BUFF used 3 RMODE31=CB used 4 Insufficient virtual storage for DO 5-7 Reserved
Hiperbatch I/O Statistics Section:
176B0SMF64SIO4binary
Number of requests for I/O issued by the access method for this data set for which Hiperbatch attempted to find the requested data in its buffers (see SMF64HIT and SMF64MIS). When MACRF=RLS, this field is not applicable and it is set to 0.
180B4SMF64HIT4binary
Number of requests for I/O issued by the access method for this data set satisfied by moving data from Hiperbatch buffers. When MACRF=RLS, this field is not applicable and it is set to 0.
184B8SMF64WTS4binary
Number of times Hiperbatch temporarily suspended this requester because another user was already reading some or all of the requested data. When MACRF=RLS, this field is not applicable and it is set to 0.
188BCSMF64MIS4binary
Number of requests for I/O issued by the access method for this data set satisfied by performing DASD I/O. Note that the sum of SMF64HIT and SMF64MIS should equal SMF64SIO. When MACRF=RLS, this field is not applicable and it is set to 0.
192C0SMF64IOS4binary
Number of DASD I/Os (as recorded in SMF64MIS) for which Hiperbatch copied the data into its buffers. Note that random reads from DASD do not populate the Hiperbatch buffers. When MACRF=RLS, this field is not applicable and it is set to 0.
Compressed Data Statistics Section:
196C4SMF64SDS8binary
Source data set size at open for compressed data set. Valid only if SMF64CMP (in SMF64DTY) is set on.
204CCSMF64CDS8binary
Compressed data set size at open. Valid only if SMF64CMP (in SMF64DTY) is set on.
212D4SMF64CSS8binary
Change in source data set size in this open for compressed data set. Valid only if SMF64CMP (in SMF64DTY) is set on.
220DCSMF64CCS8binary
Change in compressed data set size in this open. Valid only if SMF64CMP (in SMF64DTY) is set on.
228E4SMF64DTK36binary
Dictionary token for compressed data set. Valid only if SMF64CMP (in SMF64DTY) is set on.
264108SMF64TRK4binary
Number of tracks released during partial release processing.
CF Cache Structure Statistics Section:
26810CSMF64BMH4binary
Number of requests where the data was obtained from the local shared buffer pool.
272110SMF64CFH4binary
Number of requests where the data was obtained from the DFSMS coupling facility cache structure.
276114SMF64RIO4binary
Number of requests where the data was obtained from DASD.
280118SMF64TIM4binary
Time data set was opened (in hundredths of a second since midnight).
28411CSMF64DT4packed
Date data set was opened, in the form of 0cyydddF (where c is 0 for 19xx and 1 for 20xx, yy is the current year (0-99), ddd is the current day (1-356), and F is the sign).
288120SMF64FG11binary
Miscellaneous flag 1 Bit Meaning When Set 0 CHECKPOINT has been issued 1-7 Reserved.
289121--3binary
Reserved.

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

Sample Report from SMF 64 Records
Showing Statistics for VSAM Clusters/Components


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 just the type 64 VSAM statistics records. (See SMF 64 record layout.) The report shows various VSAM statistics as of OPEN time. The statistics include number of extents, number of logical records, cumulative number of records inserted and deleted, and the cumulative number of control interval and control area splits, etc.

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!

These Spectrum SMF Writer Statements:

INPUT: SMF64 

INCLUDEIF: SMF64RTY = 64

TITLE: 'VSAM COMPONENT/CLUSTER STATS FROM SMF 64 RECORDS'

COLUMNS:
     SMF64_JOBID('JOBNAME AND READER TIME')
     SMF64VSN('VOLUME')
     SMF64CUU('DEVICE' HEX)
     SMF64FCC('BEG/CCHH' HEX)
     SMF64TCC('END/CCHH' HEX)
     SMF64NEX('NUM/EXTENTS' 7)
     SMF64NLR('NUM/RECS' 9)
     SMF64NDE('NUM/DELETES' 9)
     SMF64NCS('NUM/CI/SPLITS' 5)
     SMF64NAS('NUM/CA/SPLITS' 5)
     SMF64NEP('NUM/EXCPS' 8)

SORT: SMF64_JOBID(1)   /* SORT AND BREAK ON UNIQUE JOB */

 

Produce This SMF Report:


                                VSAM COMPONENT/CLUSTER STATS FROM SMF 64 RECORDS
 
                                                                                           NUM   NUM
                                               BEG      END      NUM      NUM       NUM     CI    CA     NUM
    JOBNAME AND READER TIME    VOLUME DEVICE   CCHH     CCHH   EXTENTS   RECS     DELETES  SPLIT SPLIT  EXCPS
 _____________________________ ______ ______ ________ ________ _______ _________ _________ _____ _____ ________

 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  04EF0000 0520000E       1         2         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  0009000C 0009000E       1         1         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  04BD0000 04EE000E       1         2         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  00090009 0009000B       1         1         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  02DA0000 030B000E       1         2         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  04EF0000 0520000E       1         2         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  0009000C 0009000E       1         1         0     0     0        3
 CICSDNMS 05/23/08 19:59:40.05 SQK102  7308  00090006 00090008       1         1         0     0     0        3
 *** TOTAL FOR CICSDNMS 05/23/08 19:59:40.05 (    8 ITEMS)           8        12         0     0     0       24

 DLISET82 05/23/08 22:13:47.86 DB4D03  5D03  26C50000 26CE000E      15 1,115,761    25,946 1,273     0  303,715
 DLISET82 05/23/08 22:13:47.86 DB4DSP  5F06  00920002 00920004      12   296,178         1   162    17   64,141
 *** TOTAL FOR DLISET82 05/23/08 22:13:47.86 (    2 ITEMS)          27 1,411,939    25,947 1,435    17  367,856

 ERPTRKIL 07/24/06 11:49:50.74 SQK102  7308  04EF0000 0520000E       4   142,235         0     0     0        4
 ERPTRKIL 07/24/06 11:49:50.74 SQK102  7308  0009000C 0009000E       4       226         0     0     0      234
 ERPTRKIL 07/24/06 11:49:50.74 SQK051  640A  02190000 027C000E       1         0         0     0     0        0
 ERPTRKIL 07/24/06 11:49:50.74 SQK051  640A  00090000 00090005       1         0         0     0     0        0
 ERPTRKIL 07/24/06 11:49:50.74 SQK102  7308  04EF0000 0520000E       4   142,235         0     0     0        3
 ERPTRKIL 07/24/06 11:49:50.74 SQK102  7308  0009000C 0009000E       4       226         0     0     0        3
 ERPTRKIL 07/24/06 11:49:50.74 SQK102  7308  04EF0000 0520000E       4   142,235         0     0     0        4
 ERPTRKIL 07/24/06 11:49:50.74 SQK102  7308  0009000C 0009000E       4       226         0     0     0        8
 *** TOTAL FOR ERPTRKIL 07/24/06 11:49:50.74 (    8 ITEMS)          26   427,383         0     0     0      256

 NETSA01  05/23/08 19:57:23.62 TPRD07  2A18  00200000 0020000E       1         1         0     0     0        2
 NETSA01  05/23/08 19:57:23.62 TPRD07  2A18  00200000 0020000E       1         1         0     0     0        2
 NETSA01  05/23/08 19:57:23.62 TPRD07  2A18  0009000E 0009000E       1         1         0     0     0        3
 NETSA01  05/23/08 19:57:23.62 TPRD04  2F21  07050000 0705000E       1         1         0     0     0        2
 NETSA01  05/23/08 19:57:23.62 TPRD04  2F21  00A60008 00A60008       1         1         0     0     0        3
 NETSA01  05/23/08 19:57:23.62 TPRD04  2F21  07050000 0705000E       1         0         0     0     0        0
 NETSA01  05/23/08 19:57:23.62 TPRD04  2F21  00A60008 00A60008       1         0         0     0     0        0
 *** TOTAL FOR NETSA01  05/23/08 19:57:23.62 (    7 ITEMS)           7         5         0     0     0       12

 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  05160000 0529000E       1        22         0     0     0        5
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  05160000 0529000E       1        22         0     0     0        5
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  05160000 0529000E       1        22         0     0     0        5
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  052A0000 053D000E       1       440         0     0     0      583
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  05160000 0529000E       1       440         0     0     0      582
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  052A0000 053D000E       1         0         0     0     0        0
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  052A0000 053D000E       1        22         0     0     0        5
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  052A0000 053D000E       1        22         0     0     0        5
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  05160000 0529000E       1        22         0     0     0        5
 RMFDSP   05/23/08 19:58:58.13 TPVOL1  2A10  05160000 0529000E       1        22         0     0     0        5

 ...

See other sample SMF reports.

Copyright 2017.
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