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

This table shows the record layout for type 15 SMF records
(OUTPUT, UPDAT, INOUT, or OUTIN Data Set Activity).

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

Purpose: Record type 15 is written for non-VSAM direct access, or VIO tape data sets that are defined by DD statements or dynamic allocation and opened for OUTPUT, UPDAT, INOUT, or OUTIN processing by problem programs. It is written when a data set, as described above, is closed or processed by the end-of-volume (EOV). Its length varies, depending upon the number of volumes for the data set.

This record contains information from the TIOT, JFCB, DCB, DEB, and UCB data areas.

Note: Record type 15 is not written for data sets defined as SYSOUT data sets on DD statements. For accounting purposes, the SYSOUT logical record count is provided in record type 6.

The format for this record is the same as the format for record type 14.

It's easy to report on SMF 15 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 15 Record -- OUTPUT, UPDAT, INOUT, or OUTIN Data Set Activity
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF15LEN2binary
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.
22SMF15SEG2binary
Segment descriptor (see record length field).
44SMF15FLG1binary
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.
55SMF15RTY1binary
Record type 15 (X'0F').
66SMF15TME4binary
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
10ASMF15DTE4packed
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.
14ESMF15SID4EBCDIC
System identification (from the SID parameter).
1812SMF15JBN8EBCDIC
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).
261ASMF15RST4binary
Time since midnight, in hundredths of a second, that the reader recognized the JOB card (for this job).
301ESMF15RSD4packed
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.
3422SMF15UID8EBCDIC
User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
422ASMF15RIN2binary
Record and data set indicator
Bit Meaning When Set
0 Reserved
1 Record written by end of volume (EOV)
2 DASD 3 Temporary data set 4 DCBDSORG=DA (the data set organization being used is direct access-BDAM) 5 DCBSORG=IS and DCBMACRF not EXCP (the data set organization being used is indexed sequential and the EXCP access method is not being used) 6 JFCDSORG=IS (the data set organization being used is indexed sequential) 7 Virtual input output (VIO) data set access 8 Partitioned data set directory entries (PDSE) data set 9 The QSAM TRUNC macro has been issued against a PDSE. 10 Null segment encountered in a PDSE. 11 Extended sequential data set indicator 12 Hiperbatch section present 13 Extended information segment present 14,15 Reserved. Note: A data set is considered temporary if: -- It has a system-generated name where the first qualifier starts with SYS and the second qualifier starts with T (SYS____.T___.___). or -- It is created within a job step and exists only for the duration of that job step.
Section Sizes
This section contains the UCB information associated with this record
442CSMF15SDC1binary
Size of DCB/DEB section.
452DSMF15NUC1binary
Number of UCB sections. There is always one UCB section for each UCB currently processing except for ISAM and BPAM-concatenated data sets. For ISAM data sets, this field is calculated as: one for the index extent, one per volume for primary extents, and one for the overflow extent. For BPAM there is one UCB section for each data set in the concatenation except that any z/OS UNIX directories are omitted. For extended format data sets, there is one UCB section for each volume.
462ESMF15SUC1binary
Size of each UCB section.
472FSMF15SET1binary
Size of ISAM extension section. This field equals 28 (or 0 if there are no ISAM data sets). For PDSE data sets, this field will always contain X'0'.
4830SMF15OPE4binary
Time since midnight, in hundredths of a second, when the data set was opened
TIOT Section
This section contains a portion of the TIOT from the DD entry. The TIOT section is 16 bytes long.
5234SMF15TIOE11binary
Length, in bytes, of the DD entry (including all device entries). This field is mapped by TIOELNGH in the TIOT mapping.
5335SMF15TIOE21binary
Status indicator. This field indicates the tape label processing to be performed; whether unallocating, rewinding, or unloading tape data sets is required. This field is mapped by TIOESSTA in the TIOT mapping.
5436SMF15TIOE31binary
Number of devices requested for this data set during allocation. For PDSE data sets, this field will always contain X'1'. This field is mapped by TIOEWTCT in the TIOT mapping.
5537SMF15TIOE41binary
A data set and device indicator. This field is mapped by TIOELINK in the TIOT mapping.
5638SMF15TIOE58EBCDIC
Data definition name (DDname). This field is mapped by TIOEDDNM in the TIOT mapping.
6440SMF15TIOE63binary
Scheduler Work Area (SWA) address of the job file control block (JFCB). This field is mapped by TIOEJFCB in the TIOT mapping.
6743SMF15TIOE71binary
This field is mapped by TIOESTTC in the TIOT mapping.
JFCB Section
This section contains information concerning the job file control block.
6844SMF15JFCB1176binary
The job file control block (JFCB), excluding JFCB extensions. JFCBTSDM-Used to find uncataloged data sets. JFCBADBF-Indicates number of data buffers. JFCBLTYP-Indicates type of label. JFCBCRDT-Indicates file’s creation date. JFCBXPDT-Indicates file’s expiration date. JFCBIND1-Indicates bits flag RLSE processing, extension onto a new volume and whether the file is a member of a GDG or a PDS. JFCBIND2-Indicates DISP= settings. JFCBCTRI-Indicates type of space request. JFCBPQTY-Indicates primary space request size. JFCBSQTY-Indicates secondary space request size.
6844SMF15_
JFCBQNAM
8EBCDIC
PROCESS QUEUE NAME (QNAME=) (TCAM)
6844SMF15_
JFCBDSNM
44EBCDIC
DATA SET NAME (DSNAME=)
11270SMF15_
JFCBELNM
8EBCDIC
DSNAME= ELEMENT (MEMBER) NAME (DSNAME=x(member)). MEMBER NAME OR RELATIVE GENERATION NUMBER. TYPE OF AREA (INDEX, PRIME OR OVERFLOW) FOR AN INDEXED SEQUENTIAL DATA SET ONLY.
11270SMF15_
FCIPLTX
7EBCDIC
MODULE NAME OF NETWORK CONTROL PROGRAM (DCB=IPLTXID=) (TCAM)
11270SMF15_
JFCBLSRD
8EBCDIC
Target DDNAME for Batch LSR when JFCBLSR indicator is ON
12078SMF15_
JFCBTSDM
1binary
JOB MANAGEMENT/DATA MANAGEMENT INTERFACE
JFCCAT X'80' - DATA SET IS CATALOGED
JFCVSL X'40' - VOLUME SERIAL LIST HAS BEEN CHANGED
JFCSDS X'20' - SUBSYSTEM DATA SET - This dataset is either a SYSIN/SYSOUT dataset, or SUBSYS= was specified on the DD statement
JFCTTR X'10' - A JOB STEP IS TO BE RESTARTED. USE JFCBOTTR INSTEAD OF DS1LSTAR FIELD TO REPOSITION DATA SET IF AUTOMATIC STEP RESTART OCCURS. (THIS JOB HAD ABEND PROCESSING FOR A DATA SET OPENED FOR MOD.)
JFCNWRIT X'08' - DO NOT WRITE BACK THE JFCB DURING OPEN PROCESSING
JFCNDSCB X'04' - DO NOT MERGE DSCB OR LABEL FIELDS INTO THIS JFCB
JFCNDCB X'02' - DO NOT MERGE DCB FIELDS INTO THIS JFCB
JFCPAT X'01' - THE PATTERNING DSCB IS COMPLETE
12179SMF15_
JFCBDSCB
3EBCDIC
TTR OF THE FORMAT 1 DSCB FOR DATA SET PART ON THE FIRST VOLUME OF THE DATA SET
12482SMF15_
JFCFCBID
4EBCDIC
FORMS CONTROL BUFFER IMAGE ID (FCB=name)
- FORMS CONTROL BUFFER IMAGE ID (3211 Printer)
- OR DATA PROTECTION IMAGE ID (3525 Card punch WITH THE READ AND PRINT FEATURES)
- OR FORMAT RECORD ID
1267ESMF15_
JFCAMSTR
2binary
NUMBER OF STRINGS (AMP=('STRNO=num')) (VSAM)
12880SMF15_
JFCBADBF
2binary
NUMBER OF DATA BUFFERS AMP=('BUFND=NNN') (VSAM)
13082SMF15_
JFCNLREC
2binary
LOGICAL RECORD LENGTH - VSAM
13284SMF15_
JFCBTDSI
2BINARY
Tape Device Selection Information Set by SMS/Dataclass or Dynamic Allocation Used by SMS/OAM. The tape device selection information is used to communicate device selection information for tape library requests. The information is only valid for tape library requests, but should not be used to test whether the DD is a tape library allocation (a zero value doesn't mean it's a non-tape library request). The values assigned to JFCTRKNO, JFCMEDIA, JFCOMPTY and JFCSPECL are hex values rather than bit values.
13284SMF15_
JFCTDSI1
1BINARY
TDSI byte 1
JFCTRKNO X'F0' - Track recording technique
JFCNOREC X'00' - Recording technology unknown or not specified
JFC18TRK X'10' - 18 track recording mode - (hex value)
JFC36TRK X'20' - 36 track recording mode - (hex value)
JFC128TK X'30' - 128 track recording mode - (hex value)
JFC256TK X'40' - 256 track recording mode - (hex value)
JFC384TK X'50' - 384 track recording mode - (hex value)
JFCEFMT1 X'60' - Enterprise Format 1 - (hex value)
JFCEFMT2 X'70' - Enterprise Format 2 - (hex value)
JFCEEFM2 X'80' - Enterprise Encryption Format 2 - (hex value)
JFCEFMT3 X'90' - Enterprise Format 3 - (hex value)
JFCEEFM3 X'A0' - Enterprise Encryption Format 3 - (hex value)
JFCMEDIA X'0F' - Media type
JFCNOMED X'00' - Media type unknown or not specified
JFCBMED1 X'01' - Cartridge System Tape - (hex value)
JFCBMED2 X'02' - Enhanced Capacity Cartridge System Tape (hex value)
JFCBMED3 X'03' - 1/2 inch / 320 meter particle media
JFCBMED4 X'04' - Reserved for future media type
JFCBMED5 X'05' - Enterprise Cartridge Tape
JFCBMED6 X'06' - Enterprise WORM Cartridge Tape
JFCBMED7 X'07' - Enterprise Economy Cartridge Tape
JFCBMED8 X'08' - Enterprise Economy WORM Cartridge Tape
JFCBMED9 X'09' - Enterprise Extended Cartridge Tape
JFCBME10 X'0A' - Enterprise Extended WORM Cartridge Tape
13385SMF15_
JFCTDSI2
1binary
TDSI byte 2
JFCOMPTY X'F0' - Compaction type. Does not necessarily mean TRTCH=COMP was specified.
JFCCMPNS X'00' - Compaction type unknown or not specified
JFCNOCMP X'10' - Compaction not used - (hex value)
JFCBIDRC X'20' - Compaction type=IDRC - (hex value)
JFCBCMPY X'20' - Compaction = YES - (hex value)
JFCSPECL X'0F' - Special attributes
JFCNOSPC X'00' - Volume has no special attributes
JFCRDCOM X'01' - Read compatibility attribute. When set, it indicates that the volumes will be used for input only and read compatible devices can be added to the device eligibility - (hex value)
13486SMF15_
JFCBLTYP
1binary
LABEL TYPE (LABEL=)
JFCDSEQN X'80' - DATASET SEQUENCE NUMBER Specified (LABEL=(ds-seq#,label))
JFCBAL X'40' - AL - ISO/ANSI (ver 1) ISO/ANSI/FIPS (ver 3)
X'48' - AUL - User labels ans AL type labels
JFCBLTM X'20' - LTM - LEADING TAPE MARK
* NOTE: OPEN/CLOSE/EOV AND RESTART must space over a tape mark if one exists.
JFCBLP X'10' - BLP - BYPASS LABEL PROCESSING
JFCSUL X'0A' - SUL - STANDARD and USER LABELs
JFCNSL X'04' - NSL - NONSTANDARD LABEL
JFCSL X'02' - SL - STANDARD LABEL (default)
JFCNL X'01' - NL - NO LABEL
13688SMF15_
JFCBFLSQ
2binary
LABEL= FILE (DATA SET) SEQUENCE NUMBER (LABEL=(ds-seq#,,))
1388ASMF15_
JFCBVLSQ
2binary
VOLUME= VOLUME SEQUENCE NUMBER (VOL=(,,vol-seq#,,))
14894SMF15_
JFCBCRDT
3hex
DATA SET CREATION DATE in the format: 'YYDDDD' in which the year is an offset from 1900, i.e. 1989 is 1900 + 89. The 89 in hex is 59, in this case January 8, 1989 would be 590008. This date is the date of the Allocation of the data set and is not valid until the Allocation is processing.
15197SMF15_
JFCBXPDT
3hex
DATA SET EXPIRATION DATE (LABEL=EXPDT=) Stored in the same format as the Creation Date This field may alternately contain the date that is calculated by adding the Retention Period (LABEL=RETPD=) to the Creation Date (JFCBCRDT). NOTE: JFCBXPDT is not valid until the data set is actually allocated.
1549ASMF15_
JFCBIND1
1binary
INDICATOR BYTE 1
JFCRLSE X'C0' - RELEASE EXTERNAL STORAGE (SPACE=(,(,),RLSE))
JFCLOC X'30' - DATA SET HAS BEEN LOCATED
JFCADDED X'0C' - NEW VOLUME HAS BEEN ADDED TO THE DATA SET
JFCGDG X'02' - DATA SET IS A MEMBER OF A GENERATION DATA GROUP
JFCPDS X'01' - DATA SET IS A MEMBER OF A PARTITIONED DATA SET
1559BSMF15_
JFCBIND2
1binary
INDICATOR BYTE 2
JFCDISP X'C0' - BIT PATTERN FOR NEW, MOD, OLD
JFCNEW X'C0' - NEW DATA SET (DISP=NEW)
JFCMOD X'80' - MOD DATA SET (DISP=MOD)
JFCOLD X'40' - OLD DATA SET (DISP=OLD)
JFCBRWPW X'30' - PASSWORD IS REQUIRED TO WRITE BUT NOT TO READ (DATA SET SECURITY) (LABEL=(,,NOPWREAD))
JFCSECUR X'10' - PASSWORD IS REQUIRED TO READ OR TO WRITE (DATA SET SECURITY) (LABEL=(,,PASSWORD))
JFCSHARE X'08' - SHARED DATA SET
JFCENT X'04' - DELETE THIS JFCB BEFORE ALLOCATION FOR A RESTARTED GENERATION DATA GROUP
JFCREQ X'02' - STORAGE VOLUME REQUESTED
JFCTEMP X'01' - DATA SET WILL BE DELETED WHEN JOB COMPLETES WITH A NORMAL CONDITION CODE
1569CSMF15_
JFCBUFNO
1binary
NUMBER OF BUFFERS REQUIRED FOR THIS DATA SET (DCB=BUFNO=)
1569CSMF15_
JFCBUFIN
1hex
INPUT Buffers (DCB=BUFIN=) BITS 0-3 CONTAIN THE NUMBER OF BUFFERS ASSIGNED INITIALLY FOR RECEIVING OPERATIONS FOR EACH LINE IN A LINE GROUP (TCAM)
1569CSMF15_
JFCBFOUT
1hex
OUTPUT Buffers (DCB=BUFOUT=) BITS 4-7 CONTAIN THE NUMBER OF BUFFERS ASSIGNED INITIALLY FOR SENDING OPERATIONS FOR EACH LINE IN A LINE GROUP (TCAM)
1589ESMF15_
JFCBUFL
2binary
BUFFER LENGTH (DCB=BUFL=)
160A0SMF15_
JFCEROPT
1binary
ERROR OPTION (DCB=EROPT=) DISPOSITION OF PERMANENT ERRORS IF USER RETURNS FROM A SYNCHRONOUS ERROR EXIT. (QSAM)
JFCACC X'80' - ACC - ACCEPT
JFCSKP X'40' - SKP - SKIP
JFCABN X'20' - ABE - ABNORMAL END OF TASK
JFCTOPT X'10' - T - ON-LINE TERMINAL TEST (BTAM)
161A1SMF15_
JFCTRTCH
1hex
TAPE RECORDING TECHNIQUE (DCB=TRTCH=)
JFCEVEN X'23' - E - EVEN PARITY (7-track)
JFCTRAN X'3B' - T - EOD/EBCDIC TRANSLATION (7-track)
JFCCONV X'13' - C - DATA CONVERSION (7-track)
JFCTREV X'2B' - ET - EVEN PARITY AND TRANSLATION (7-track)
JFCCOMP X'08' - COMP - ENHANCED 3480 DATA RECORDING
JFCNCOMP X'04' - NOCOMP - ENHANCED 3480 DATA RECORDING
JFC1TRAK X'42' - TBD - RESERVED FUTURE DEVELOPMENT
JFC2TRAK X'82' - TBD - RESERVED FUTURE DEVELOPMENT
JFC4TRAK X'C2' - TBD - RESERVED FUTURE DEVELOPMENT
161A1SMF15_
JFCKEYLE
1hex
DIRECT ACCESS KEY LENGTH (DCB=KEYLEN=) 08210000
161A1SMF15_
JFCMODE
1hex
MODE OF OPERATION (CARD READER, CARD PUNCH) (DCB=MODE=)
JFCBIN X'80' - C - Card Image (COLUMN BINARY MODE)
JFCEBCD X'40' - E - EBCDIC MODE
JFCMODEO X'20' - O - OPTICAL MARK READ MODE (3505 ONLY)
JFCMODER X'10' - R - READ COLUMN ELIMINATE MODE (3505 AND 3525 WITH READ FEATURE)
161A1SMF15_
JFCSTACK
1hex
STACKER SELECTION (CARD READER, CARD PUNCH) (DCB=STACK=)
JFCTWO X'02' - 2 - STACKER TWO
JFCONE X'01' - 1 - STACKER ONE
161A1SMF15_
JFCPRTSP
1hex
NORMAL PRINTER SPACING (DCB=PRTSP=)
JFCSPTHR X'19' - 3 - SPACE THREE LINES
JFCSPTWO X'11' - 2 - SPACE TWO LINES
JFCSPONE X'09' - 1 - SPACE ONE LINE
JFCSPNO X'01' - 0 - NO SPACING
162A2SMF15_
JFCDEN
1hex
TAPE DENSITY - 2400/3400 SERIES MAGNETIC TAPE UNITS (DCB=DEN=)
JFC200 X'03' - 0 - 200 BPI (7-track)
JFC556 X'43' - 1 - 556 BPI (7-track)
JFC800 X'83' - 2 - 800 BPI (7-track and 9-track)
JFC1600 X'C3' - 3 - 1600 BPI (9-track)
JFC6250 X'D3' - 4 - 6250 BPI (9-track)
163A3SMF15_
JFCBABFS
3binary
TOTAL BUFFER SIZE FOR ALL VSAM BUFFERS (AMP=('BUFSP=num')) (VSAM)
166A6SMF15_
JFCDSORG
2binary
DATA SET ORGANIZATION
166A6SMF15_
JFCDSRG1
1binary
BYTE 1 OF JFCDSORG (DCB=DSORG=)
JFCORGIS X'80' - IS - INDEXED SEQUENTIAL
* X'81' - ISU - INDEXED SEQUENTIAL Unmovable
JFCORGPS X'40' - PS - PHYSICAL SEQUENTIAL
* X'41' - PSU - PHYSICAL SEQUENTIAL Unmovable
JFCORGDA X'20' - DA - DIRECT ACCESS
* X'21' - DAU - DIRECT ACCESS Unmovable
JFCORGCX X'10' - CX - COMM. LINE GROUP (BTAM,QTAM)
JFCORGPO X'02' - PO - PARTITIONED
* X'03' - POU - PARTITIONED Unmovable
JFCORGU X'01' - ..U - UNMOVABLE - THE DATA CONTAINS LOCATION DEPENDENT INFORMATION (used in conjunction with other settings)
167A7SMF15_
JFCDSRG2
1binary
BYTE 2 OF JFCDSORG (DCB=DSORG=)
168A8SMF15_
JFCRECFM
1binary
RECORD FORMAT (DCB=RECFM=) (AMP=('RECFM='))
JFCRCFM X'E0' - - RECORD FORMAT (USASI/USASCII)
JFCFMREC X'C0' - - HIGH-ORDER TWO BITS OF JFCRECFM TO BE TESTED FOR RECORD FORMAT
JFCUND X'C0' - U - UNDEFINED
JFCFIX X'80' - F - FIXED
JFCVAR X'40' - V - VARIABLE
JFCVARD X'20' - D - VARIABLE (FORMAT D FOR USASI/USASCII)
JFCRFO X'20' - T - TRACK OVERFLOW
JFCRFB X'10' - B - BLOCKED - MAY NOT OCCUR WITH UNDEFINED
JFCRFS X'08' - S - FOR FIXED LENGTH RECORD FORMAT, STANDARD BLOCKS. NO TRUNCATED BLOCKS OR UNFILLED TRACKS ARE EMBEDDED IN THE DATA SET. FOR VARIABLE LENGTH RECORD FORMAT, SPANNED RECORDS.
JFCCHAR X'06' - - CONTROL CHARACTER
JFCASA X'04' - A - AMERICAN NATIONAL STANDARD (ASA) CONTROL CHARACTER (IOS/ANSI)
JFCMAC X'02' - M - MACHINE CODE CONTROL CHARACTER
JFCNOCC X'00' - - NO CONTROL CHARACTER
169A9SMF15_
JFCOPTCD
1binary
OPTION CODES (DCB=OPTCD=)
170AASMF15_
JFCBLKSI
2binary
MAXIMUM BLOCK SIZE (DCB=BLKSIZE=)
170AASMF15_
JFCBUFSI
2binary
MAXIMUM BUFFER SIZE (DCB=BUFSIZE=)
170AASMF15_
JFCBAXBF
2binary
NUMBER OF INDEX BUFFERS (AMP=('BUFNI=num')) (VSAM)
172ACSMF15_
JFCLRECL
2binary
LOGICAL RECORD LENGTH (DCB=LRECL=)
174AESMF15_
JFCBUFMX
4binary
MAXIMUM NUMBER OF BUFFERS (DCB=BUFMAX=). THE MAXIMUM NUMBER OF BUFFERS TO BE USED FOR DATA TRANSFER FOR EACH LINE IN THIS LINE GROUP (TCAM)
185B9SMF15_
JFCBNVOL
1binary
NUMBER OF VOLUME SERIAL NUMBERS
186BASMF15_
JFCBVOLS
30EBCDIC
THE FIRST FIVE VOLUME SERIAL NUMBERS
186BASMF15_
JFCBVOLS_
1
6EBCDIC
VOLUME SERIAL NUMBER - 1
192C0SMF15_
JFCBVOLS_
2
6EBCDIC
VOLUME SERIAL NUMBER - 2
198C6SMF15_
JFCBVOLS_
3
6EBCDIC
VOLUME SERIAL NUMBER - 3
204CCSMF15_
JFCBVOLS_
4
6EBCDIC
VOLUME SERIAL NUMBER - 4
210D2SMF15_
JFCBVOLS_
5
6EBCDIC
VOLUME SERIAL NUMBER - 5
220DCSMF15_
JFCBPQTY
3binary
SPACE= Primary quantity (SPACE=(,(prim-qty))) PRIMARY QUANTITY OF DIRECT ACCESS STORAGE REQUIRED
220DCSMF15_
JFCRUNIT
3EBCDIC
UNIT TYPE (EBCDIC) OF A DEVICE AT A REMOTE TERMINAL. THE FIRST TWO CHARACTERS ARE RD (READER), PR (PRINTER) OR PU (PUNCH). THE THIRD CHARACTER IS A NUMBER FROM 1 TO 9
223DFSMF15_
JFCBCTRI
1binary
SPACE PARAMETERS (SPACE=)
JFCBSPAC X'C0' - BIT PATTERN FOR SPACE REQUESTS
JFCBCYL X'C0' - CYL REQUEST (SPACE=(CYL,(...)))
JFCBTRK X'80' - TRK REQUEST (SPACE=(TRK,(...)))
JFCBAVR X'40' - AVRAGE BLOCK LENGTH (blklgth) REQUEST (SPACE=(blklgth,(x,x)))
JFCBLKSZ X'10' - ON indicates that the JFCBLKSI has been set to zero via external interface. Set to OFF by DFP Open once zero value is propagated. Set ON by: External interface Checked by: DFP Open Set OFF by: DFP Open
JFCONTIG X'08' - CONTIG REQUEST (SPACE=(x,(x,x,),,CONTIG))
JFCMIXG X'04' - MXIG REQUEST (SPACE=(x,(x,x,),,MXIG))
JFCALX X'02' - ALX REQUEST (SPACE=(x,(x,x,),,ALX))
JFCROUND X'01' - ROUND REQUEST (SPACE=(x,(x,x,),,,ROUND))
JFCBABS X'00' - ABSTR REQUEST (SPACE=(ABSTR,(...)))
224EOSMF15_
JFCBSQTY
3binary
SPACE= Secondary quantity (SPACE=(,(,sec-qty))) SECONDARY QUANTITY OF DIRECT ACCESS STORAGE REQUIRED
228E4SMF15_
JFCBDQTY
3binary
SPACE= Directory quantity (SPACE=(,(,,dir-qty))) QUANTITY OF DIRECT ACCESS STORAGE REQUIRED FOR A DIRECTORY OR AN EMBEDDED INDEX AREA
242F2SMF15_
JFCBVLCT
1binary
VOLUME COUNT (volct) (VOL=(,,,volct)
DCB/DEB Section (tape and DASD)
This section contain portions of the DCB and DEB.
244F4SMF15DCBOR2binary
Data set organization being used. This field is mapped by DCBDSORG in the DCB mapping.
246F6SMF15DCBRF1binary
Record format. This field is mapped by DCBRECFM in the DCB mapping.
247F7SMF15DCBMF2binary
Type of I/O macro instruction and options. This field is mapped by DCBMACRF in the DCB mapping.
249F9SMF15DCBFL1binary
Indicator used by the OPEN, CLOSE, EOV routines such as the type of the last I/O operation. This field is mapped by DCBOFLGS in the DCB mapping.
250FASMF15DCBOP1binary
Option codes used by access-method interfaces. This field is mapped by DCBOPTCD in the DCB mapping.
251FBSMF15RV21binary
Reserved.
252FCSMF15DEBFL1binary
Data set and device status indicator. This field indicates whether a data set is modified, new or old, and shows the status of DASD. This field is mapped by DEBOFLGS in the DEB mapping.
253FDSMF15DEBOP1binary
Indicator showing both the method of I/O processing and the disposition that is to be performed when an end-of-volume (EOV) condition occurs. This field is mapped by DEBOPATB in the DEB mapping.
254FESMF15DEBVL2binary
Volume sequence number. For direct access, the sequence number is relative to the first volume of the data set. For tape, the sequence number is relative to the first volume processed. This field is valid only for sequential data sets. This field is mapped by DEBVOLSQ in the DEB mapping.
The following 16 bytes apply to the DCB/DEB Tape extension.
256100SMF15DCBBL4binary
Block count for each volume. For PDSE data sets, this field will always contain X'0'. This field is mapped by DCBBLKCT in the DCB mapping.
260104SMF15DSSNO6EBCDIC
Data set serial number. For PDSE data sets, this field will always contain X'0'. This field is mapped by UCBFSER in the UCB mapping.
26610aSMF15RV32--
Reserved.
26810cSMF15OPD_
TAPE
4packed
Date when the data set was opened, in the form 0cyyddF.
The following 16 bytes apply to the DCB/DEB DASD extension.
256100SMF15NTU4binary
Relative track and concatenation number (TTRN) of the last record processed for a physical sequential or partitioned data set. N is always zero except for BPAM-concatenated data sets. If the last operation was a read (DCBOFLGS bit 0 is off) the TTR is: (1) zero, (2) the start of a BPAM member if there are two or more IOBs, or (3) the last write of data set if there is one IOB. For PDSE data sets, this field will always contain X'0'. For extended sequential data sets, this field will accumulate the number of tracks used across all the volumes (TTTT).
260104SMF15NTR4binary
Number of tracks released by the DADSM routine. For PDSE data sets, this field will always contain X'0'.
264108SMF15NER1binary
Number of extents released by the DADSM routine. For PDSE data sets, this field will always contain X'0'.
265109SMF15EDI1binary
Enhanced Data Integrity (EDI) flag indicator. Bit Meaning when set 0 Data set name found in EDI exclusion table. 1 Data set being opened for output but is currently open for output. 2 Data set being opened for input but is currently open for output and the data set is not excluded from EDI processing.. 3 Application requested EDI processing be bypassed and the data set is not excluded from EDI processing.. 4–7 Reserved.
26610ASMF15RV42Reserved.
26810CSMF15OPD_
DASD
4packed
Date when the data set was opened, in the form 0cyyddF.
UCB Section
This section contains a portion of the UCB (see fields SMF15NUC and SMF15SUC).
00SMF15UCBDV2binary
Device number. If this field contains X’7FFF’, this could be a virtual I/O (VIO) data set. If bit 7 of field SMF15RIN is set to one, this is a VIO data set. 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.
22SMF15FSRTEV6EBCDIC
Volume serial number.
88SMF15UCBTY4binary
Unit type. This field is mapped by UCBTYP in the UCB mapping.
12CSMF15SRTES1binary
DASD volume status indicator. This field indicates whether this DASD volume is a private, public, storage, or control volume. For PDSE data sets, this field will always contain X'0'. This field is mapped by UCBSTAB in the UCB mapping.
13DSMF15NEX1binary
Number of extents.
14ESMF15RV52Reserved.
1610SMF15EXCP4binary
EXCP count for entire step. Note that if a data set is opened and closed twice during a single step, the count in the second type 14 record is the sum of all EXCPs for both uses of the data set. (The EXCP count in the last type 14 record for the step is equal to the corresponding entry for the data set in record type 4). For more information about EXCP count, see Chapter 10, “EXCP Count,” on page 10-1. For PDSE data sets, the number of pages that were read or written. For compressed data sets the number of physical blocks (see SMF15CIS for physical block size) that were read or written.
UCB Section tape extension
For each UCB tape extension, there is this four-byte entry.
2014SMF15SRTEF2binary
Data set sequence count.
2216SMF15SRTEQ2binary
Data set sequence number.
UCB Section DASD extension
The following four bytes apply to the UCB section if DASD (see SMFUCBTY).
2014SMF15NTA4binary
Number of tracks allocated on the device. For PDSE data sets, this field will always contain X’0’. ' . '
Hiperbatch Section
This section describes the DASD information acquired from Hiperbatch. These fields are only valid for data sets accessed using Hiperbatch (see SMF15RIN).
(Offset from beginning of record: 244 + SMF15SDC + (SMF15NUC * SMF15SUC))
00SMF15IOREQ4binary
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 SMF15CHITS and SMF15PHIOS).
44SMF15CHITS4binary
Number of requests for I/O issued by the access method for this data set satisfied by moving data from Hiperbatch buffers.
88SMF15NMWTS4binary
Number of times Hiperbatch temporarily suspended this requester because another user was already reading some or all of the requested data.
12CSMF15PHIOS4binary
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 SMF15PHIOS and SMF15CHITS should equal SMFIOREQ.
1610SMF15CIOS4binary
Number of DASD I/Os (as recorded in SMF15PHIOS) for which Hiperbatch copied the data into its buffers.
ISAM Extension Section
DCBBSORG=IS and DCBMACRF not EXCP. For PDSE data sets, this section will contain all zeroes.
(Offset from beginning of record: 244 + SMF15SDC + (SMF15NUC * SMF15SUC) + SMF15_HIPER_SIZE)
00SMF15RV62--
Reserved.
22SMF15DCBMA1binary
Extension of I/O macro instruction (DCBMACRF) for ISAM. This field is mapped by DCBMACCT in the DCB mapping.
33SMF15DCBNL1binary
Number of index levels. This field is mapped by DCBNLVET in the DCB mapping.
44SMF15DCBR34binary
For each use of the data set, number of read or write accesses to an overflow record which is not first in a chain of such records. This field is mapped by DCBRORG3 in the DCB mapping.
88SMF15DCBNR4binary
Number of logical records in prime data area. This field is mapped by DCBNRECT in the DCB mapping.
12CSMF15DCBR22binary
Number of tracks (whole or partial remaining in overflow area). This field is mapped by DCBRORG2 in the DCB mapping.
14ESMF15DCBNO2binary
Number of logical records in overflow area. This field is mapped by DCBNOREC in the DCB mapping.
1610SMF15DCBR12binary
Number of cylinder overflow areas that are full. This field is mapped by DCBRORG1 in the DCB mapping.
1812SMF15RV71Reserved.
1913SMF15DEBNI1binary
Number of extents in independent index area. This field is mapped by DEBNIEEQ in the DEB mapping.
2014SMF15DEBNP1binary
Number of extents in prime data area. This field is mapped by DEBNPEEQ in the DEB mapping.
2115SMF15DEBNO1binary
Number of extents in independent overflow area. This field is mapped by DEBNOEEQ in the DEB mapping.
2216SMF15NCYLS2binary
Number of cylinders in independent index area.
2418SMF15NPCYL2binary
Number of cylinders in prime data area.
261ASMF15NOCYL2binary
Number of cylinders in independent overflow area. ' . // EXTENDED SEGMENT DSECT '
Extended Information Segment
This segment contains a 2 byte segment length, which is the length of all sections that are contained in it. Each section contains its section length, a section type code, and variable information depending upon the section type.
(Offset from beginning of record: 244 + SMF15SDC + (SMF15NUC * SMF15SUC) + SMF15_HIPER_SIZE + SMF15SET)
00SMF15SXS2binary
Size of extended information segment (size of all sections including this length field).
22SMF15ESL2binary
Size of this extended information section (size of variable length fields including this 4 byte section descriptor word).
44--1binary
Reserved.
55SMF15STY1binary
Section type code. Type Meaning When Set
1 Compressed format data set section
2 SMS class information section
3 Step Information section 4 ISO/ANSI Version
4 CCSID (coded character set ID) information section
5 Additional data set characteristics section.
Compressed Format Data Set Section (Type 1)
This describes the information acquired for extended format data sets.
00SMF15_
CMPFMT_
ESL
2binary
Size of this extended information section (size of variable length fields including this 4 byte section descriptor word).
22--1binary
Reserved.
33SMF15_
CMPFMT_
STY
1binary
Section type code. Type Meaning When Set 1 Compressed format data set section 2 SMS class information section 3 Step Information section 4 ISO/ANSI Version 4 CCSID (coded character set ID) information section 5 Additional data set characteristics section
44SMF15XF11binary
Indicators: Bit Meaning When Set 0 Compressed format data set size values (SMF15CDS and SMF15UDS) are invalid. 1 Compression of the data set has been rejected. 2-7 Reserved.
55SMF15XF21binary
Indicators: Bit Meaning When Set 0-7 Reserved.
66SMF15CDL8binary
Number of bytes of compressed data read or written since this open.
14ESMF15UDL8binary
Number of bytes of data read or written since this open (data length prior to compression).
2216SMF15CDS8binary
Size of the compressed format data set (number of compressed user data bytes).
301ESMF15UDS8binary
Size of the compressed format data set (number of uncompressed user data bytes).
3826SMF15CIS4binary
Physical block size of extended format data set.
422ASMF15TKL2binary
Length of dictionary token, SMF15TKN field (not including the length of this field). Currently equals 36.
442CSMF15TKN36binary
Dictionary token for compressed format data set.
SMS Class Section (Type 2)
This describes the management, data and storage classes for SMS managed data sets.
00SMF15_
SMSCLS_
ESL
2binary
Size of this extended information section (size of variable length fields including this 4 byte section descriptor word).
22--1binary
Reserved.
33SMF15_
SMSCLS_
STY
1binary
Section type code. Type Meaning When Set 1 Compressed format data set section 2 SMS class information section 3 Step Information section 4 ISO/ANSI Version 4 CCSID (coded character set ID) information section 5 Additional data set characteristics section
44SMF15MCN8EBCDIC
SMS Management class name.
12CSMF15DCN8EBCDIC
SMS Data class name.
2014SMF15SCN8EBCDIC
SMS Storage class name (first 8 characters).
Step Information Section (Type 3)
This describes the step name and the active program name for the data set.
00SMF15_
STEP_
ESL
2binary
Size of this extended information section (size of variable length fields including this 4 byte section descriptor word).
22--1binary
Reserved.
33SMF15_
STEP_
STY
1binary
Section type code. Type Meaning When Set 1 Compressed format data set section 2 SMS class information section 3 Step Information section 4 ISO/ANSI Version 4 CCSID (coded character set ID) information section 5 Additional data set characteristics section
44SMF15SPN8EBCDIC
Job step name.
12CSMF15PGN8EBCDIC
Job step program name.
ISO/ANSI Version 4 CCSID Information Section (Type 4)
This describes the CCSID information specified for an ISO/ANSI Version 4 tape data set.
00SMF15_
CCSID_
ESL
2binary
Size of this extended information section (size of variable length fields including this 4 byte section descriptor word).
22--1binary
Reserved.
33SMF15_
CCSID_
STY
1binary
Section type code. Type Meaning When Set 1 Compressed format data set section 2 SMS class information section 3 Step Information section 4 ISO/ANSI Version 4 CCSID (coded character set ID) information section 5 Additional data set characteristics section
44SMF15CFG1binary
Indicators: Bit Meaning When Set 0 IBM format Version 4 tape 1 Opened for OUTPUT not DISP=MOD (Note 1) 2 Opened for OUTPUT DISP=MOD (Note 1) 3 User CCSID value is defaulted to CCSID=500 4 Tape CCSID value is defaulted to CCSID=367 5 CCSID value specified on DD statement was ignored 6-7 Reserved.
55SMF15USR4binary
CCSID user application expects data records to be in (specified on JOB/EXEC statement or defaulted). (Note 2)
99SMF15TPE4binary
CCSID of data records on tape (specified on DD statement or in tape label). (Note 2)
13DSMF15LBL4binary
CCSID specified in the tape label of an existing tape when opened for input processing.
Additional Data Set Characteristics Section (Type 5)
This section contains information about the additional data set characteristics optionally provided for tape data sets.
00SMF15_
ADDTLDS_
ESL
2binary
Size of this extended information section (size of variable length fields including this 4 byte section descriptor word).
22--1binary
Reserved.
33SMF15_
ADDTLDS_
STY
1binary
Section type code. Type Meaning When Set 1 Compressed format data set section 2 SMS class information section 3 Step Information section 4 ISO/ANSI Version 4 CCSID (coded character set ID) information section 5 Additional data set characteristics section
44SMF15BFG2binary
Indicators: Bit Meaning When Set 0 Block size value present 1-15 Reserved.
66SMF15LBS8binary
Block size value.
14E--12binary
Reserved.

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

Example -- Sample Report from SMF 15 and 17 Records
showing 'Opens for Update' and 'Deletes' for Selected DSNAME


The sample SMF report below was created with Spectrum SMF Writer, the low-cost 4GL SMF report writer. This is a simple example of producing a report from multiple SMF record types. It reads as input the SMF file and selects both the type 15 (DD opened for output or update) and type 17 (dataset deleted) SMF records. (See SMF 15 or SMF 17 record layout.)

This report selects only records with a specific text ("SPFTEMP") somewhere withing the DSNAME. (And note that the DSNAME field is not in the same location in type 15 and type 17 SMF records.)

It then prints a report line for each type 15 or 17 record that refers to "SPFTEMP" dataset. Each report line shows data from either the SMF 15 record or the SMF 17 record. The report is then sorted and grouped by job. (However, in this example only 1 job happened to pass the selection criteria.)

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: SMF15     /* GET TYPE 15 DEFINITIONS */
COPY:  SMF17REC  /* GET TYPE 17 DEFINITIONS, TOO */
*
***************************************************************
* MOVE DATA FROM DIFF LOCATIONS TO WORK FIELDS                *
***************************************************************
COMPUTE: JOBID   = WHEN(SMF15RTY=15) ASSIGN(SMF15-JOBID)
                   ELSE              ASSIGN(SMF17-JOBID)
*
COMPUTE: LOGTIME = WHEN(SMF15RTY=15) ASSIGN(SMF15TME)
                   ELSE              ASSIGN(SMF17TME)
*
COMPUTE: DSN     = WHEN(SMF15RTY=15) ASSIGN(SMF15-JFCBDSNM)
                   ELSE              ASSIGN(SMF17DSN)
*
COMPUTE: MGMT    = WHEN(SMF15RTY=15) ASSIGN(SMF15MCN)
                   ELSE              ASSIGN(' ')
*
COMPUTE: DISP    = WHEN(SMF15RTY=15) ASSIGN(SMF15-DISP)
                   ELSE              ASSIGN('DELETE')
*
***************************************************************
* SELECT TYPE 15 AND TYPE 17 RECS FOR SELECTED DSNS           *
***************************************************************
INCLUDEIF: (SMF15RTY = 15 OR 17)  /* SELECT BOTH 15 AND 17*/
           AND DSN : 'SPFTEMP'    /* ":" MEANS SCAN FOR TEXT */
*
***************************************************************
* OUTPUT REPORT LINES FROM OUR COMPUTED VALUES.               *
***************************************************************
COLUMNS: JOBID('JOB NAME AND READER TIME')
         LOGTIME
         SMF15RTY(4 'SMF|TYPE' NOACC)
         DSN(30 'DATASET NAME')
         MGMT('MANAGEMENT|CLASS')
         DISP
*
SORT:  JOBID SMF15DTE SMF15TME /* SORT ON JOB, THEN DATE & TIME */
BREAK: JOBID SPACE(1) NOTOTALS /* PRT 1 BLANK LINE WHEN JOB CHGS */
*
TITLE: #DATE / 'SMF OPENS FOR UPDATE, AND DELETES' / 'PAGE' #PAGENUM
TITLE:       / 'ON DATASETS CONTAINING "SPFTEMP"' /

 

Produce This SMF Report:

 
03/19/09                       SMF OPENS FOR UPDATE, AND DELETES                      PAGE    1
                                ON DATASETS CONTAINING "SPFTEMP"
                                           SMF                                 MANAGEMENT
   JOB NAME AND READER TIME      LOGTIME   TYPE          DATASET NAME            CLASS     DISP
 _____________________________ ___________ ____ ______________________________ __________ ______

 W0TTRP1  08/02/07 10:55:36.66 12:23:48.47   15 W0TTRP1.SPFTEMP2.CNTL           TSO       OLD
 W0TTRP1  08/02/07 10:55:36.66 12:23:57.47   15 W0TTRP1.SPFTEMP1.CNTL           TSO       OLD
 W0TTRP1  08/02/07 10:55:36.66 12:23:57.65   17 W0TTRP1.SPFTEMP1.CNTL                     DELETE


 ****** GRAND TOTAL (     3 ITEMS)          

See other sample SMF reports.

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