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

This table shows the record layout for type 32 SMF records
(TSO/E User Work Accounting).

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

Purpose: Record type 32 is written at normal or abnormal termination of a TSO/E session. It is written at the expiration of a TSO/E accounting interval. For more information on using this information see “Transaction Billing” on page 1-6 and “Performing TSO/E command accounting” on page 4-7.

To use the type 32 record, you must have installed MVS TSO/E. Type 32 records are produced for TSO/E sessions only, TSO/E commands entered from batch jobs are not counted. You can monitor the TSO/E commands users issue and record the number of times a user issues a specific command or subcommand. For example, you can:

  • Keep track of and compare how frequently certain commands at your installation are used. You may want to pro`ide better performance for the more commonly used commands by placing them in LPALIB.
  • Keep track of the number of times users issue TSO/E commands so you can bill users for their computer use.
  • Audit the commands users issue to ensure they do not violate security practices at your installation.

    The record contains the names of the commands and the number of times each command was used during the session and the device connect times for each command. Only those commands included in CSECT IEEMB846 (and entered at least once) are used. Aliases of commands are counted in separate entries in the record. For instance SEND and SE are counted as separate commands. Statistics for all other commands is included in ‘***OTHER’. Incorrect or unknown commands appear under ‘EXEC’. <[>The subtype is indicated in the SMF32TYP field. For information on subtype selectivity see “Selecting subtypes” on page 4-2.

  • Subtypes 1 and 3 contain data on TSO/E activity since the start of the session or since the last interval record was produced.
  • Subtypes 2 and 4 contain data on the cumulative TSO/E activity for the entire session. If there is no activity during an interval, no interval record is produced.

    If DETAIL is specified in SMFPRMxx, the resource data found under logon represents the resources used from the start of the session to the time when the first command is obtained.

    The length of the record is variable.

It's easy to report on SMF 32 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 32 Record -- TSO/E User Work Accounting
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF32LEN2binary
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.
22SMF32SEG2binary
Segment descriptor (see record length field).
44SMF32FLG1binary
System indicator Bit Meaning When Set 0 Subsystem name follows system identification 1 Subtypes used 2 Reserved 3-6 Version indicators* 7 Reserved.*See “Standard SMF Record Header” on page 13-1 for a detailed description.
55SMF32RTY1binary
Record type 32 (X'20').
66SMF32TME4binary
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
10ASMF32DTE4packed
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.
14ESMF32SID4EBCDIC
System identification (from the SID parameter).
1812SMF32WID4EBCDIC
Subsystem identifier.
2216SMF32STP2binary
Record subtype.
2418SMF32POF4binary
Offset to product section from start of record, including the record descriptor word (RDW).
281CSMF32PLN2binary
Length of product section.
301ESMF32PON2binary
Number of product sections.
3220SMF32IOF4binary
Offset to the identification section from start of record, including the record descriptor word (RDW).
3624SMF32ILN2binary
Length of the identification section.
3826SMF32ION2binary
Number of identification sections.
4028SMF32COF4binary
Offset to the TSO/E command section from start of record, including the record descriptor word (RDW).
442CSMF32CLN2binary
Length of the TSO/E command section.
462ESMF32CON2binary
Number of TSO/E command sections.
Product Section
(Offset from beginning of record: SMF32POF)
00SMF32TYP2binary
Subtype identification for the record: 1 — TSO/E user interval record 2 — TSO/E user session end record 3 — TSO/E user interval record (with detail) 4 — TSO/E user session end record (with detail).
22SMF32RVN2EBCDIC
Record version number.
44SMF32PNM8EBCDIC
Product name.
12CSMF32OSL8EBCDIC
MVS product name.
2014SMF32SYN8EBCDIC
System name (from the SYSNAME parameter in the IEASYSxx parmlib member).
281CSMF32SYP8EBCDIC
Sysplex name (from the SYSPLEX parameter in the COUPLExx parmlib member).
Identification Section
(Offset from beginning of record: SMF32IOF)
00SMF32JBN8EBCDIC
TSO user id session name.
88SMF32PGM8EBCDIC
Program Name.
1610SMF32STM8EBCDIC
Step name.
2418SMF32UIF8EBCDIC
User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
3220SMF32JNM8EBCDIC
JES job number.
4028SMF32STN2binary
Step number.
422A--2binary
Reserved.
442CSMF32PGN2binary
Reserved.
462ESMF32JPT2binary
JES input priority at initiation.
4830SMF32AST4binary
Device allocation start time from midnight, in hundredths of seconds.
5234SMF32PPS4binary
Problem program start time from midnight, in hundredths of a second.
5638SMF32SIT4binary
Step initiation time from midnight, in hundredths of a second.
603CSMF32STD4packed
Step initiation date, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
6440SMF32RST4binary
Reader start time from midnight, in hundredths of second.
6844SMF32RSD4packed
Reader start date, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
7248SMF32RET4binary
Time from midnight, in hundredths of a second, that the reader recognized the end of the job or started task. For TSO/E, this is the logon enqueue time.
764CSMF32RED4packed
Date when the reader recognized the end of the batch job or started task, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description. For TSO/E, it is the logon enqueue date.
8050SMF32USR20EBCDIC
Programmer name.
10064SMF32GRP8EBCDIC
RACF group ID.
1086CSMF32RUD8EBCDIC
RACF user ID.
11674SMF32TID8EBCDIC
RACF terminal ID. This field is zero if RACF is not active or if user is not a terminal user.
TSO/E Command Segment (subtypes 1 and 2)
This section contains subtypes 1 and 2.
(Offset from beginning of record: SMF32COF)
00SMF32_
12_
CMD
8EBCDIC
TSO/E command name. See “Performing TSO/E command accounting” on page 4-7 for additional information.
88SMF32_
12_
CNT
4binary
Number of times the TSO/E command was entered.
TSO/E Command Segment (subtypes 3 and 4)
This section contains subtypes 3 and 4.
(Offset from beginning of record: SMF32COF)
00SMF32_
34_
CMD
8EBCDIC
TSO/E command name. See “Performing TSO/E command accounting” on page 4-7 for additional information.
88SMF32_
34_
CNT
4binary
Number of times the TSO/E command was entered.
12CSMF32TCB4binary
Total task control block (TCB) time, in hundredths of a second, for the command.
1610SMF32SRB4binary
Total service request block (SRB) time, in hundredths of a second, for the command.
2014SMF32TGT4binary
Total TGET (terminal read) count for the command.
2418SMF32TPT4binary
Total TPUT (terminal output) count for the command.
281CSMF32TRN4binary
Total transaction count for the command. Note: See the z/OS MVS Initialization and Tuning Guide for a definition of this field.
3220SMF32EXP4binary
Total execute channel program (EXCP) count for the command.
3624SMF32TCT4binary
Total device connect time (in 128 micro-second units) for this command.
4028SMF32FLG_
2
4binary
Detail section flags Bit Meaning When Set 0 Count in SMF32TRN is not valid.

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