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
(IP PRINTWAY).

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

Purpose: IP PrintWay writes record type 6 before deleting a data set from the JES spool or before releasing the data set back to the system (JES).

If IP PrintWay has attempted to transmit the data set to the target system, the file-transfer section contains the number of bytes IP PrintWay transmitted or attempted to transmit. If IP PrintWay attempted to transmit the data set more than once, the file-transfer section contains the total number of bytes in all transmission attempts, including the number of bytes in the successful transmission, if any.

If IP PrintWay restarts a data set that IP PrintWay had previously released back to the system, two SMF records may be written for the same data set. IP PrintWay writes one SMF record when it releases the data set back to the system and writes another when it deletes the data set from the JES spool. When IP PrintWay writes a record for a data set that it restarted, that record contains only the number of bytes transmitted, if any, after IP PrintWay restarted the data set. The calculation of records read (SMF6NLR) and pages printed (SMF6PGE) is handled like that of bytes transmitted.

If IP PrintWay basic mode resubmits a data set to Print Interface for filtering, IP PrintWay basic mode writes two SMF type-6 records for the data set, one record when IP PrintWay sends the data set to Print Interface, and another record when it sends the data set to the printer. You can use the IP PrintWay SMF exit to suppress the first SMF record written.

Determining the writer of the IP PrintWay record type 6: 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.

Distinguishing between IP PrintWay basic and extended modes: To ascertain whether type 6 records were written by IP PrintWay basic mode or IP PrintWay extended mode, use the following flag field:

  • IP PrintWay basic mode: SMF6INDC is set to 1
  • IP PrintWay extended mode: SMF6INDC is set to 7

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 -- IP PRINTWAY
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'0009' signifies IP PRINTWAY
I/O Data Section for IP PrintWay
(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.
Common Section for IP PrintWay

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

(Offset from beginning of record: 64 + SMF6LN1)
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 IP PrintWay

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

(Offset from beginning of record: 64 + SMF6LN1 + 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.
File Trasnfer Section for IP PrintWay
(Offset from beginning of record: 64 + SMF6LN1 + SMF6LN3 + SMF6LN5)
00SMF6LN62binary
Length of File Transfer section (including this field).
22SMF6BYTE4binary
Total number of bytes transmitted, described in the section introduction.
66SMF6IP11binary
1st segment of IP address of target address. If these records are written in IP PrintWay extended mode, these fields contain 0. IP PrintWay basic mode fills in the IP address only when it uses the LPR or direct sockets protocols to send data to the printer.
77SMF6IP21binary
2nd segment of IP address of target address. If these records are written in IP PrintWay extended mode, these fields contain 0. IP PrintWay basic mode fills in the IP address only when it uses the LPR or direct sockets protocols to send data to the printer.
88SMF6IP31binary
3rd segment of IP address of target address. If these records are written in IP PrintWay extended mode, these fields contain 0. IP PrintWay basic mode fills in the IP address only when it uses the LPR or direct sockets protocols to send data to the printer.
99SMF6IP41binary
4th segment of IP address of target address. If these records are written in IP PrintWay extended mode, these fields contain 0. IP PrintWay basic mode fills in the IP address only when it uses the LPR or direct sockets protocols to send data to the printer.
10ASMF6FTL1binary
File transfer level indicator
11B--11binary
Reserved.
2216SMF6PQLN2binary
Length of the Print Queue Name field. When IP PrintWay basic mode writes the record, SMF6PQLN contains the length of the SMF6PRTQ field. When IP PrintWay extended mode writes the record, SMF6PQLN contains the length of the meaningful portion of SMF6PRTQ.
2418SMF6PRTQ24EBCDIC
Print Queue Name. If IP PrintWay basic mode writes the record, SMF6PRTQ is variable in length, with the length as specified in SMF6PQLN. If IP PrintWay extended mode writes the record, SMF6PRTQ is always 24 bytes in length and the print queue name is padded to the right with blanks. SMF6PQLN can be used to extract the print queue name from SMF6PRTQ.
4830SMF6BYTD8binary
For IP PrintWay extended mode, the total bytes transmitted (64-bit integer), described in the section introduction. For IP PrintWay basic mode, the SMF6BYTD field is not present.
5638--16binary
Reserved
7248SMF6URIL2binary
For IP PrintWay extended mode, the length of the target device universal resource indicator (URI). For IP PrintWay basic mode, the SMF6URIL field is not present.
744ASMF6URIvariableEBCDIC
For IP PrintWay extended mode, the target device universal resource indicator (URI). For IP PrintWay basic mode, the SMF6URI field is not present.

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