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
(JES2 Output Writer).

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

Purpose: The JES2 writer writes record type 6 when processing is completed for a job output element (JOE), or when there is a change in certain information (indicated by “*”) describing SYSOUT data sets processed in the same JOE. Record 6 is written for SYSOUT data sets that are printed or routed to a remote worstation. It is not written for held then deleted SYSOUT data sets. If a printer is running under the control of a functional subsystem (FSS), record type 6 is written for each data set printed on that printer.

This record is written for spin data sets. JES2 can be induced to not write this record on a job class basis. This record identifies the output writer by SYSOUT class and form number, and identifies the job according to job log identification, JES2-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, writer start and end times, input/output status indicators data set control indicators, and JES2 logical output device name.

The JES2 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.

This record also provides information on the activity of the 3800 (non-impact) printing subsystem.

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 -- JES2 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 JES2 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'0002' signifies JES2).
I/O Data Section for JES2 Output Writer
(Offset from beginning of record: 64)
00SMF6LN12binary
Length of this section, including this field.
22SMF6DCI1binary
Data set control indicators Bit Meaning When Set 0 Reserved 1 Record represents spin data sets 2* Operator ended this data group 3* Operator interrupted this data group 4* Operator restarted this data group 5* Record represents continuation of interrupted data group 6* Operator overrode programmed carriage control (printer only) 7* Punch output was interpreted (3525 only).* A change in this field will cause a new record type 6
33SMF6INDC1binary
Record level indicator Value Release — Support 0 Reserved 1 MVS/XA JES2 SP2.2.0 and before — restructured SMF type 6 record. 2 Reserved 3 MVS/ESA JES2 SP3.1.1 — greater than 10K job support. 4 MVS/ESA JES2 SP3.1.3 — security support. 5 MVS/ESA JES2 SP4.1.0 6-7 Reserved.This field definition changes with each new version of the SMF type 6 record.
44SMF6JNM4EBCDIC
When SMF6INDC contains a X'1', this field contains a 4-digit EBCDIC job number. When SMF6INDC contains a X'3' or greater, and the job number has more than 4 digits, this field contains zeroes. If the job number is greater than or equal to 999, this field contains the job number. For an APPC transaction, this field contains zeroes. The correct job number or APPC transaction is found in SMF6JBID.
88SMF6OUT8EBCDIC
JES2 logical output device name defined in JESPARMS.
1610SMF6FCB4EBCDIC
FCB image identification (for printer only). A change in this field will cause a new record type 6.
2014SMF6UCS4EBCDIC
UCS image identification (for printer only). A change in this field will cause a new record type 6.
2428SMF6PGE4binary
Approximate page count (printer only). For a printer controlled by JES2, the count is updated: v On a new page* definition if LINECT=0 is specified on the JOBPARM JECL statement, in the accounting field of the JOB statement, on the OUTPUT JECL statement, or on the OUTPUT JCL statement. v After the number of lines specified in LINECT or on a new page* definition. *New page NEWPAGE=, on PRINTDEF or PRT(nnnn) JES2 Initialization statement determines the method of counting pages. If NEWPAGE=ALL or NEWPAGE=DEFAULT, then skip to any channel will be counted as a page. If NEWPAGE=1, then skip to channel 1 will only be counted as a page.For a printer controlled by an FSS, the count is affected by one or more of the following: v A PAGEDEF statement v A FORMDEF statement v The presence of page mode data.
281CSMF6RTE2binary
Output route code defined in JESPARMS. The route code is specified on the /*OUTPUT or DD statement. The form number is specified on the FORM= parameter of the DD statement. This field is defined as follows: X'0100' indicates local routine; X'nnrr' (where nn is the node number and rr is the remote device within the node) indicates remote routing; and X'00nn' indicates local routing. If more than 255 remotes are specified (in JESPARMS) for the system, this field is set to zero.
3800 (non-impact) Printing Subsystem Section for JES2 Output Writer

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

(Offset from beginning of record: 64 + SMF6LN1)
6440SMF6LN22binary
Length of 3800 printing subsystem section including this field.
6642SMF6CPS8binary
Number of copies in each copy group. Each byte represents one copy group, and the sum of the 8 bytes is the total number of copies printed. A change in this field will cause a new record type 6 record.
744ASMF6CHR16EBCDIC
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. A change in this field will cause a new record type 6.
905ASMF6MID4EBCDIC
Names of the copy modification module used to modify the data. A change in this field will cause a new record type 6.
945ESMF6FLI4EBCDIC
Name of the forms overlay printed on the copies. A change in this field will cause a new record type 6.
9862SMF6FLC1binary
Number of copies on which the forms overlay is printed A change in this field will cause a new record type 6.
9963SMF6BID1binary
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.*A change in this field will cause a new record type 6.
JES2 Common Section for JES2 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)
6440SMF6LN32binary
Length of common section (including this field).
6642SMF6ROUT4binary
Output route code This field is defined as follows: X'00010000' indicates local routing; X'nnnnrrrr' (where nnnn is the node number and rrrr is the remote device within that node) indicates remote routine; and X'0000nnnn' indicates special local routing. This field is always set regardless of the number of remotes specified by the system. The node and remote devices are defined in JESPARMS. See z/OS JES2 Initialization and Tuning Guide for more information.
7046SMF6EFMN8EBCDIC
Output form number. This field is set regardless of the number of characters in the forms field (SMF6FMN).
784E--16binary
Reserved.
945ESMF6JBID8EBCDIC
Job name, transaction ID (for APPC output), or TSO/E userid. The following fields (up to and including SMF6OTOK) are only present if SMF6INDC is equal to or greater than X'04':
10266SMF6STNM8EBCDIC
This field is not filled in for an output writer.
1106ESMF6PRNM8EBCDIC
This field is not filled in for an output writer.
11876SMF6DDNM8EBCDIC
This field is not filled in for an output writer.
1267ESMF6USID8EBCDIC
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).
13486SMF6SECS8EBCDIC
The security label of the created data set, or the data set level seclabel.
1428ESMF6PRMD8EBCDIC
The processing mode of the data set.
15096SMF6DSNM53EBCDIC
The name of the data set being printed.
203CB--3binary
Reserved.
206CESMF6OTOK20EBCDIC
Output security token: The identifier JES assigns to those SYSOUT data sets that share common printing attributes and security information. Data sets thus grouped are then printed sequentially. If your installation also produces job header and trailer pages, these data sets appear between those job header and trailer pages as a job.
Enhanced SYSOUT Support (ESS) Section for JES2 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)
6440SMF6LN52binary
Length of ESS section (including this field).
6642SMF6SGID4binary
Segment identifier. Contains 0 when the file is not segmented.
6642SMF6BNOF2binary
Offset to bin section.
6642SMF6RES2binary
Reserved - redefines SMF6BNOF.
7046SMF6IND1binary
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.
7147SMF6RSV1--
Reserved.
7248SMF6JDVT8EBCDIC
JCL definition table (JDT) name in JCL definition vector table (JDTV).
8050SMF6TUL2binary
Text unit (SWBTU) data area length.
8252SMF6TUVARbinary
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