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

This table shows the record layout for type 40 SMF records
(Dynamic DD).

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

Purpose: Record type 40 is written when an unallocation, concatenation, or deconcatenation request is processed. For an unallocation request, this record contains a device entry only for the data set unallocated. For a concatenation or deconcatenation request, this record contains a device entry for each DD entry.

Record type 40 contains the job log identification, user identification, step number, functional indicator, and device entries. Each device entry consists of the device class, unit type, device number, and execute channel program (EXCP) count for the data set.

Note: IBM recommends that you use record type 30 rather than record types 4, 5, 20, 34, 35, and 40.

It's easy to report on SMF 40 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 40 Record -- Dynamic DD
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF40_
TDDRLEN
2binary
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.
22SMF40_
TDDRSEG
2binary
Segment descriptor (see record length field).
44SMF40_
TDDRFLG
1binary
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.
55SMF40_
TDDRCDTY
1binary
Record type 40 (X'28').
66SMF40_
TDDRCDTS
4binary
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
10ASMF40_
TDDRCDTE
4packed
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.
14ESMF40_
TDDCPUID
4EBCDIC
System identification (from the SID parameter).
1812SMF40_
TDDUIF
8EBCDIC
Job name.
261ASMF40_
TDDONTME
4binary
Logon time, in hundredths of a second. (If a background job, this field contains the time the reader recognized the JOB card.)
301ESMF40_
TDDONDTE
4packed
Logon date, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description. (If a background job, this field contains the date the reader recognized the JOB card.)
3422SMF40_
TDDUDATA
8EBCDIC
User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
4229SMF40_
TDDINVSQ
1binary
Step number (first step = 1, etc).
432BSMF40_
TDDFLG
1binary
Functional indicator Value Meaning 2 Unallocation 3 Concatenation 4 Deconcatenation.
442CSMF40_
TDDRIN
2binary
Record indicator Bit Meaning When Set 0-6 Reserved 7 EXCP count may be wrong 8-15 Reserved.
462ESMF40_
TDDRCIND
2binary
Index of record in sequence of records. Note: In releases prior to 4.2.2, this field is zero.
4830SMF40_
TDDRCTOT
2binary
Total number of records in sequence of records. Note: In releases prior to 4.2.2, this field is zero.
5032SMF40_
TDDRVA
14--
Reserved.
6440SMF40_
TDDVAR
2binary
Length of device entry portion of this record. Calculated as: (8 times the number of devices) + 2.
Execute Channel Program (EXCP) Section
For each device, there is an eight-byte entry with
the following format
(Offset from beginning of record: 66)
00SMF40_
TDDEXCP
8Structure
Data set access information. Note: Virtual I/O devices are identified by the following: Device Class 0 Unit Type 0 Device Number X'7FFF'It is important to understand the following: Allocation messages for VIO data sets will show VIO ALLOCATED TO ddname. SMF records will show VIO unit addresses as X'7FFF'. The actual in-storage UCB built for VIO will show address X'3FFF'.For example, the messages:
  • IEF237I X'3FFF' ALLOCATED TO ddname
  • IEF237I X'7FFF' ALLOCATED TO ddname
indicate that ddname is not allocated to a Virtual I/O device, but is instead allocated to a real device whose unit address is X'3FFF' or X'7FFF' respectively.
00SMF40_
TDDDEVC
1binary
Device class.
11SMF40_
TDDUTYP
1binary
Unit type.
22SMF40_
TDDCUAD
2binary
Device number.
44SMF40_
TDDNEXCP
4binary
EXCP count (see offset 44).

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