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.

The SMF type 123 subtype 2 version 2 record is used to capture enhanced data for individual API requester requests.

It is possible to correlate the SMF 123 subtype 2 record with data from CICS and IMS systems.

For CICS, the data required for correlation can be obtained at runtime using the CEMT INQUIRE TASK system command. CICS also records this information in the RMUOWID, NETUOWPX and NETUOWSX fields of the DFHTASK group in the PERFORMANCE class of SMF 110 SubType 1 records.

For IMS, the recovery token represents the work performed within a commit interval and is available in the IMS log records written to the IMS log.

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 - Subtype 1 Records
There may be multiple sections
(Offset from beginning of record: SMF123S1_REQ_DATA_OFFSET)
00SMF123S1_
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
Request Data Section - Subtype 2 Records
There may be multiple sections
(Offset from beginning of record: SMF123S2_REQ_DATA_OFFSET)
00SMF123S2_
REQ_
DATA_
VERSION
1BINARY
Version of request data record. Set to 1.
11SMF123S2_
REQ_
APP_
TYPE
1BINARy
Request application type:
1 = CICS
2 = IMS
3 = ZOS
22SMF123S2_
HTTP_
RESP_
CODE
2BINARY
HTTP response code returned from the API endpoint.
42SMF123S2_
REQ_
STATUS_
CODE
2BINARY
HTTP status code returned to the z/OS application.
66SMF123S2_
RESP_
FLAGS
1BINARY
Response flags.
(BIT 0): SMF123S2_REQ_RETRIED BIT Set if the request to the API endpoint was retried after a 401 authentication failure.
(BITS 1- 7): SMF123S2_RESERVED_03 - Reserved.
77SMF123S2_
RESERVED_
04
5binary
Reserved.
12CSMF123S2_
REQ_
PAYLOAD_
LEN
4BINARY
Length of the request payload sent to the API endpoint, in bytes.
1610SMF123S2_
RESP_
PAYLOAD_
LEN
4BINARY
Length of the response payload received from the API endpoint, in bytes.
2014SMF123S2_
USER_
NAME
64CHAR
One of the following values: if TLS client certificate authentication was used, the authenticated username associated with that certificate. The distributed ID, if one was sent on the request and is mapped to a SAF username. The authenticated username.
8454SMF123S2_
USER_
NAME_
MAPPED
8CHAR
If a distributed ID was sent on the request and is mapped to a SAF username, then this value is the authenticated SAF username. Otherwise, this value is blank.
925CSMF123S2_
USER_
NAME_
ASSERTED
8CHAR
z/OS application asserted user ID.
10064SMF123S2_
API_
REQ_
NAME
64CHAR
API requester name.
164A4SMF123S2_
API_
REQ_
VERSION
8CHAR
API requester version.
172ACSMF123S2_
ENDPOINT_
REFERENCE
32CHAR
Reference to the element in server.xml that identifies the connection to the API endpoint.
204CCSMF123S2_
ENDPOINT_
HOST
128CHAR
The value of the host property of the API endpoint.
33214CSMF123S2_
ENDPOINT_
PORT
2BINARY
The value of the port property of the API endpoint.
33414ESMF123S2_
ENDPOINT_
FULL_
PATH
256CHAR
The full path invoked on the API endpoint.
59024ESMF123S2_
ENDPOINT_
METHOD
8CHAR
The method used on the API endpoint.
598256SMF123S2_
ENDPOINT_
QUERY_
STRING
128CHAR
The query string that is passed to the API endpoint.
7262D6SMF123S2_
TIME_
STUB_
SENT_
RAW
16CHAR
Time the request left the calling application.
7422E6SMF123S2_
TIME_
ZC_
ENTRY_
RAW
16CHAR
Time of z/OS Connect EE Entry.
7582F6SMF123S2_
TIME_
ZC_
EXIT_
RAW
16CHAR
Time of z/OS Connect EE Exit.
774306SMF123S2_
TIME_
TOKEN_
GET_
START_
RAW
16CHAR
Time z/OS Connect EE started to obtain one or more access tokens.
790316SMF123S2_
TIME_
TOKEN_
GET_
FINISH_
RAW
16CHAR
Time z/OS Connect EE completed obtaining the access token(s).
806326SMF123S2_
TIME_
ENDPOINT_
SENT_
RAW
16CHAR
Time z/OS Connect EE sent the request to the endpoint.
822336SMF123S2_
TIME_
ENDPOINT_
RECEIVED_
RAW
16CHAR
Time z/OS Connect EE received a response from the endpoint.
838346SMF123S2_
MVS_
JOBNAME
8CHAR
MVS Job Name of the calling application (JSAB -> JSABJBNM).
84634ESMF123S2_
MVS_
JOBID
8CHAR
MVS Job ID of the calling application (JSAB -> JSABJBID).
854356SMF123S2_
MVS_
SYSNAME
8CHAR
MVS System Name of the calling application (CVT -> CVTSNAME).
86235ESMF123S2_
MVS_
ASID
2BINARY
MVS ASID of the calling application (ASCB -> ASCBASID).
864360SMF123S2_
MVS_
SID
4CHAR
MVS SID of the calling application (SMCA -> SMCASID).
868364SMF123S2_
CICS_
APPLID
8CHAR
The APPLID of the CICS region.
87636CSMF123S2_
CICS_
TASK_
NUMBER
4BINARY
The CICS task number of the calling application.
880370SMF123S2_
CICS_
TRANSID
4CHAR
The CICS transaction ID of the calling application.
884374SMF123S2_
CICS_
RMUOWID
8BINARY
The CICS Recovery Manager UOW ID of the calling application. For correlation with CICS see Note.
89237CSMF123S2_
CICS_
NETUOW_
PX
20BINARY
CICS Network UOW Prefix of the calling application. For correlation with CICS see Note.
912390SMF123S2_
CICS_
NETUOW_
SX
8BINARY
CICS Network UOW Suffix of the calling application. For correlation with CICS see Note.
920398SMF123S2_
RESERVED_
05
4binary
Reserved.
92439CSMF123S2_
IMS_
IDENTIFIER
8CHAR
The identifier from the execution parameters of the calling application.
9323A4SMF123S2_
IMS_
REGION_
ID
4BINARY
The region identifier of the calling application.
9363A8SMF123S2_
IMS_
TRANSNAME
8CHAR
The transaction name of the calling application.
9443B0SMF123S2_
IMS_
APPNAME
8CHAR
The name of the application.
9523B8SMF123S2_
IMS_
PSBNAME
8CHAR
The name of the PSB.
9603C0SMF123S2_
IMS_
RECOVERY_
TOKEN
16BINARY
The recovery token for the UOW of the calling application. For correlation with IMS see Note.
9763D0SMF123S2_
REQ_
ID
8BINARY
Request identifier that is unique within a z/OS Connect EE server instance.
9843D8SMF123S2_
TRACKING_
TOKEN
64BINARY
Tracking token.
1048418SMF123S2_
REQ_
HDR1
64CHAR
Request header. header1name:header1value
1112458SMF123S2_
REQ_
HDR2
64CHAR
Request header. header2name:header2value
1176498SMF123S2_
REQ_
HDR3
64CHAR
Request header. header3name:header3value
12404D8SMF123S2_
REQ_
HDR4
64CHAR
Request header. header4name:header4value
1304518SMF123S2_
RESP_
HDR1
64CHAR
Response header. header1name:header1value
1368558SMF123S2_
RESP_
HDR2
64CHAR
Response header. header2name:header2value
1432598SMF123S2_
RESP_
HDR3
64CHAR
Response header. header3name:header3value
14965D8SMF123S2_
RESP_
HDR4
64CHAR
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