|
SMF type 119 Record - Subtype 50This table shows the record layout for type 119 SMF records
|
It's easy to report on SMF 119 data! (Jump to sample reports) | |
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.
|
Offset (Dec.) | Offset (Hex) | Name | Length | Format | Description |
0 | 0 | SMF119S50_ LEN | 2 | binary | 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.
|
2 | 2 | SMF119S50_ SEG | 2 | binary | Segment descriptor (see record length field).
|
4 | 4 | SMF119S50_ FLG | 1 | binary | System indicator Bit Meaning When Set 0 New record format 1 Subtypes used 2 Reserved. 3-6 Version indicators* 7 System is running in PR/SM mode.*See “Standard SMF Record Header” on page 13-1 for a detailed description.
|
5 | 5 | SMF119S50_ RTY | 1 | binary | Record type 119 77').
|
6 | 6 | SMF119S50_ TME | 4 | binary | Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
|
10 | A | SMF119S50_ DTE | 4 | packed | 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.
|
14 | E | SMF119S50_ SID | 4 | EBCDIC | System identification (from the SMFPRMxx SID parameter).
|
18 | 12 | SMF119S50_ SSI | 4 | EBCDIC | Subsystem identification.
|
22 | 16 | SMF119S50_ STY | 2 | binary | Record subtype.
|
24 | 18 | SMF119S50_ TRN | 2 | binary | Number of triplets in this record. A triplet is a set of three SMF fields (offset/length/number values) that defines a section of the record. The offset is the offset from the RDW.
|
26 | 1A | -- | 2 | binary | Reserved.
|
28 | 1C | SMF119S50_ IDOff | 4 | binary | Offset to TCP/IP identification section from RDW.
|
32 | 20 | SMF119S50_ IDLen | 2 | binary | Length of TCP/IP identification section.
|
34 | 22 | SMF119S50_ IDNum | 2 | binary | Number of TCP/IP identification sections.
|
36 | 24 | SMF119S50_ S1Off | 4 | Binary | Offset to CSSMTP common information section
|
40 | 28 | SMF119S50_ S1Len | 2 | Binary | Length of CSSMTP common information section
|
42 | 2A | SMF119S50_ S1Num | 2 | Binary | Number of CSSMTP common information sections
|
44 | 2C | SMF119S50_ S2Off | 4 | Binary | Offset to spool identification section
|
48 | 30 | SMF119S50_ S2Len | 2 | Binary | Length of spool identification section
|
50 | 32 | SMF119S50_ S2Num | 2 | Binary | Number of spool identification sections
|
52 | 34 | SMF119S50_ S3Off | 4 | Binary | Offset to mail data section
|
56 | 38 | SMF119S50_ S3Len | 2 | Binary | Length of mail data section
|
58 | 3A | SMF119S50_ S3Num | 2 | Binary | Number of mail data sections
|
60 | 3C | SMF119S50_ S4Off | 4 | Binary | Offset to mail header section
|
64 | 40 | SMF119S50_ S4Len | 2 | Binary | Length of mail header section
|
66 | 42 | SMF119S50_ S4Num | 2 | Binary | Number of mail header sections
|
For the CSSMTP mail record, the TCP/IP stack identification section indicates CSSMTP as the subcomponent and X'08' (event record) as the record reason. The field SMF119TI_Stack name is blank unless the -p parameter is used to start the CSSMTP application. If this record is written to NMI, the field SMF119TI_Stack in the NMI record contains the stack name that the record was written to. This is a non-connection oriented SMF record. | |||||
0 | 0 | SMF119ML_ CI | 36 | STRUCTURE | CSSMTP common information
|
0 | 0 | SMF119ML_ CI_ JMR | 24 | STRUCTURE | Job Management Record. See Standard SMF Record Header in z/OS MVS System Management Facilities (SMF) for detailed information about Job Management Record format.
|
0 | 0 | SMF119ML_ CI_ JOB | 8 | EBCDIC | Jobname
|
8 | 8 | SMF119ML_ CI_ Entry | 4 | Binary | Time since midnight, in hundredths of a second, that the reader recognized the CSSMTP JOB card (for this job).
|
12 | C | SMF119ML_ CI_ EDate | 4 | Packed | Date when the reader recognized the CSSMTP JOB card (for this job), in the form 0cyydddF.
|
16 | 10 | SMF119ML_ CI_ USEID | 8 | EBCDIC | User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
|
24 | 18 | SMF119ML_ CI_ EXTWRT | 8 | EBCDIC | External writer name
|
32 | 20 | SMF119ML_ CI_ Jes | 4 | EBCDIC | JES subsystem name
|
This section identifies the CSSMTP JOB that created this SMF record. It is found in subtypes 48, 49, 50, 51 and 52. | |||||
0 | 0 | SMF119ML_ SI | 72 | STRUCTURE | Spool Identification
|
0 | 0 | SMF119ML_ SI_ JMR | 24 | EBCDIC | Job Management Record. See Standard SMF Record Header in z/OS MVS System Management Facilities (SMF) for detailed information about Job Management Record format.
|
This section identifies the spool job that created the sysout file. It is found in subtypes 50 and 51. | |||||
0 | 0 | SMF119ML_ SI_ Job | 8 | EBCDIC | Jobname
|
8 | 8 | SMF119ML_ SI_ Entry | 4 | Binary | JES reader entry time - time since midnight, in hundredths of a second, that the reader recognized the JOB card (for this job).
|
12 | C | SMF119ML_ SI_ EDate | 4 | Packed | JES reader entry date 0CYYDDDF - date when the reader recognized the JOB card (for this job), in the form 0cyydddF.
|
16 | 10 | SMF119ML_ SI_ USEID | 8 | EBCDIC | User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
|
24 | 18 | SMF119ML_ SI_ JobId | 8 | EBCDIC | Job Id of selected job
|
32 | 20 | SMF119ML_ SI_ SYS | 8 | EBCDIC | System name of the MVS™ image where the job output was created
|
40 | 28 | SMF119ML_ SI_ XEQ | 8 | EBCDIC | NJE node where job executed
|
48 | 30 | SMF119ML_ SI_ CRER | 8 | EBCDIC | Owning user id of data set
|
56 | 38 | SMF119ML_ SI_ TKID | 4 | Binary | JES task ID
|
60 | 3C | SMF119ML_ SI_ Jnum | 4 | Binary | JES job number in binary
|
64 | 40 | SMF119ML_ SI_ Dsky | 4 | Binary | JES dataset key
|
68 | 44 | SMF119ML_ SI_ Dsnm | 4 | Binary | JES dataset number
|
0 | 0 | SMF119ML_ MI | 60 | STRUCTURE | Mail Identification 0 0 SMF119ML_
MI_STime 4 Binary Time mail was read from JES - Hundredths of seconds |
4 | 4 | SMF119ML_ MI_ SDate | 4 | Packed | Date mail was read from JES - in 0CYYDDDF format
|
8 | 8 | SMF119ML_ MI_ ETime | 4 | Binary | Time mail was completed - Hundredths of seconds
|
12 | C | SMF119ML_ MI_ EDate | 4 | Packed | Date mail was completed, in 0CYYDDDF format
|
16 | 10 | SMF119ML_ MI_ Dur | 4 | Binary | Time mail was in progress, in hundredths of seconds
|
20 | 14 | SMF119ML_ MI_ ID | 4 | Binary | Mail message number in spool file
|
24 | 18 | SMF119ML_ MI_ Type | 4 | Binary | Type of mail message - type values:
SMFML_MI_TYPE_RegNote = 1 mail message is regular type created by customer SMFML_MI_TYPE_UndelNote = 2 mail message is error note created by customer SMFML_MI_TYPE_Report = 3 mail message is a CSSMTP error report SMFML_MI_TYPE_UMNOTIF = 4 mail message is a undeliverable mail notification |
28 | 1C | SMF119ML_ MI_ Rsvd1 | 4 | Binary | Reserved
|
32 | 20 | SMF119ML_ MI_ BYCT | 8 | Binary | Body byte count
|
40 | 28 | SMF119ML_ MI_ RLoc | 4 | Binary | Record location of MAIL command in spool file
|
44 | 2C | SMF119ML_ MI_ Rcpts | 4 | Binary | Number of total recipients
|
48 | 30 | SMF119ML_ MI_ FRcpts | 4 | Binary | Number of failed recipients
|
52 | 34 | SMF119ML_ MI_ Retry | 4 | Binary | Number of retry attempts
|
56 | 38 | SMF119ML_ MI_ Flags1 | 1 | binary | Flags
SMF119ML_MI_ESMTP 1... .... EHLO(RFC 2821) command SMF119ML_MI_TLS .1.. .... STARTTLS command SMF119ML_MI_Finis ..1. .... Mail was completed without errors SMF119ML_MI_Error ...1 .... Mail was completed with errors SMF119ML_MI_ERetry .... 1... Mail was saved for extended retry SMF119ML_MI_Rsv04 .... 1... Reserved SMF119ML_MI_Rsv05 .... .1.. Reserved SMF119ML_MI_Rsv06 .... ..1. Reserved SMF119ML_MI_MHFul .... ...1 The SMF record is full. Data in the mail header section was truncated. |
57 | 39 | SMF119ML_ MI_ Flags2 | 1 | binary | Flags
SMF119ML_MI_From 1... .... Mail contains a From header specified in the spool file SMF119ML_MI_To .1.. .... Mail contains a To header specified in the spool file SMF119ML_MI_Date ..1. .... Mail contains a Date header specified in the spool file SMF119ML_MI_MsgID ...1 .... Mail contains a msg-ID specified in the spool file SMF119ML_MI_Subj .... 1... Mail contains a subject specified in the spool file SMF119ML_MI_Rsv15 .... .1.. Reserved SMF119ML_MI_Rsv16 .... ..1. Reserved SMF119ML_MI_Rsv17 .... ...1 Reserved |
58 | 3A | SMF119ML_ MI_ Rsv2x | 1 | binary | Reserved
|
59 | 3B | SMF119ML_ MI_ Rsv3x | 1 | binary | Reserved
|
0 | 0 | SMF119ML_ MH_ Len | 2 | Binary | Mail header length
|
2 | 2 | SMF119ML_ MH_ Key | 2 | Binary | Mail header type value
|
4 | 4 | SMF119ML_ MH_ Data | 255 | EBCDIC | Mail header data string
|
The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.
The sample SMF report below was created with Spectrum SMF Writer,
the low-cost 4GL SMF report writer.
In this report, we read as input the SMF file and select just the type 119 subtype 2 TCP Connection Termination records. (See SMF 119 Subtype 2 record layout.) The report shows information about terminated TCP connections, including start time, end time and computed elapsed time. It also shows the total number of bytes sent and received during the connection and the termination code. Our record layout also expands the 1-byte termination code into a readable descriptive text. The report is grouped by TCP/IP Stack and Resource. The report includes subtotals for each Resource.
All of this with just a few lines of code!
Why not install a Spectrum SMF Writer trial right now and start making your own SMF reports!
INPUT: SMF119 LIST(YES) INCLUDEIF: SMF119RTY=119 AND SMF119STY=2 COMPUTE: MY_DURATION(2) = #MAKETIME( ((#MAKENUM(SMF119AP_TTEDATE) * 86400) + #MAKENUM(SMF119AP_TTETIME)) - ((#MAKENUM(SMF119AP_TTSDATE) * 86400) + #MAKENUM(SMF119AP_TTSTIME)) ) TITLE: 'Z/OS TCP DAILY CONNECTIONS REPORT' TITLE: 'SYSTEM:' SMF119TI_SYSNAME 'SYSPLEX:' SMF119TI_SYSPLEXNAME 'STACK:' SMF119TI_STACK TITLE: 'SORTED BY STACK AND RESOURCE NAME' COLUMNS: SMF119AP_TTRNAME('RESOURCE') SMF119AP_TTSDATE('DATE/STARTED') SMF119AP_TTSTIME('TIME/STARTED') SMF119AP_TTEDATE('DATE/ENDED') SMF119AP_TTETIME('TIME/ENDED') MY_DURATION('CONNECTION/DURATION/HH:MM:SS.SS' ACCUM TP'ZZ:ZZ:Z9.99') SMF119AP_TTINBYTES('INBOUND/BYTES') SMF119AP_TTOUTBYTES('OUTBOUND/BYTES') SMF119AP_TTTERMCODE(HEX 'TERM/CODE') SMF119AP_TTTERMCODE_DESC('TERM CODE DESC') SORT: SMF119TI_STACK SMF119AP_TTRNAME SMF119AP_TTSDATE SMF119AP_TTSTIME BREAK: SMF119AP_TTRNAME
Z/OS TCP DAILY CONNECTIONS REPORT SYSTEM: ST1 SYSPLEX: SYPROD STACK: S01QDAS SORTED BY STACK AND RESOURCE NAME CONNECTION DATE TIME DATE TIME DURATION INBOUND OUTBOUND TERM RESOURCE STARTED STARTED ENDED ENDED HH:MM:SS.SS BYTES BYTES CODE TERM CODE DESC ________ ________ ___________ ________ ___________ ___________ ______________ ______________ ____ _______________________ FTPTA5 03/21/09 14:04:06.81 03/21/09 14:04:07.46 0.65 257,537 3,052 61 CLIENT SENT RESET FTPTA5 03/21/09 14:05:35.59 03/21/09 14:05:45.67 10.08 27,043 329 52 APPL ISSUED CLOSE FTPTA5 03/21/09 14:12:13.81 03/21/09 14:12:14.51 0.70 257,537 3,052 61 CLIENT SENT RESET FTPTA5 03/21/09 14:12:27.35 03/21/09 14:12:37.42 10.07 27,043 329 52 APPL ISSUED CLOSE FTPTA5 03/21/09 15:30:34.96 03/21/09 15:30:35.64 0.68 257,537 3,052 61 CLIENT SENT RESET FTPTA5 03/21/09 15:35:13.92 03/21/09 15:35:24.00 10.08 27,043 329 52 APPL ISSUED CLOSE *** TOTAL FOR FTPTA5 ( 6 ITEMS) 32.26 853,740 10,143 FTPTA6 03/21/09 14:05:38.03 03/21/09 14:05:38.70 0.67 257,537 3,052 61 CLIENT SENT RESET FTPTA6 03/21/09 14:07:23.60 03/21/09 14:07:33.68 10.08 27,043 329 52 APPL ISSUED CLOSE FTPTA6 03/21/09 14:12:29.83 03/21/09 14:12:30.50 0.67 257,537 3,052 61 CLIENT SENT RESET FTPTA6 03/21/09 14:17:10.02 03/21/09 14:17:20.16 10.14 27,043 329 52 APPL ISSUED CLOSE FTPTA6 03/21/09 15:35:16.45 03/21/09 15:35:17.21 0.76 257,537 3,052 61 CLIENT SENT RESET FTPTA6 03/21/09 15:36:15.10 03/21/09 15:36:25.18 10.08 27,043 329 52 APPL ISSUED CLOSE *** TOTAL FOR FTPTA6 ( 6 ITEMS) 32.40 853,740 10,143 FTPTA7 03/21/09 14:07:26.16 03/21/09 14:07:26.86 0.70 257,537 3,052 61 CLIENT SENT RESET FTPTA7 03/21/09 14:08:24.36 03/21/09 14:08:34.50 10.14 70 507 52 APPL ISSUED CLOSE FTPTA7 03/21/09 14:17:12.60 03/21/09 14:17:13.31 0.71 257,537 3,052 61 CLIENT SENT RESET FTPTA7 03/21/09 14:21:40.01 03/21/09 14:21:50.08 10.07 27,043 329 52 APPL ISSUED CLOSE FTPTA7 03/21/09 15:36:17.53 03/21/09 15:36:18.17 0.64 257,537 3,052 61 CLIENT SENT RESET FTPTA7 03/21/09 15:37:11.45 03/21/09 15:37:21.53 10.08 27,043 329 52 APPL ISSUED CLOSE *** TOTAL FOR FTPTA7 ( 6 ITEMS) 32.34 826,767 10,321 FTPTA8 03/21/09 08:09:32.96 03/21/09 15:29:02.41 7:19:29.45 274,763 15,912 52 APPL ISSUED CLOSE FTPTA8 03/21/09 13:17:39.42 03/21/09 14:42:50.82 1:25:11.40 47,498 2,291 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:42:57.42 03/21/09 14:43:21.38 23.96 45,921 2,291 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:43:26.45 03/21/09 15:28:27.01 45:00.56 47,498 2,291 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:50:01.00 03/21/09 15:28:26.10 38:25.10 35,513 1,537 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:51:01.03 03/21/09 14:52:28.82 1:27.79 33,273 875 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:53:05.50 03/21/09 15:28:22.53 35:17.03 33,273 875 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:53:51.74 03/21/09 14:55:51.42 1:59.68 35,306 1,537 52 APPL ISSUED CLOSE FTPTA8 03/21/09 14:56:05.98 03/21/09 15:11:31.19 15:25.21 33,066 875 52 APPL ISSUED CLOSE FTPTA8 03/21/09 15:12:01.80 03/21/09 15:13:30.66 1:28.86 35,266 1,537 52 APPL ISSUED CLOSE FTPTA8 03/21/09 15:13:45.48 03/21/09 15:17:09.41 3:23.93 38,223 2,199 52 APPL ISSUED CLOSE FTPTA8 03/21/09 15:18:54.59 03/21/09 15:20:07.26 1:12.67 34,273 1,537 52 APPL ISSUED CLOSE FTPTA8 03/21/09 15:20:22.01 03/21/09 15:28:20.73 7:58.72 33,118 875 52 APPL ISSUED CLOSE *** TOTAL FOR FTPTA8 ( 13 ITEMS) 11:16:44.36 726,991 34,632 FTPTA9 03/21/09 14:09:28.52 03/21/09 14:09:29.22 0.70 257,537 3,052 61 CLIENT SENT RESET FTPTA9 03/21/09 14:10:24.02 03/21/09 14:10:34.10 10.08 27,043 329 52 APPL ISSUED CLOSE FTPTA9 03/21/09 15:01:06.82 03/21/09 15:01:07.46 0.64 257,537 3,052 61 CLIENT SENT RESET FTPTA9 03/21/09 15:13:52.13 03/21/09 15:14:02.53 10.40 27,043 329 52 APPL ISSUED CLOSE ...
Home |
Products |
Prices |
Documentation |
30-Day Trials |
Customer Reviews |
Company
| FAQ
| Sample Reports
| SMF Records
Send Your Comments or Questions