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 123 Record - z/OS Connect EE Audit Interceptor Records V2

This table shows the record layout for type 123 SMF records
(Audit Interceptor).

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

Purpose: The SMF type 123 subtype 1 version 2 record is used to capture enhanced data for individual API provider requests.

Version 2 of the SMF 123 subtype 1 record has a different structure to the version 1 record after the 4-byte version field in the SMF type 123 subtype 1 header extension section.

To configure z/OS Connect EE to capture SMF 123 records, see Configuring the audit interceptor.

You should consider using SMF log streams with compression enabled. For more information, see Setting up and managing SMF recording to logstreams and the COMPRESS parameter in Statements and parameters for SMFPRMxx.

It's easy to report on SMF 123 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 123 Record -- Audit Interceptor
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF123LEN2binary
Record length of the entire SMF record.
22SMF123SEG2binary
Segment descriptor.
44SMF123FLG1binary
System indicator.
55SMF123RTY1binary
Record type 123 (X'7B').
66SMF123TME4binary
Time since midnight
10ASMF123DTE4packed
Date record was moved to SMF.
14ESMF123SID4EBCDIC
System identification.
1812SMF123SSI4EBCDIC
Subsystem identification.
2216SMF123STY2binary
Record subtype. (1)
SMF type 123 subtype 1 version 2 header extension
2418SMF123S1_
SUBTYPE_
VERSION
4Binary
Subtype version number. Set to 2.
281CSMF123S1_
TRIPLET_
COUNT
1BINARY
Number of triplets in this record. Default is x0002.
291DSMF123S1_
TRIPLET_
OFFSET
1BINARY
Triplet section offset.
301ESMF123S1_
RESERVED_
01
2BINARY
RESERVED
3220SMF123S1_
DATETIME_
OFFSET
8BINARY
Local date/time offset (CVTLDTO).
Triplet Section
There is only one triplet section.
(Offset from beginning of record: SMF123S1_TRIPLET_OFFSET)
00SMF123S1_
SERVER_
OFFSET
4BINARY
Server ID section offset.
44SMF123S1_
SERVER_
LEN
2BINARY
Server ID section length.
66SMF123S1_
SERVER_
COUNT
2BINARY
Server ID section count.
88SMF123S1_
REQ_
DATA_
OFFSET
4BINARY
Request data section offset.
12CSMF123S1_
REQ_
DATA_
LEN
2BINARY
Request data section length.
14ESMF123S1_
REQ_
DATA_
COUNT
2BINARY
Request data section count.
Server ID Section
There is only one Server ID section.
(Offset from beginning of record: SMF123S1_SERVER_OFFSET)
00SMF123_
SERVER_
SECT_
VERSION
1BINARY
Version of the server section.
11SMF123_
RESERVED_
02
3binary
Reserved.
44SMF123_
SERVER_
SYSTEM
8CHAR
System name (CVTSNAME).
12CSMF123_
SERVER_
SYSPLEX
8CHAR
Sysplex name (ECVTSPLX).
2014SMF123_
SERVER_
JOBID
8CHAR
Job ID of the server (JSABJBID).
281CSMF123_
SERVER_
JOBNAME
8CHAR
Job name of the server (JSABJBNM).
3624SMF123_
SERVER_
STOKEN
8BINARY
(HEX) SToken of the server (ASS-BSTKN).
442CSMF123_
SERVER_
CONFIG_
DIR
128CHAR
The path to where server.xml for the server is located, this includes the server name.
172A2SMF123_
SERVER_
VERSION
16CHAR
Version of the server .
Request Data Section
There may be multiple sections
(Offset from beginning of record: SMF123S1_REQ_DATA_OFFSET)
00SMF123_
REQ_
DATA_
VERSION
1BINARY
Version of request data record. Set to 1.
11SMF123S1_
REQ_
TYPE
1BINARY
Request type:
0 = Unknown
1 = API
2 = Service
3 = Admin
22SMF123S1_
HTTP_
RESP_
CODE
2BINARY
HTTP response code.
44SMF123S1_
RESP_
FLAGS
1BINARY
Response flags.
(BIT 0): SMF123S1_REQ_TIMED_OUT - Request timed out indicator.
(BITS 1- 7): SMF123S1_RESERVED_03 - Reserved.
55SMF123S1_
RESERVED_
04
3binary
Reserved.
88SMF123S1_
USER_
NAME
64CHAR
Username, a distributed or a SAF identity.
7248SMF123S1_
USER_
NAME_
MAPPED
8CHAR
SAF mapped username.
8050SMF123S1_
CLIENT_
IP_
ADDR
48CHAR
Client IP address.
12880SMF123S1_
API_
NAME
64CHAR
API name.
192C0SMF123S1_
API_
VERSION
8CHAR
API version.
200C8SMF123S1_
SERVICE_
NAME
64CHAR
Service name.
264108SMF123S1_
SERVICE_
VERSION
8CHAR
Service version.
272110SMF123S1_
REQ_
METHOD
8CHAR
Method GET/POST/PUT/DELETE.
280118SMF123S1_
REQ_
QUERY_
STR
128CHAR
Query string.
408198SMF123S1_
REQ_
TARGET_
URI
256CHAR
Target URI.
664298SMF123S1_
REQ_
PAYLOAD_
LEN
4BINARY
Request payload length in bytes.
66829CSMF123S1_
RESP_
PAYLOAD_
LEN
4BINARY
Response payload length in bytes.
6722A0SMF123S1_
TIME_
ZC_
ENTRY_
RAW
16BINARY
Time the request was received by the z/OS Connect EE server.
6882B0SMF123S1_
TIME_
ZC_
EXIT_
RAW
16BINARY
Time the response was ready to be sent to the HTTP client.
7042C0SMF123S1_
TIME_
SOR_
SENT_
RAW
16BINARY
Time the request was sent to the system of record.
7202D0SMF123S1_
TIME_
SOR_
RECV_
RAW
16BINARY
Time the response was received from the system of record.
7362E0SMF123S1_
SP_
NAME
16CHAR
Service provider name. Value of com.ibm.zosconnect.spi.Data.SERVICE_PROVIDER_NAME.
7522F0SMF123S1_
SOR_
REFERENCE
32CHAR
Reference to the element in server.xml that identifies the connection to the system of record. Value of com.ibm.zosconnect.spi.Data.SOR_REFERENCE.
784310SMF123S1_
SOR_
IDENTIFIER
64CHAR
System of record identifier. Value of com.ibm.zosconnect.spi.Data.SOR_IDENTIFIER.
848350SMF123S1_
SOR_
RESOURCE
128CHAR
System of record resource. Value of com.ibm.zosconnect.spi.Data.SOR_RESOURCE.
9763D0SMF123S1_
REQ_
ID
8BINARY
Request identifier that is unique within a z/OS Connect EE server instance.
9843D8SMF123S1_
TRACKING_
TOKEN
64BINARY
(HEX) Tracking token. For more information, see Tracking selected requests.
1048418SMF123S1_
REQ_
HDR1
64CHAR
Request header. header1name:header1value
1112458SMF123S1_
REQ_
HDR2
64CHAR
Request header. header2name:header2value
1176498SMF123S1_
REQ_
HDR3
64CHAR
Request header. header3name:header3value
12404D8SMF123S1_
REQ_
HDR4
64CHAR
Request header. header4name:header4value
1304518SMF123S1_
RESP_
HDR1
64CHAR
Mapped response header. header1name:header1value
1368558SMF123S1_
RESP_
HDR2
64CHAR
Mapped response header. header2name:header2value
1432598SMF123S1_
RESP_
HDR3
64CHAR
Mapped response header. header3name:header3value
14965D8SMF123S1_
RESP_
HDR4
64CHAR
Mapped response header. header4name:header4value

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