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

This table shows the record layout for type 6 SMF records
(JES3 Output Writer).

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

Purpose: The JES3 output writer writes record type 6 for each data set processed by JES3 output service. One type 6 record is written for each data set section within an output scheduler element (OSE). If you issue the *RESTART command to restart a data set, one type 6 record is written when the data set is restarted and another type 6 record is written when the data set completes. If a printer is running under the control of a functional subsystem (FSS), record type 6 is written on the processor which has the FSS address space that processed the data set. The FSS writes the record if it processes the data set (JES3 does not).

This record identifies the output writer by SYSOUT class and form number, and identifies the job according to job log identification, JES3-assigned job number, and user identification. It contains information on the output writer activity such as:

  • The number of logical records processed
  • Number of data sets processed
  • Output service start time and date
  • I/O status indicators
  • Data set control indicators
  • JES3 logical output device name
  • Output activity.

The JES3 writer does not fill every field in the common section. Unfilled fields are left with zeroes.

Any post-processor accounting routine that scans a type 6 record can determine the writer of the record from field SMF6SBS and check field SMF6PAD1 to determine the optional sections that are present in the record. When scanning the record for data, the accounting routine obtains the length for each extension section at run time when it moves from one section to the next. The length is a two-byte field at the beginning of each section.

It is possible that records with truncated job numbers will be generated (refer to SMF6JNM for details). This erroneous output will cause problems with customer’s accounting programs as well as other report programs such as Tivoli Performance Reporter for OS/390. A change may be required in the testing of the record level indicator.

It's easy to report on SMF 6 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 6 Record -- JES3 Output Writer
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF6LEN2binary
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.
22SMF6SEG2binary
Segment descriptor (see record length field).
44SMF6FLG1binary
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.
55SMF6RTY1binary
Record type 6 (X'06').
66SMF6TME4binary
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
10ASMF6DTE4packed
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.
14ESMF6SID4EBCDIC
System identification (from the SID parameter).
1812SMF6JBN8EBCDIC
Job name (taken from job’s RESQ). The job name, time, and date that the reader recognized the JOB card (for this job) log identification, or transaction name (for APPC output).
261ASMF6RST4binary
Time from midnight, in hundredths of a second, that the reader recognized the JOB card (for this job).
301ESMF6RSD4packed
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.
3422SMF6UIF8EBCDIC
User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
422ASMF6OWC1EBCDIC
*SYSOUT class (this field is blank for non-SYSOUT data sets).
432BSMF6WST4binary
Start time from midnight, in hundredths of a second, of print/punch processor including remote device that is working on the data in this record.
472FSMF6WSD4packed
Start date of print/punch processor including remote device that is working on the data in this record, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
5133SMF6NLR4binary
Number of logical records written by the writer, by form number and class (this field includes JOBLOG information and data set copies). For an example, a data set of 1000 lines with two copies will show 2000 in this field.
5537SMF6IOE1binary
I/O status indicators Bit Meaning When Set 0-4 Reserved 5* Data buffer read error 6 Reserved 7* Control buffer read error.*A change in this field will cause a new record type 6.
5638SMF6NDS1binary
Number of data sets processed by the writer and included in this record. If multiple copies are produced, each copy is counted. (This field includes JOBLOG information.)
5739SMF6FMN4EBCDIC
Output form number as defined in the FORM= parameter of the DD statement. If the source field contains four or fewer characters, SMF6FMN will be set. Otherwise, this field contains blanks and the contents of the source field appear only in SMF6EFMN, described under the JES3 Common Section later in this record.
613DSMF6PAD11binary
Section indicator Bit Meaning When Set 0 3800 printing subsystem section present 1 Common section present 2 Reserved 3 Enhanced SYSOUT support section present 4-7 Reserved.
623ESMF6SBS2binary
Subsystem identification — X'0005' signifies JES3.
I/O Data Section for JES3 Output Writer
(Offset from beginning of record: 64)
0000SMF6LN12binary
Length of this section, including this field.
0202SMF6DCI1binary
Data set control indicators. (These bits are set when a data set is completed or restarted.) Bit Meaning When Set 0 Reserved 1 Record represents spin data sets 2 Operator ended this data group 3 Operator restarted data set with destination 4 Operator restarted this data group 5 Received operator restarted data set 6 Operator started with single space 7 Punch output was interpreted.
0303SMF6INDC1binary
Record level indicator Value Release — Support 0 Reserved 1 MVS/XA JES3 SP2.2.1 and before — restructured SMF type 6 record 2 Reserved 3 MVS/ESA JES3 SP3.1.1 — greater than 10K job support 4 MVS/ESA JES3 SP3.1.3 — security support 5-7 Reserved.This field definition changes with each new version of the SMF type 6 record.
0404SMF6JNM4EBCDIC
When SMF6INDC contains a X'1', this field contains a four-digit EBCDIC job number. When SMF6INDC contains a X'3' or greater, the job number has more than four digits, and this field contains zeroes. The correct job number is then found in SMF6JBID.
0808SMF6OUT8EBCDIC
JES3 logical output device name.
1610SMF6FCB4EBCDIC
FCB image identification (printer only).
2014SMF6UCS4EBCDIC
UCS image identification (printer only).
2418SMF6PGE4binary
For printer, approximate page count (A skip to carriage control channel one is counted as a page.) For punch, the number of cards punched. This field is filled in when a data set is completed or restarted. The count is a cumulative count which includes repeats and restarts. It does not include pages skipped due to forward repositioning of the writer.
281CSMF6DFE2binary
Data format error indicators. (These bits are set when a data set is completed or restarted.) Bit Meaning When Set 0-5 Reserved 6 Some first character control data bad, default used 7 Bad record length (truncate or pad) 8-15 Reserved.
301ESMF6OPR2binary
Output priority.
3220SMF6GRP8EBCDIC
JES3 logical output device group name.
4028SMF6RSVJ8Reserved
for JES3.
4830SMF6RSVU4Reserved
for user.
3800 (non-impact) Printing Subsystem Section for JES3 Output Writer

This section contains information on the activity of the 3800 (non-impact) printing subsystem.

(Offset from beginning of record: 64 + SMF6LN1)
00SMF6LN22binary
Length of 3800 printing subsystem section, including this field.
22SMF6CPS8binary
Number of copies printed in each copy group. Each byte represents one copy group, and the sum of the 8 bytes is the total number of copies printed.
10ASMF6CHR16EBCDIC
Names of the character arrangement tables that define the characters used in printing. Each name is 4 bytes long, with a maximum of 4 names.
261ASMF6MID4EBCDIC
Name of the copy modification module used to modify the data.
301ESMF6FLI4EBCDIC
Name of the forms overlay printed on the copies.
3422SMF6FLC1binary
Number of copies on which the forms overlay is printed
3523SMF6BID1binary
Options indicator Bit Meaning When Set 0 Output was burst into sheets by the Burster-Trimmer-Stacker. 1 DCB subparameter OPTCD=J was specified. Each output data line contained a table reference character that selected the character arrangement table used when printing that line. 2-7 Reserved.
JES3 Common Section for JES3 Output Writer

This section contains the general output information including the user ID associated with the job or session.

(Offset from beginning of record: 64 + SMF6LN1 + SMF6LN2)
00SMF6LN32binary
Length of common section (including this field).
22SMF6ROUT4--
Reserved.
66SMF6EFMN8EBCDIC
Output form number. This field is set regardless of the number of characters in the forms field (SMF6FMN).
14E--16binary
Reserved.
301ESMF6JBID8EBCDIC
Job ID, or transaction ID (for APPC output). The following fields (up to and including SMF6OTOK) are only present if SMF6INDC is equal to or greater than X'04':
3826SMF6STNM8EBCDIC
This field is not filled in for an output writer.
462ESMF6PRNM8EBCDIC
This field is not filled in for an output writer.
5436SMF6DDNM8EBCDIC
This field is not filled in for an output writer.
623ESMF6USID8EBCDIC
The user ID associated with the job/session that created the data set, or the user ID associated with the transaction ID (for APPC output).
7046SMF6SECS8EBCDIC
The security label of the created data set, or data set level seclabel.
784ESMF6PRMD8EBCDIC
The processing mode of the data set.
8656SMF6DSNM53EBCDIC
The name of the data set being printed.
1398B--3binary
Reserved.
1428ESMF6OTOK20EBCDIC
Reserved.
Enhanced SYSOUT Support (ESS) Section for JES3 Output Writer

This section contains the output descriptor (if any) for first offloaded data set in this record.

(Offset from beginning of record: 64 + SMF6LN1 + SMF6LN2 + SMF6LN3)
0000SMF6LN52binary
Length of ESS section (including this field).
0202SMF6SGID4binary
Segment identifier. Contains 0 when the file is not segmented.
0606SMF6IND1binary
Section indicator Bit Meaning When Set 0 Error obtaining scheduler JCL facility (SJF) information. Scheduler work block text unit (SWBTU) data area is not present. 1-7 Reserved.
0707SMF6RSV1--
Reserved.
0808SMF6JDVT8EBCDIC
JCL definition table (JDT) name in JCL definition vector table (JDTV).
1610SMF6TUL2binary
Text unit (SWBTU) data area length.
1812SMF6TUVARbinary
Text unit (SWBTU) data area. The data area can be processed using the SWBTUREQ macro and is mapped by MVS macro IEFSJPFX.

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

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