advantage vision: excel for z/os - ca support online - … 1: smf and rmf copy functions 1–1...
TRANSCRIPT
![Page 1: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/1.jpg)
SMF/RMF Reporting Guide r7
Advantage™ VISION: Excel™ for z/OS
![Page 2: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/2.jpg)
This documentation and any related computer software help programs (hereinafter referred to as the “Documentation”) is for the end user’s informational purposes only and is subject to change or withdrawal by CA at any time.
This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in part, without the prior written consent of CA. This Documentation is confidential and proprietary information of CA and protected by the copyright laws of the United States and international treaties.
Notwithstanding the foregoing, licensed users may print a reasonable number of copies of the documentation for their own internal use, and may make one copy of the related software as reasonably required for back-up and disaster recovery purposes, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only authorized employees, consultants, or agents of the user who are bound by the provisions of the license for the product are permitted to have access to such copies.
The right to print copies of the documentation and to make a copy of the related software is limited to the period during which the applicable license for the Product remains in full force and effect. Should the license terminate for any reason, it shall be the user’s responsibility to certify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed.
EXCEPT AS OTHERWISE STATED IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
The use of any product referenced in the Documentation is governed by the end user’s applicable license agreement.
The manufacturer of this Documentation is CA.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, or their successors.
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Copyright © 2007 CA. All rights reserved.
![Page 3: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/3.jpg)
Contents iii
Contents
Chapter 1: SMF and RMF COPY Functions
Using COPY function .......................................................................... 1-1 DYSMF0 COPY Function ....................................................................... 1-5
DYSMF0 COPY Parameters................................................................. 1-5 Invoking the DYSMF0 COPY Function ....................................................... 1-6
DYSMF2 COPY Function ......................................................................1-10 DYSMF2 COPY Parameters................................................................1-10 Invoking the DYSMF2 COPY Function ......................................................1-11
DYSMF3 COPY Function ......................................................................1-13 DYSMF3 COPY Parameters ...............................................................1-13 Invoking the DYSMF3 COPY Function ......................................................1-14
DYSMF4 COPY Function ......................................................................1-15 DYSMF4 COPY Parameters................................................................1-16 Invoking the DYSMF4 COPY Function ......................................................1-17
DYSMF5 COPY Function ......................................................................1-24 DYSMF5 COPY Parameters................................................................1-24 Invoking the DYSMF5 COPY Function ......................................................1-26
DYSMF6 COPY Function ......................................................................1-31 DYSMF6 COPY Parameters................................................................1-31 Invoking the DYSMF6 COPY Function ......................................................1-33
DYSMF7 COPY Function ......................................................................1-40 DYSMF7 COPY Parameters................................................................1-40 Invoking the DYSMF7 COPY Function ......................................................1-42
DYSMF14 COPY Function .....................................................................1-46 DYSMF14 COPY Parameters ..............................................................1-46 Invoking the DYSMF14 COPY Function.....................................................1-47
DYSMF15 COPY Function .....................................................................1-55 DYSMF15 COPY Parameters ..............................................................1-55 Invoking the DYSMF15 COPY Function.....................................................1-56
DYSMF17 COPY Function .....................................................................1-64 DYSMF17 COPY Parameters ..............................................................1-64 Invoking the DYSMF17 COPY Function.....................................................1-66
DYSMF18 COPY Function .....................................................................1-70 DYSMF18 COPY Parameters ..............................................................1-70 Invoking the DYSMF18 COPY Function.....................................................1-72
![Page 4: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/4.jpg)
iv SMF/RMF Reporting Guide
DYSMF19 COPY Function .....................................................................1-76 DYSMF19 COPY Parameters ..............................................................1-76 Invoking the DYSMF19 COPY Function.....................................................1-77
DYSMF20 COPY Function .....................................................................1-82 DYSMF20 COPY Parameters ..............................................................1-82 Invoking the DYSMF20 COPY Function.....................................................1-83
DYSMF21 COPY Function .....................................................................1-88 DYSMF21 COPY Parameters ..............................................................1-88 Invoking the DYSMF21 COPY Function.....................................................1-90
DYSMF26 COPY Function .....................................................................1-94 DYSMF26 COPY Parameters ..............................................................1-94 Invoking the DYSMF26 COPY Function.....................................................1-96
DYSMF30 COPY Function ....................................................................1-104 DYSMF30 COPY Parameters .............................................................1-104 Invoking the DYSMF30 COPY Function....................................................1-105
DYSMF32 COPY Function ....................................................................1-120 DYSMF32 COPY Parameters .............................................................1-120 Invoking the DYSMF32 COPY Function....................................................1-121
DYSMF34 COPY Function ....................................................................1-129 DYSMF34 COPY Parameters .............................................................1-129 Invoking the DYSMF34 COPY Function....................................................1-131
DYSMF35 COPY Function ....................................................................1-136 DYSMF35 COPY Parameters .............................................................1-136 Invoking the DYSMF35 COPY Function....................................................1-138
DYSMF40 COPY Function ....................................................................1-143 DYSMF40 COPY Parameters .............................................................1-143 Invoking the DYSMF40 COPY Function....................................................1-144
DYSMF43 COPY Function ....................................................................1-149 DYSMF43 COPY Parameters .............................................................1-149 Invoking the DYSMF43 COPY Function....................................................1-150
DYSMF45 COPY Function ....................................................................1-153 DYSMF45 COPY Parameters .............................................................1-154 Invoking the DYSMF45 COPY Function....................................................1-155
DYSMF47 COPY Function ....................................................................1-157 DYSMF47 COPY Parameters .............................................................1-158 Invoking the DYSMF47 COPY Function....................................................1-159
DYSMF48 COPY Function ....................................................................1-162 DYSMF48 COPY Parameters .............................................................1-162 Invoking the DYSMF48 COPY Function....................................................1-163
DYSMF49 COPY Function ....................................................................1-166 DYSMF49 COPY Parameters .............................................................1-166 Invoking the DYSMF49 COPY Function....................................................1-168
![Page 5: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/5.jpg)
Contents v
DYSMF52 COPY Function ....................................................................1-173 DYSMF52 COPY Parameters .............................................................1-173 Invoking the DYSMF52 COPY Function....................................................1-174
DYSMF53 COPY Function ....................................................................1-178 DYSMF53 COPY Parameters .............................................................1-178 Invoking the DYSMF53 COPY Function....................................................1-179
DYSMF54 COPY Function ....................................................................1-183 DYSMF54 COPY Parameters .............................................................1-183 Invoking the DYSMF54 COPY Function....................................................1-185
DYSMF55 COPY Function ....................................................................1-188 DYSMF55 COPY Parameters .............................................................1-188 Invoking the DYSMF55 COPY Function....................................................1-189
DYSMF56 COPY Function ....................................................................1-192 DYSMF56 COPY Parameters .............................................................1-192 Invoking the DYSMF56 COPY Function....................................................1-193
DYSMF58 COPY Function ....................................................................1-194 DYSMF58 COPY Parameters .............................................................1-194 Invoking the DYSMF58 COPY Function....................................................1-195
DYSMF60 COPY Function ....................................................................1-198 DYSMF60 COPY Parameters .............................................................1-198 Invoking the DYSMF60 COPY Function....................................................1-200
DYSMF61 COPY Function ....................................................................1-204 DYSMF61 COPY Parameters .............................................................1-204 Invoking the DYSMF61 COPY Function....................................................1-206
DYSMF62 COPY Function ....................................................................1-210 DYSMF62 COPY Parameters .............................................................1-210 Invoking the DYSMF62 COPY Function....................................................1-212
DYSMF63 COPY Function ....................................................................1-216 DYSMF63 COPY Parameters .............................................................1-216 Invoking the DYSMF63 COPY Function....................................................1-218
DYSMF64 COPY Function ....................................................................1-222 DYSMF64 COPY Parameters .............................................................1-222 Invoking the DYSMF64 COPY Function....................................................1-224
DYSMF65 COPY Function ....................................................................1-230 DYSMF65 COPY Parameters .............................................................1-230 Invoking the DYSMF65 COPY Function....................................................1-232
DYSMF66 COPY Function ....................................................................1-236 DYSMF66 COPY Parameters .............................................................1-236 Invoking the DYSMF66 COPY Function....................................................1-238
DYSMF67 COPY Function ....................................................................1-242 DYSMF67 COPY Parameters .............................................................1-242 Invoking the DYSMF67 COPY Function....................................................1-243
![Page 6: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/6.jpg)
vi SMF/RMF Reporting Guide
DYSMF68 COPY Function ....................................................................1-248 DYSMF68 COPY Parameters .............................................................1-248 Invoking the DYSMF68 COPY Function....................................................1-249
DYSMF70 COPY Function ....................................................................1-254 DYSMF70 COPY Parameters .............................................................1-254 Invoking the DYSMF70 COPY Function....................................................1-255
DYSMF71 COPY Function ....................................................................1-267 DYSMF71 COPY Parameters .............................................................1-267 Invoking the DYSMF71 COPY Function....................................................1-268
DYSMF72 COPY Function ....................................................................1-279 DYSMF72 COPY Parameters .............................................................1-279 Invoking the DYSMF72 COPY Function....................................................1-280
DYSMF73 COPY Function ....................................................................1-288 DYSMF73 COPY Parameters .............................................................1-288 Invoking the DYSMF73 COPY Function....................................................1-289
DYSMF74 COPY Function ....................................................................1-296 DYSMF74 COPY Parameters .............................................................1-296 Invoking the DYSMF74 COPY Function....................................................1-297
DYSMF75 COPY Function ....................................................................1-311 DYSMF75 COPY Parameters .............................................................1-311 Invoking the DYSMF75 COPY Function....................................................1-312
DYSMF76 COPY Function ....................................................................1-317 DYSMF76 COPY Parameters .............................................................1-317 Invoking the DYSMF76 COPY Function....................................................1-318
DYSMF80 COPY Function ....................................................................1-325 DYSMF80 COPY Parameters .............................................................1-325 Invoking the DYSMF80 COPY Function....................................................1-327
DYSMF81 COPY Function ....................................................................1-334 DYSMF81 COPY Parameters .............................................................1-334 Invoking the DYSMF81 COPY Function....................................................1-335
DYSMF90 COPY Function ....................................................................1-336 DYSMF90 COPY Parameters .............................................................1-336 Invoking the DYSMF90 COPY Function....................................................1-337
DYSMF101 COPY Function...................................................................1-342 DYSMF101 COPY Parameters ............................................................1-342 Invoking the DYSMF101 COPY Function ..................................................1-343
DYRMF70 COPY Function ....................................................................1-354 DYRMF70 COPY Parameters .............................................................1-354 Invoking the DYRMF70 COPY Function....................................................1-355
DYRMF71 COPY Function ....................................................................1-370 DYRMF71 COPY Parameters .............................................................1-370 Invoking the DYRMF71 COPY Function....................................................1-371
![Page 7: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/7.jpg)
Contents vii
DYRMF72 COPY Function ....................................................................1-382 DYRMF72 COPY Parameters .............................................................1-382 Invoking the DYRMF72 COPY Function....................................................1-383
DYRMF73 COPY Function ....................................................................1-391 DYRMF73 COPY Parameters .............................................................1-391 Invoking the DYRMF73 COPY Function....................................................1-392
DYRMF74 COPY Function ....................................................................1-399 DYRMF74 COPY Parameters .............................................................1-399 Invoking the DYRMF74 COPY Function....................................................1-400
DYRMF75 COPY Function ....................................................................1-415 DYRMF75 COPY Parameters .............................................................1-415 Invoking the DYRMF75 COPY Function....................................................1-416
DYRMF76 COPY Function ....................................................................1-422 DYRMF76 COPY Parameters .............................................................1-422 Invoking the DYRMF76 COPY Function....................................................1-423
![Page 8: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/8.jpg)
![Page 9: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/9.jpg)
Chapter 1: SMF and RMF COPY Functions 1–1
Chapter 1: SMF and RMF COPY Functions
Advantage VISION:Excel is capable of extensive reporting on SMF (System Management Facilities) and RMF (Resource Measurement Facility) records. Reporting is on a record type basis. For most record types, two types of reports can be requested — a short form report that lists the more important fields in the record and a long form report that lists all of the fields in the record. Record types that do not support both formats automatically default to the long form format.
Using COPY function The SMF reporting capability is implemented through the use of the COPY function. The name of each COPY function is either in the format DYSMFxx, where xx is the SMF record type, or DYRMFxx, where xx is the RMF record type. Each COPY function allows for record selection by a date/time span bound by a lower date and time and an upper date and time. Four COPY variables, #1, #2, #3, and #4, are available in each COPY function to set the date/time span. The #L and #S COPY variables allow for the selection of the long form (#L) report or the short form (#S) report. Also, many of the COPY functions contain variables that can be used to set the sort sequence of the report.
Additionally, the Advantage VISION:Results field definitions for each SMF record type are available in separate COPY members called SMFxxREC, where xx is the record type. These COPY members can be used if you want to write your own SMF and RMF Advantage VISION:Results processing programs.
Advantage VISION:Excel supports MVS/ESA™ and OS/390® SMF/RMF records.
![Page 10: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/10.jpg)
Using COPY function
1–2 SMF/RMF Reporting Guide
Advantage VISION:Excel supports the following SMF and RMF records types:
Record Type Description
0 IPL
2 Dump Header
3 Dump Trailer
4 STEP TERMINATION
5 JOB TERMINATION
6 SYSOUT PROCESSING (external writer)
7 DATA LOST
14 INPUT OR RDBACK DATA SET ACTIVITY
15 OUTPUT, UPDAT, INOUT, OR OUTIN DATA SET ACTIVITY
17 SCRATCH DATA SET STATUS
18 RENAME DATA SET STATUS
19 DIRECT ACCESS VOLUME
20 JOB INITIATION
21 ERROR STATISTICS BY VOLUME
26 JES2 OUTPUT WRITER (job purge)
30 COMMON ADDRESS SPACE WORK RECORD
32 TSO/E User Work Accounting
34 TSO STEP TERMINATION
35 LOGOFF
40 DYNAMIC DD
43 JES2/JES3 Start
45 JES2 Withdrawal/JES3 Stop
47 JES2/JES3 Sign On/Start Line
48 JES2/JES3 Sign Off/Stop Line
49 JES2 INTEGRITY (BSC only)
52 JES2 Logon/Start Line
53 JES2 Logoff/Stop Line
54 JES2 INTEGRITY (SNA only)
55 JES2 Network Signon
![Page 11: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/11.jpg)
Using COPY function
Chapter 1: SMF and RMF COPY Functions 1–3
Record Type Description
56 JES2 Network Integrity
58 JES2 Network Signoff
60 VSAM VOLUME DATA SET UPDATED
61 INTEGRATED CATALOG FACILITY DEFINE ACTIVITY
62 VSAM COMPONENT OR CLUSTER OPENED
63 VSAM CATALOG ENTRY DEFINED
64 VSAM COMPONENT OR CLUSTER STATUS
65 INTEGRATED CATALOG FACILITY DELETE ACTIVITY
66 INTEGRATED CATALOG FACILITY ALTER ACTIVITY
67 VSAM ENTRY DELETED
68 VSAM ENTRY RENAMED
70 SMF (MF1) CPU ACTIVITY
71 SMF (MF1) PAGING ACTIVITY
72 SMF (MF1) WORKLOAD ACTIVITY
73 SMF (MF1) CHANNEL PATH ACTIVITY
74 SMF (MF1) DEVICE ACTIVITY
75 SMF (MF1) PAGE/SWAP DATA SET ACTIVITY
76 SMF (MF1) TRACE ACTIVITY
80 RACF® PROCESSING RECORD
81 RACF Initialization
90 System Status
101 Database 2 Accounting
![Page 12: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/12.jpg)
Using COPY function
1–4 SMF/RMF Reporting Guide
RMF reporting for the following record types:
Record Type Description
70 RMF CPU ACTIVITY
71 RMF PAGING ACTIVITY
72 RMF WORKLOAD ACTIVITY AND STORAGE DATA
73 RMF CHANNEL PATH ACTIVITY
74 RMF DEVICE ACTIVITY
75 RMF PAGE/SWAP ACTIVITY
76 RMF TRACE ACTIVITY
![Page 13: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/13.jpg)
DYSMF0 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–5
DYSMF0 COPY Function The DYSMF0 COPY function can be used to print SMF type 0 records in two report formats — a long format and a short format. SMF type 0 records contain information that is pertinent to IPL. The examples for DYSMF0 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF0 Record Definition COPYLIB(SMF00REC).
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name and by the date and time the record was moved to the SMF buffer.
DYSMF0 COPY Parameters
Ten parameters can be varied in the DYSMF0 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameter #5 controls the sort sequence of the printed records. Parameters #6 and #7 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF0SID SMF0DTE SMF0TME” (system ID, date, and time).
![Page 14: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/14.jpg)
DYSMF0 COPY Function
1–6 SMF/RMF Reporting Guide
Parameter Description
#6 #6 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#7 #7 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be
NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF0 COPY Function
DYSMF0 COPY Function: Example 1
Print all records with SMF buffer date and time between 08:00 P.M. and 11:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF0LNG ;RECORD LENGTH
STATUS SMF0END ;END OF FILE
COPY SMF00REC
COPY DYSMF0 #1=”'08/04/97'” #2=”'20:00:00'”
#3=”'08/04/97'” #4=”'23:00:00'”
#5='SMF0SID SMF0DTE SMF0TME'
#L=YES #S=NULL
FIN
![Page 15: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/15.jpg)
DYSMF0 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–7
DYSMF0 COPY Function: Example 2
Print all records regardless of date and time in system ID (SMF0SID), date (SMF0DTE), and time (SMF0TME) sequence. Use the short report format.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF0LNG ;RECORD LENGTH
STATUS SMF0END ;END OF FILE
COPY SMF00REC
COPY DYSMF0 #5='SMF0SID SMF0DTE SMF0TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF00REC statement and the COPY DYSMF0 statement. For instance, in the example shown above the following code:
IF SMF00SID NE 'P01'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF0 Short Formatted Report
08/10/97 09.00.18 SMF RECORD TYPE 0 SHORT REPORT IPL PAGE 1
RECORD TIME RECORD DATE RECORD SYSTEM NUMBER OF BYTES LIMIT IN MINUTES NUMBER OF 1K NUMBER OF 1K NUMBER MOVED TO MOVED TO ID IN SMF BUFFER OF CONTINUOUS BYTES IN BYTES IN BUFFER BUFFER WAIT FOR JOB VIRTUAL STORAGE REAL STORAGE
-----------------------------------------------------------------------------------------------------------------------
1 20:02:15.12 08/04/97 CPUD 40,960 15 2,097,152 48,768
2 20:01:37.14 08/04/97 CPUD 40,960 15 2,097,152 48,768
4 20:09:23.29 08/04/97 CPUD 40,960 15 2,097,152 48,768
5 20:09:23.29 08/04/97 CPUD 40,960 15 2,097,152 48,768
6 20:19:40.58 08/04/97 CPUD 40,960 15 2,097,152 48,768
7 20:19:40.58 08/04/97 CPUD 40,960 15 2,097,152 48,768
8 05:15:10.21 08/04/97 CPUD 40,960 15 2,097,152 48,768
9 05:15:10.21 08/04/97 CPUD 40,960 15 2,097,152 48,768
10 05:20:45.95 08/04/97 CPUD 40,960 15 2,097,152 48,768
11 05:20:45.95 08/04/97 CPUD 40,960 15 2,097,152 48,768
NUMBER OF RECORDS PRINTED: 11
![Page 16: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/16.jpg)
DYSMF0 COPY Function
1–8 SMF/RMF Reporting Guide
DYSMF0 Long Formatted Report
08/10/97 15.21.03 SMF RECORD TYPE 0 LONG REPORT IPL PAGE 1
HEADER SECTION
**************
OPERATING SYSTEM MVS/ESA
TIME RECORD WAS MOVED TO SMF BUFFER 20:01:37.14 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM ID CPUD 1K BYTES IN CENTRAL (REAL) STORAGE 48,768
NUMBER OF BYTES IN THE SMF BUFFER 40,960 1K BYTES IN VIRTUAL STORAGE 2,097,152
LIMIT IN MINUTES, OF CONTINUOUS WAIT 15
SMF OPTIONS
DATA SET ACCOUNTING
VOLUME ACCOUNTING
HEADER SECTION
**************
OPERATING SYSTEM MVS/ESA
TIME RECORD WAS MOVED TO SMF BUFFER 20:01:37.14 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM ID CPUD 1K BYTES IN CENTRAL (REAL) STORAGE 48,768
NUMBER OF BYTES IN THE SMF BUFFER 40,960 1K BYTES IN VIRTUAL STORAGE 2,097,152
LIMIT IN MINUTES, OF CONTINUOUS WAIT 15
SMF OPTIONS
DATA SET ACCOUNTING
VOLUME ACCOUNTING
HEADER SECTION
**************
OPERATING SYSTEM MVS/ESA
TIME RECORD WAS MOVED TO SMF BUFFER 20:09:23.29 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM ID CPUD 1K BYTES IN CENTRAL (REAL) STORAGE 48,768
NUMBER OF BYTES IN THE SMF BUFFER 40,960 1K BYTES IN VIRTUAL STORAGE 2,097,152
LIMIT IN MINUTES, OF CONTINUOUS WAIT 15
SMF OPTIONS
DATA SET ACCOUNTING
VOLUME ACCOUNTING
DYSMF0 Record Definition COPYLIB(SMF00REC)
SMFRCD0 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD0
SMF0FLG 1 1 BI ;HEADER FLAG BYTE
SMF0RTY 1 2 BI ;RECORD TYPE 0
SMF0TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL
![Page 17: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/17.jpg)
DYSMF0 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–9
SMF0DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM: 00YYDDDF
SMF0SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF0JWT 4 15 BI ;JOB WAIT TIME DEFAULT VALUE IN MINUTES(BINARY)
SMF0BUF 4 19 BI ;SMF BUFFER SIZE IN BYTES(BINARY)
SMF0VST 4 23 BI ;VIRTUAL STORAGE SIZE IN K BLOCKS(BINARY)
SMF0OPT 1 27 BI ;OPTIONS BYTE:
* BIT0 — SYSTEM & JOB DATA TO BE COLLECTED
* BIT1 — STEP DATA TO BE COLLECTED
* BIT2 — EXITS REQUESTED
* BIT3 — DATA SET ACCOUNTING
* BIT4 — VOLUME ACCOUNTING
* BIT5 — RESERVED(WAS ESV IN 14 AND 15)
* BIT6 — TEMPORARY DATA SET SCRATCH RECORDS
* BIT7 — =0 BACKGROUND JOB; =1 FOREGROUND JOB
SMF0RST 4 28 BI ;REAL STORAGE SIZE IN K BLOCKS(BINARY)
![Page 18: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/18.jpg)
DYSMF2 COPY Function
1–10 SMF/RMF Reporting Guide
DYSMF2 COPY Function The DYSMF2 COPY function can be used to print SMF type 2 records in two report formats — a long format and a short format. SMF type 2 records contain information that is pertinent to DUMP HEADER. An example for DYSMF2 long formatted report is shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF2 Record Definition COPYLIB(SMF02REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF2 COPY Parameters
Twelve parameters can be varied in the DYSMF2 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Note: As the SMF Type 2 record consist of only three fields, the long formatted report and the short formatted report present the same information.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 19: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/19.jpg)
DYSMF2 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–11
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF2SID SMF2DTE SMF2TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value. #S is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF2 COPY Function
DYSMF2 COPY Function : Example
Print all type 2 records with SMF buffer date and time that are between the default values of 00:00:00 and 99:99:99 for time and 00/00/00 to 99/99/99 for the date. Print the records using the long format and the report sorted by job name, step number and initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF2LNG ;RECORD LENGTH
STATUS SMF2EOF ;END-OF-FILE
COPY SMF02REC
COPY DYSMF2 #1=”'00/00/00'” #2=”'00:00:00'”
#3=”'99/99/99'” #4=”'99:99:99'”
#5='SMF2SID SMF2DTE SMF2TME'
#L=YES #S=NULL
FIN
![Page 20: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/20.jpg)
DYSMF2 COPY Function
1–12 SMF/RMF Reporting Guide
DYSMF2 Long Formatted Report
02/27/06 17.16.22 SMF RECORD 02 LONG REPORT DUMP HEADER PAGE 1
TIME DATE SYSTEM
RECORD RECORD ID
WRITTEN WRITTEN
----------------------------------------------------
16:53:07.90 10/10/05 DVR99
15:40:30.15 02/24/06 DVR99
NUMBER OF RECORDS PRINTED: 2
DYSMF2 Record Definition COPYLIB(SMF02REC)
SMFRCD2 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD2
SMF2FLG 1 1 BI ;SYSTEM INDICATOR
******************************************
* R E C O R D: SMF02REC *
* *
* R E C O R D T Y P E 2 (02) *
* D U M P H E A D E R *
* *
******************************************
SMF2RTY 1 2 BI ;RECORD TYPE
SMF2TME 4 3 BI ;TIME WHEN MOVED INTO DUMP DATASET
SMF2DTE 4 7 PD ;DATE WHEN MOVED INTO DUMP DATASET
SMF2SID 4 11 CH ;SYSTEM IDENTIFICATION FROM SID PARAM
![Page 21: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/21.jpg)
DYSMF3 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–13
DYSMF3 COPY Function The DYSMF3 COPY function can be used to print SMF type 3 records in two report formats — a long format and a short format. SMF type 3 records contain information that is pertinent to DUMP TRAILER. An example for DYSMF3 long formatted report is shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF3 Record Definition COPYLIB(SMF03REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF3 COPY Parameters
Twelve parameters can be varied in the DYSMF3 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Note: As the SMF Type 3 record consist of only three fields, the long formatted report and the short formatted report present the same information.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 22: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/22.jpg)
DYSMF3 COPY Function
1–14 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF3SID SMF3DTE SMF3TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value. #S is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF3 COPY Function
DYSMF3 COPY Function : Example
Print all type 3 records with SMF buffer date and time that are between the default values of 00:00:00 and 99:99:99 for time and 00/00/00 to 99/99/99 for the date. Print the records using the long format and the report sorted by job name, step number and initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF3LNG ;RECORD LENGTH
STATUS SMF3EOF ;END-OF-FILE
COPY SMF03REC
COPY DYSMF3 #1=”'00/00/00'” #2=”'00:00:00'”
#3=”'99/99/99'” #4=”'99:99:99'”
#5='SMF3SID SMF3DTE SMF3TME'
#L=YES #S=NULL
FIN
![Page 23: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/23.jpg)
DYSMF4 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–15
DYSMF3 Long Formatted Report
02/28/06 10.23.51 SMF RECORD 03 LONG REPORT DUMP TRAILER PAGE 1
TIME DATE SYSTEM
RECORD RECORD ID
WRITTEN WRITTEN
----------------------------------------------------
19:47:52.59 10/10/05 DVR99
15:40:30.30 02/24/06 DVR99
NUMBER OF RECORDS PRINTED: 2
DYSMF3 Record Definition COPYLIB(SMF03REC)
SMFRCD3 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD3
SMF3FLG 1 1 BI ;SYSTEM INDICATOR
******************************************
* R E C O R D: SMF03REC *
* *
* R E C O R D T Y P E 3 (03) *
* D U M P T R A I L E R *
* *
******************************************
SMF3RTY 1 2 BI ;RECORD TYPE
SMF3TME 4 3 BI ;TIME WHEN MOVED INTO DUMP DATASET
SMF3DTE 4 7 PD ;DATE WHEN MOVED INTO DUMP DATASET
SMF3SID 4 11 CH ;SYSTEM IDENTIFICATION FROM SID PARAM
DYSMF4 COPY Function The DYSMF4 COPY function can be used to print SMF type 4 records in two report formats — a long format and a short format. SMF type 4 records contain information that is pertinent to STEP TERMINATION. The examples for DYSMF4 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF4 Record Definition COPYLIB(SMF04REC).
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, step number, initiator selected step date and time, and step terminated date and time.
![Page 24: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/24.jpg)
DYSMF4 COPY Function
1–16 SMF/RMF Reporting Guide
DYSMF4 COPY Parameters
Twelve parameters can be varied in the DYSMF4 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF4JBN SMF4STN SMF5TID”. If you want to sort up to three fields, you can override this parameter by specifying the name of the fields under #5 and defining #6 as equal to NULL since #6 has its own default value.
For example, if you want to sort on the two fields, SMF4JBN and SMF4STN, you can specify #5 as equal to “SMF4JBN SMF4STN” and #6 as equal to NULL.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is “SMF4SIT SMF4DTE SMF4TME”. If you want to sort up to six fields, you can override both #5 and #6 parameters by specifying the name of the fields under #5 and #6.
For example, if you want to sort on the four fields, SMF4JBN, SMF4STN, SMF4DTE, and SMF4TME, you can specify #5 as equal to “SMF4JBN SMF4STN SMF4DTE”, and #6 as equal to “SMF4TME”.
![Page 25: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/25.jpg)
DYSMF4 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–17
Parameter Description
#7 #7 applies to sort fields 7 through 9. The default is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF4JBN, SMF4STN, SMF4STID, SMF4SIT, SMF4DTE, SMF4TME, and SMF4STMN, you can override all three parameters by specifying #5 as equal to “SMF4JBN, SMF4STN, SMF4STID”, #6 as equal to “SMF4SIT SMF4DTE SMF4TME”, and #7 as equal to “SMF4STMN”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF4 COPY Function
DYSMF4 COPY Function: Example 1
Print all records with SMF buffer date and time between 2 P.M. and 3 P.M. on August 4, 1997. Print the records using the long format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF4LNG ;RECORD LENGTH
STATUS SMF4END ;END OF FILE
COPY SMF04REC
COPY DYSMF4 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#5='SMF4JBN SMF4STN'
#L=YES #S=NULL
FIN
![Page 26: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/26.jpg)
DYSMF4 COPY Function
1–18 SMF/RMF Reporting Guide
DYSMF4 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF4JBN) and step number (SMF4STN) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF4LNG ;RECORD LENGTH
STATUS SMF4END ;END OF FILE
COPY SMF04REC
COPY DYSMF4 #5='SMF4JBN SMF4STN'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF04REC statement and the COPY DYSMF4 statement. For instance, in the example shown above the following code:
IF SMF04STMN NE 'STEP010'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 27: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/27.jpg)
DYSMF4 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–19
DYSMF4 Short Formatted Report
08/10/97 SHORT REPORT SMF RECORD TYPE 4 STEP TERMINATION PAGE 1 JOB STEP STEP PROGRAM INITIATOR INITIATOR STEP STEP STEP STEP NAME NO. NAME NAME SEL.STEP SEL.STEP TERMIN. TERMIN. RUN COMPLETION DATE TIME DATE TIME TIME CODE
EM9004C 1 STEP010 A900400 08/04/97 14:19:45.85 08/04/97 14:19:46.94 000:00:01.09 NORMAL COMPLETION:0000
1 STEP010 A900400 08/04/97 14:29:54.18 08/04/97 14:29:54.97 000:00:00.79 NORMAL COMPLETION:0000
EM9004P 1 STEP010 A900400 08/04/97 14:20:01.97 08/04/97 14:20:02.53 000:00:00.56 NORMAL COMPLETION:0000
JOB 1 IEFPROC IEBEDIT 08/04/97 14:19:15.84 08/04/97 14:19:16.14 000:00:00.30 NORMAL COMPLETION:0000
SMFDUMP1 1 CLEAR1 IFASMFDP 08/04/97 14:19:16.29 08/04/97 14:20:20.18 000:01:03.89 NORMAL COMPLETION:0000
T107S04V 1 STEPXXXX AMBLIST 08/04/97 14:31:29.01 08/04/97 14:31:30.49 000:00:01.48 NORMAL COMPLETION:0000
1 STEPXXXX AMBLIST 08/04/97 14:31:36.86 08/04/97 14:31:37.24 000:00:00.38 NORMAL COMPLETION:0000
T109C20O 1 STEP IEFBR14 08/04/97 14:21:42.34 08/04/97 14:21:42.38 000:00:00.04 NORMAL COMPLETION:0000
1 STEP IEFBR14 08/04/97 14:23:26.23 08/04/97 14:23:26.28 000:00:00.05 NORMAL COMPLETION:0000
T109P09 1 DWPRINT DDDMEDIT 08/04/97 14:23:56.43 08/04/97 14:24:01.19 000:00:04.76 NORMAL COMPLETION:0000
T109P33A 1 COB IKFCBL00 08/04/97 14:26:36.86 08/04/97 14:26:38.75 000:00:01.89 NORMAL COMPLETION:000C
2 LKED IEWL 08/04/97 14:26:38.77 08/04/97 14:26:38.79 000:00:00.02 STEP WAS FLUSHED :0000
T109P46B 1 IOBKRSTR IKJEFT01 08/04/97 14:20:36.88 08/04/97 14:20:39.46 000:00:02.58 NORMAL COMPLETION:0000
1 IOBKRSTR IKJEFT01 08/04/97 14:24:00.04 08/04/97 14:24:07.10 000:00:07.06 NORMAL COMPLETION:0000
T109P46R 1 RGSCOMP IKJEFT01 08/04/97 14:26:28.74 08/04/97 14:26:53.39 000:00:24.65 NORMAL COMPLETION:0000
T109P47B 1 DELETE IEFBR14 08/04/97 14:28:20.30 08/04/97 14:28:20.60 000:00:00.30 NORMAL COMPLETION:0000
1 DELETE IEFBR14 08/04/97 14:30:03.17 08/04/97 14:30:03.64 000:00:00.47 NORMAL COMPLETION:0000
2 WBRG100 IKJEFT01 08/04/97 14:28:20.61 08/04/97 14:29:06.06 000:00:45.45 SYSTEM ABEND :0222
T109P47U 1 STEP1 IKJEFT01 08/04/97 14:26:36.93 08/04/97 14:26:41.56 000:00:04.63 NORMAL COMPLETION:0000
1 STEP1 IKJEFT01 08/04/97 14:29:16.76 08/04/97 14:29:20.91 000:00:04.15 NORMAL COMPLETION:0000
2 STEP2 IKJEFT01 08/04/97 14:26:41.59 08/04/97 14:27:12.17 000:00:30.58 NORMAL COMPLETION:0000
2 STEP2 IKJEFT01 08/04/97 14:29:20.93 08/04/97 14:29:38.74 000:00:17.81 NORMAL COMPLETION:0000
3 S04A IEFBR14 08/04/97 14:27:12.19 08/04/97 14:27:12.35 000:00:00.16 NORMAL COMPLETION:0000
3 S04A IEFBR14 08/04/97 14:29:38.75 08/04/97 14:29:38.96 000:00:00.21 NORMAL COMPLETION:0000
4 S04 IEBGENER 08/04/97 14:27:12.37 08/04/97 14:27:13.26 000:00:00.89 NORMAL COMPLETION:0000
4 S04 IEBGENER 08/04/97 14:29:38.98 08/04/97 14:29:39.61 000:00:00.63 NORMAL COMPLETION:0000
5 S05 IEBGENER 08/04/97 14:27:13.29 08/04/97 14:27:13.53 000:00:00.24 NORMAL COMPLETION:0000
5 S05 IEBGENER 08/04/97 14:29:39.62 08/04/97 14:29:39.78 000:00:00.16 NORMAL COMPLETION:0000
NUMBER OF RECORDS PRINTED: 28
![Page 28: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/28.jpg)
DYSMF4 COPY Function
1–20 SMF/RMF Reporting Guide
DYSMF4 Long Formatted Report
08/10/97 LONG REPORT SMF RECORD TYPE 4 STEP TERMINATION PAGE 1 JOB NAME EM9004C RDR RECOGNIZED JOB CARD DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 RDR RECOGNIZED JOB CARD TIME 14:19:45.60
USER IDENTIFICATION INITIATOR SELECTED STEP DATE 08/04/97
STEP NUMBER 1 INITIATOR SELECTED STEP TIME 14:19:45.85
NO.OF CARD-IMAGE RECORDS 0 STEP TERMINATED DATE 08/04/97
ADDR SPACE DISPATCH.PRIORITY 121 STEP TERMINATED TIME 14:19:46.94
PROGRAM NAME A900400 STEP RUN TIME 000:00:01.09
STEP COMPLETION CODE (HEX) 0000- NORMAL COMPLETION STEP TERMINATION INDICATOR NORMAL COMPLETION
STEP NAME STEP010 ENTIRE PRIVATE ADDR SPACE 8193K
STORAGE USED FM TOP PRIV.AREA 188K STORAGE USED FM BTM PRIV.AREA 8196K
STORAGE PROTECT KEY (HEX) 80 DEVICE ALLOCATION START TIME 14:19:45.86
OFFSET FM REC HDR TO RELOCATE 157 PROBLEM PROGRAM START TIME 14:19:45.95
LENGTH OF DEVICE ENTRY 50 STEP CPU TIME UNDER SRBS 00:00:00.00
RECORD INDICATOR STORAGE IS VIRTUAL. DEVICE CLASS (HEX) 20 EXCP COUNT 2
CHANNEL ADDRESS (HEX) 04 UNIT ADDRESS (HEX) 13
UNIT TYPE (HEX) 0E DEVICE CLASS (HEX) 20 EXCP COUNT 3
CHANNEL ADDRESS (HEX) 04 UNIT ADDRESS (HEX) 14
UNIT TYPE (HEX) 0E DEVICE CLASS (HEX) 20 EXCP COUNT 3
CHANNEL ADDRESS (HEX) 04 UNIT ADDRESS (HEX) 26
UNIT TYPE (HEX) 0E
LENGTH OF ACCOUNTING SECTION 4 STEP CPU TIME UNDER TCBS 00:00:00.05
NO.OF ACCOUNTING FIELDS 0
ACCOUNTING FIELDS ---
NO.NON-VIO,NON-SWAP PAGE-INS 0 NO.NON-VIO,NON-SWAP PAGE-OUTS 0
NO.ADDR SPACE SWAP SEQUENCES 0 NO.OF PAGES SWAPPED IN 0
NO.OF PAGES SWAPPED OUT 0 NO.VIO PAGE-INS FOR THIS STEP 0
NO.VIO PAGE-OUTS FOR THE STEP 0 STEP SERVICE,IN SERVICE UNITS 1134
STEP TRANSACTION ACTIVE TIME 00:00:00.92 STEP PERFORMANCE GROUP NUMBER 1
STEP TRANSACTION RESIDENCY TM 00:00:00.92 NO.RECLAIMS FOR PRIVATE AREAS 0
NO.VIO RECLAIMS FOR THIS STEP 0 NO.OF COMMON AREA PAGE-INS 0
NO.OF COMMON AREA RECLAIMS 0 NO.OF PAGES STOLEN FM STORAGE 0
NO.PAGE SECONDS FOR THIS STEP 4.464 NO.LINK PACK AREA PAGE-INS 0
NO.LINK PACK AREA RECLAIMS 0 STEP CPU SERVICE 631
STEP I/O SERVICE 145 STEP MAIN STORAGE SERVICE 316
STEP SRBS SERVICE 42
**************************************************************************************************************************
![Page 29: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/29.jpg)
DYSMF4 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–21
DYSMF4 Record Definition COPYLIB(SMF04REC)
SMFRCD4 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD4
SMF4FLG 1 1 BI ;HEADER FLAG BYTE
SMF4RTY 1 2 BI ;RECORD TYPE 4
SMF4TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL.
SMF4DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM: 00YYDDDF
SMF4SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF4JBN 8 15 CH ;JOB NAME
SMF4RST 4 23 BI ;READER START TIME (IN 100THS SECONDS)
SMF4RSD 4 27 PD ;READER START DATE
SMF4UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF4STN 1 39 BI ;STEP NUMBER
SMF4SIT 4 40 BI ;STEP INITIATION TIME (IN 100THS SECONDS)
SMF4STID 4 44 PD ;STEP INITIATION DATE (PACKED DECIMAL FORMAT)
SMF4NCI 4 48 BI ;NUMBER OF CARD IMAGES IN DD DATA OR DD *
* DATA SETS
SMF4SCC 2 52 BI ;STEP COMPLETION CODE
SMF4PRTY 1 54 BI ;PRIORITY AT WHICH STEP WAS DISPATCHED :
* ACTUAL PRIORITY=251-(15-USER PRIORITY)*16
SMF4PGMN 8 55 CH ;PROGRAM NAME
SMF4STMN 8 63 CH ;STEP NAME
SMF4RSV5 2 71 BI ;RESERVED
SMF4SYST 2 73 BI ;SYSTEM AREA USED(TOP OF PRIVATE AREA)
SMF4H0ST 2 75 BI ;STORAGE USED(VIRT OR REAL-SEE SMF4RIN)
*SMF4STU EQU SMF4H0ST (LOW OF PRIVATE AREA)
SMF4RV1 2 77 BI ;RESERVED
SMF4RSH0 4 79 BI ;REGION SIZE REQ(PRIVATE AREA 1K UNIT)
* SMF4PRV EQU SMF4RSH0
SMF4SPK 1 83 BI ;STORAGE PROTECT KEY
SMF4STI 1 84 BI ;STEP TERMINATION INDICATOR
* BIT0 — RESERVED
* BIT1 — CANCELED AT EXIT IEFUJV
* BIT2 — CANCELED AT EXIT IEFUJI
* BIT3 — CANCELED AT EXIT IEFUSI
* BIT4 — CANCELED AT EXIT IEFACTRT
* BIT5 — STEP IS TO BE RESTARTED
* BIT6 — 0=NORMAL COMPLETION
* 1=ABEND
* BIT7 — 1=STEP FLUSHED
SMF4RV2 2 85 BI ;RESERVED
SMF4AST 4 87 BI ;DEVICE ALLOC START TIME
SMF4PPST 4 91 BI ;PROBLEM PROGRAM START TIME
SMF4RV3 1 95 BI ;RESERVED
SMF4SRBT 3 96 BI ;STEP CPU TIME UNDER SRB(.01 SEC)
SMF4RIN 2 99 BI ;RECORD INDICATORS
* BIT0—4 RESERVED
* 5 =1 DEVICE DATA NOT RECORDED
* 6 =1 POSSIBLE ERROR IN DEV ENTRY
![Page 30: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/30.jpg)
DYSMF4 COPY Function
1–22 SMF/RMF Reporting Guide
* 7 =0 STOR IS VIRTUAL, =1 STOR IS REAL
* 8-15 RESERVED
SMF4RLCT 2 101 BI ;OFFSET TO RELOCATE SECTION
SMF4LENN 2 103 BI ;LENGTH OF EXCP PORTION OF RECORD
* FOR EACH DEVICE ASSIGNED TO EACH DATA SET THERE IS AN 8 BYTE
* ENTRY HAVING THE FOLLOWING FORMAT:
* DEVICHDR 1 105
SMF4DEVC 1 105 BI ;DEVICE CLASS
SMF4UTYP 1 106 BI ;UNIT TYPE
SMF4CUAD 2 107 BI ;CHANNEL AND UNIT ADDRESS
* SMF4VDV EQU X'80' VIRTUAL INDICATOR
SMF4EXCP 4 109 BI ;COUNT OF EXCP'S ISSUED FOR THE DEVICE AND
* DATA SET
REDEFINE AT SMF4DEVC
ACCOUHDR 1 105
SMF4LNTH 1 105 BI ;TOTAL LENGTH OF CPU AND ACCT. SECTION
SMF4SETM 3 106 BI ;STEP CPU TIME UNDER TCB(.01SEC)
SMF4NAF 1 109 BI ;NUMBER OF ACCOUNTING FIELDS
SMF4ACTF 1 110 CH ;EXEC STATEMENT ACCOUNTING FIELDS(VARIABLE)
REDEFINE AT SMF4ACTF
*
* EACH ENTRY FOR AN ACCOUNTING FIELD CONTAINS THE LENGTH OF THE
* FIELD (1 BYTE,BINARY), FOLLOWED BY THE FIELD(EBCDIC). AN
* OMITTED FIELD IS REPRESENTED BY A LENGTH INDICATOR OF 0.
*
* RELOCATE SECTION
RELOCHDR 1 110
SMF4PGIN 4 110 BI ;NUMBER OF PAGE-INS
SMF4PGOT 4 114 BI ;NUMBER OF PAGE-OUTS
SMF4NSW 4 118 BI ;NUM OF SWAPS
*SMF4RGNS EQU SMF4NSW
SMF4PSI 4 122 BI ;PAGES SWAPPED IN
*SMF4SIN EQU SMF4PSI
SMF4PSO 4 126 BI ;PAGES SWAPPED OUT
*SMF4SOUT EQU SMF4PSO
SMF4VPI 4 130 BI ;VAM PAGE INS
SMF4VPO 4 134 BI ;VAM PAGE OUTS
* PERFORMANCE SECTION
SMF4SST 4 138 BI ; STEP SERVICE TIME
SMF4ACT 4 142 BI ; STEP ACTIVE TIME
SMF4PGNO 2 146 BI ; PERFORMANCE NUMBER
SMF4TRAN 4 148 BI ; STEP TRANSACTION RESIDENCY TIME
SMF4RECL 4 152 BI ; NUMBER OF RECLAIMS
REDEFINE AT SMF4RECL
SMF4CPM 4 152 BI ; ATTEMPTS TO READ DATA NOT SATISFIED DATA DEL
SMF4RCLM 4 156 BI ; NUMBER OF VIO RECLAIMS
SMF4CPGN 4 160 BI ; NUMBER OF COMMON PAGE-INS
SMF4CRCL 4 164 BI ; NUMBER OF COMMON RECLAIMS
REDEFINE AT SMF4CRCL
![Page 31: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/31.jpg)
DYSMF4 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–23
SMF4HSPI 4 164 BI ; NUMBER OF HYPERSPACE PAGE-INS FROM AUX TO PRO
SMF4PGST 4 168 BI ; NUMBER OF PAGES STOLEN FROM THIS MEMORY
SMF4PSEC 8 172 CH ; COUNT OF PAGE SECONDS
SMF4LPAI 4 180 BI ; LPA PAGE INS
SMF4LPAR 4 184 BI ; LPA RECLAIMS
REDEFINE AT SMF4LPAR
SMF4HSPO 4 184 BI ; HYPERSPACE PAGE OUTS FROM PROCESSOR TO AUX
SMF4CPUS 4 188 BI ; STEP CPU SERVICE
SMF4IOCS 4 192 BI ; STEP I/O SERVICE
SMF4MSOS 4 196 BI ; STEP MAIN STORAGE SERVICE
SMF4SRBS 4 200 BI ; STEP SRB SERVICE
![Page 32: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/32.jpg)
DYSMF5 COPY Function
1–24 SMF/RMF Reporting Guide
DYSMF5 COPY Function The DYSMF5 COPY function can be used to print SMF type 5 records in two report formats — a long format and a short format. SMF type 5 records contain information that is pertinent to JOB TERMINATION. The examples for DYSMF5 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF5 Record Definition COPYLIB(SMF05REC).
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job input class, number of job steps, initiator selected job date, and initiator selected job time.
DYSMF5 COPY Parameters
Twelve parameters can be varied in the DYSMF5 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 33: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/33.jpg)
DYSMF5 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–25
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF5JBN SMF5JICL SMF5NST”. If you want to sort up to three fields, you can override this parameter by specifying the name of the fields under #5 and defining #6 as equal to NULL since #6 has its own default value.
For example, if you want to sort on the two fields, SMF5JBN and SMF5NST, you can specify #5 as equal to “SMF5JBN SMF5NST” and #6 as equal to NULL.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is “SMF5JID SMF5JIT”. If you want to sort up to six fields, you can override both #5 and #6 parameters by specifying the name of the fields under #5 and #6.
For example, if you want to sort on the four fields, SMF5JBN, SMF5NST, SMF5JID, and SMF5JIT, you can specify #5 as equal to “SMF5JBN SMF5NST SMF5JID”, and #6 as equal to “SMF5JIT”.
#7 #7 applies to sort fields 7 through 9. The default is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF5JBN, SMF5JID, SMF5JIT, SMF5RSD, SMF5RST, SMF5DTE, and SMF5TME, you can override all three parameters by specifying #5 as equal to “SMF5JBN SMF5JID SMF5JIT”, #6 as equal to “SMF5RSD SMF5RST SMF5DTE”, and #7 as equal to “SMF5TME”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 34: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/34.jpg)
DYSMF5 COPY Function
1–26 SMF/RMF Reporting Guide
Invoking the DYSMF5 COPY Function
DYSMF5 COPY Function: Example 1
Print all records with SMF buffer date and time between 2 P.M. and 3 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF5LNG ;RECORD LENGTH
STATUS SMF5END ;END OF FILE
COPY SMF05REC
COPY DYSMF5 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#5= 'SMF5JBN SMF5PRGN'
#L=YES #S=NULL
FIN
DYSMF5 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF5JBN) and programmer's name (SMF5PRGN) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF5LNG ;RECORD LENGTH
STATUS SMF5END ;END OF FILE
COPY SMF05REC
COPY DYSMF5 #5= 'SMF5JBN SMF5PRGN'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF05REC statement and the COPY DYSMF5 statement. For instance, in the example shown above the following code:
IF SMF05SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 35: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/35.jpg)
DYSMF5 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–27
DYSMF5 Short Formatted Report
08/10/97 SMF RECORD TYPE 5 SHORT REPORT JOB TERMINATION PAGE 1 JOB JOB NO. NO. INIT. INIT. JOB JOB JOB JOB PROGRAMMER
NAME INPUT JOB CARD- SEL.JOB SEL.JOB TERMIN. TERMIN. RUN COMPLETION NAME
CLASS STEPS IMAGE RECS DATE TIME DATE TIME TIME CODE
CICSPRD2 Z 2 26 08/04/97 13:02:29 08/04/97 14:34:10 001:31:41.48 NORMAL COMPLETION:0000 CICSPRD2
Z 1 0 08/04/97 14:34:11 08/04/97 14:34:11 000:00:00.42 NORMAL COMPLETION:0000 CICSPRD2
EM9004C A 1 0 08/04/97 14:19:45 08/04/97 14:19:46 000:00:01.11 NORMAL COMPLETION:0000 GEN ACCT
A 1 0 08/04/97 14:29:54 08/04/97 14:29:55 000:00:00.82 NORMAL COMPLETION:0000 GEN ACCT
EM9004P A 1 0 08/04/97 14:20:01 08/04/97 14:20:02 000:00:00.59 NORMAL COMPLETION:0000 GEN ACCT
JOB 1 0 08/04/97 14:19:15 08/04/97 14:19:16 000:00:00.31 NORMAL COMPLETION:0000 ---
MOPPRINT A 7 7 08/04/97 14:33:52 08/04/97 14:37:45 000:03:53.12 NORMAL COMPLETION:0000 CUST ACCT
PRD201B A 3 2 08/04/97 14:34:06 08/04/97 14:34:43 000:00:36.78 NORMAL COMPLETION:0000 CICSPRD2
REVANAL A 2 1 08/04/97 14:33:33 08/04/97 14:35:35 000:02:01.58 NORMAL COMPLETION:0000 GEN ACCT
RMFPSTBW A 1 2 08/04/97 14:44:27 08/04/97 14:44:50 000:00:22.21 NORMAL COMPLETION:0000 WATKINS
SMFDUMP1 P 1 0 08/04/97 14:19:16 08/04/97 14:20:20 000:01:03.92 NORMAL COMPLETION:0000 OPERATIONS
T104G14Q A 2 145 08/04/97 14:35:16 08/04/97 14:35:22 000:00:05.85 NORMAL COMPLETION:0000 BLACKWELL-AUDITING
A 2 144 08/04/97 14:37:25 08/04/97 14:37:29 000:00:04.94 NORMAL COMPLETION:0000 BLACKWELL-AUDITING
T107S04V A 1 1 08/04/97 14:31:29 08/04/97 14:31:30 000:00:01.50 NORMAL COMPLETION:0000 WATKINS
A 1 1 08/04/97 14:31:36 08/04/97 14:31:37 000:00:00.39 NORMAL COMPLETION:0000 WATKINS
A 1 1 08/04/97 14:31:48 08/04/97 14:31:48 000:00:00.54 NORMAL COMPLETION:0000 WATKINS
A 1 1 08/04/97 14:31:55 08/04/97 14:31:55 000:00:00.54 NORMAL COMPLETION:0000 WATKINS
A 1 1 08/04/97 14:32:02 08/04/97 14:32:05 000:00:03.65 NORMAL COMPLETION:0000 WATKINS
T109C20O A 1 0 08/04/97 14:21:42 08/04/97 14:21:42 000:00:00.07 NORMAL COMPLETION:0000 DALE PIKE
A 1 0 08/04/97 14:23:26 08/04/97 14:23:26 000:00:00.07 NORMAL COMPLETION:0000 DALE PIKE
T109P09 A 1 0 08/04/97 14:23:56 08/04/97 14:24:01 000:00:04.79 NORMAL COMPLETION:0000 DW370
T109P33A A 2 0 08/04/97 14:26:36 08/04/97 14:26:38 000:00:01.96 NORMAL COMPLETION:0000 JIM JACKSON
A 2 0 08/04/97 14:35:44 08/04/97 14:35:45 000:00:01.22 NORMAL COMPLETION:0000 JIM JACKSON
A 2 0 08/04/97 14:40:01 08/04/97 14:40:03 000:00:02.31 NORMAL COMPLETION:0000 JIM JACKSON
A 2 0 08/04/97 14:43:09 08/04/97 14:43:10 000:00:01.37 NORMAL COMPLETION:0000 JIM JACKSON
T109P41A A 2 0 08/04/97 14:41:49 08/04/97 14:41:52 000:00:03.23 NORMAL COMPLETION:0000 CECIL HALLOCK
T109P41T A 3 2 08/04/97 14:42:27 08/04/97 14:42:34 000:00:06.93 NORMAL COMPLETION:0000 CECIL HALLOCK
T109P46B W 1 3 08/04/97 14:20:36 08/04/97 14:20:39 000:00:02.60 NORMAL COMPLETION:0000 1800-D HOOD
A 1 3 08/04/97 14:24:00 08/04/97 14:24:07 000:00:07.09 NORMAL COMPLETION:0000 1800-D HOOD
T109P46R A 1 1 08/04/97 14:26:28 08/04/97 14:26:53 000:00:24.66 NORMAL COMPLETION:0000 1800 - HOOD
T109P47B W 2 2 08/04/97 14:28:20 08/04/97 14:29:06 000:00:45.78 SYSTEM ABEND: 0222 GARDNER
W 4 2 08/04/97 14:30:03 08/04/97 14:33:05 000:03:02.29 NORMAL COMPLETION:000C GARDNER
T109P47U W 5 3 08/04/97 14:26:36 08/04/97 14:27:13 000:00:36.68 NORMAL COMPLETION:0000 RBDT COMPILE/UPLOAD
W 5 3 08/04/97 14:29:16 08/04/97 14:29:39 000:00:23.07 NORMAL COMPLETION:0000 RBDT COMPILE/UPLOAD
UPLOAD G 2 1800 08/04/97 14:45:08 08/04/97 14:45:45 000:00:37.10 NORMAL COMPLETION:0000 DATA ENTRY
NUMBER OF RECORDS PRINTED: 35
![Page 36: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/36.jpg)
DYSMF5 COPY Function
1–28 SMF/RMF Reporting Guide
DYSMF5 Long Formatted Report
08/10/97 SMF RECORD TYPE 5 LONG REPORT JOB TERMINATION PAGE 1
JOB NAME EM9004C RDR RECOGNIZED JOB CARD DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 RDR RECOGNIZED JOB CARD TIME 14:19:45.60
USER IDENTIFICATION RDR RECOG.END JOB CARD DATE 08/04/97
NO. OF JOB STEPS 1 RDR RECOG.END JOB CARD TIME 14:19:45.63
NO. OF CARD-IMAGE RECORDS 0 INITIATOR SELECTED JOB DATE 08/04/97
JOB COMPLETION CODE NORMAL COMPLETION: 0000 INITIATOR SELECTED JOB TIME 14:19:45.85
JOB TERMINATION INDICATOR NORMAL COMPLETION JOB TERMINATED DATE 08/04/97
JOB SELECTION PRIORITY 0 JOB TERMINATED TIME 14:19:46.96
JOB TRANSACTION RESIDENCY TM 00:00:00.92 JOB RUN TIME 000:00:01.11
READER DEVICE CLASS (HEX) 00 READER UNIT TYPE (HEX) 00
JOB INPUT CLASS A STORAGE PROTECT KEY (HEX) 80
LENGTH OF REST OF RECORD 31 JOB CPU TIME UNDER TCBS 00:00:00.05
PROGRAMMER'S NAME GEN ACCT NO.OF ACCOUNTING FIELDS 2
JOB SERVICE IN SERVICE UNITS 1,134
JOB TRANSACTION ACTIVE TIME 02:32:44.80
RELOCATE SECTION
****************
JOB CPU SERVICE IN SERVICE UNITS 631
JOB I/0 SERVICE IN SERVICE UNITS 145
JOB MAIN STORAGE SERVICE IN S. U. 316
JOB SRB SERVICE IN SERVICE UNITS 42
ACCOUNTING FIELD P101
9
************************************************************************************************************
![Page 37: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/37.jpg)
DYSMF5 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–29
DYSMF5 Record Definition COPYLIB(SMF05REC)
SMFRCD5 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD5
SMF5FLG 1 1 BI ;HEADER FLAG BYTE
SMF5RTY 1 2 BI ;RECORD TYPE 5
SMF5TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL.
SMF5DTE 4 7 PD ;DATE, PACKED DEC. FORM : 00YYDDDF(F IS A SIGN)
SMF5SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF5JBN 8 15 CH ;JOB NAME
SMF5RST 4 23 BI ;READER START TIME FOR JOB (IN 100THS/SECONDS)
SMF5RSD 4 27 PD ;READER START DATE, PACKED DECIMAL FORMAT
SMF5UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF5NST 1 39 BI ;NUMBER OF STEPS IN THE JOB
SMF5JIT 4 40 BI ;JOB INITIATION TIME (IN 100THS/SECONDS)
SMF5JID 4 44 PD ;JOB INITIATION DATE, PACKED DECIMAL FORMAT
SMF5NCI 4 48 BI ;NUMBER OF CARD—IMAGE RECORDS IN DD DATA OR DD*
* DATA SETS
SMF5JCC 2 52 BI ;JOB COMPLETION CODE
SMF5JPTY 1 54 BI ;JOB PRIORITY
SMF5RSTT 4 55 BI ;READER STOP TIME FOR JOB (IN 100THS/SECONDS)
SMF5RSTD 4 59 PD ;READER STOP DATE FOR JOB (IN PACKED DEC.FORM)
SMF5JBTI 1 63 BI ;JOB TERMINATION INDICATOR
* BIT0-RESERVED
* 1—CANCELED AT EXIT IEFUJV
* 2—CANCELED AT EXIT IEFUJI
* 3—CANCELED AT EXIT IEFUSI
* 4—CANCELED AT EXIT IEFACTRT
* 5—RESERVED
* 6—O=NORMAL COMPLETION
* 1=ABEND
* 7—RESERVED
SMF5SMCI 1 64 BI ;RESV—FORMERLY SYSOUT CLASSES INDICATOR
SMF5TRAN 4 65 BI ;TOTAL TRANSACTION RESIDENCY TIME
SMF5CKRE 1 69 BI ;RESV
SMF5RDCL 1 70 BI ;READER DEVICE CLASS
SMF5RUTY 1 71 BI ;READER UNIT TYPE
SMF5JICL 1 72 CH ;JOB INPUT CLASS
SMF5SPK 1 73 BI ;STORAGE PROTECT KEY
SMF5SRBT 3 74 BI ;JOB CPU TIME UNDER SRB(.01 SEC)
SMF5TJS 4 77 BI ;TOTAL JOB SERVICE(SERVICE UNITS)
SMF5TTAT 4 81 BI ;TOTAL TRANSACTION ACTIVE TIME FOR JOB
SMF5RV2 4 85 BI ;RESERVED
![Page 38: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/38.jpg)
DYSMF5 COPY Function
1–30 SMF/RMF Reporting Guide
SMF5PGNO 2 89 BI ;PERFORMANCE GROUP #
SMF5RV3 2 91 CH ;RESERVED
SMF5TLEN 1 93 BI ;TOTAL LENGTH OF ACCT SECT OF RECORD
SMF5PRGN 20 94 CH ;PROGRAMMER'S NAME
SMF5JCPU 3 114 BI ;JOB CPU TIME UNDER TCB(.01 SEC)
SMF5ACTF 1 117 BI ;NUMBER OF ACCOUNTING FIELDS
SMF5JSAF 1 118 CH ;JOB STATEMENT ACCOUNTING FIELDS(VARIABLE)
REDEFINE AT SMF5JSAF
*
* EACH ENTRY FOR AN ACCOUNTING FIELD CONTAINS THE LENGTH OF THE
* FIELD (1 BYTE,BINARY), FOLLOWED BY THE FIELD (EBCDIC). AN OMITTED
* FIELD IS REPRESENTED BY A LENGTH INDICATOR OF 0.
SMF5CPUS 4 118 BI ;JOB CPU SERVICE
SMF5IOCS 4 122 BI ;JOB I/O SERVICE
SMF5MSOS 4 126 BI ;JOB MAIN STORAGE SERVICE
SMF5SRBS 4 130 BI ;JOB SRB SERVICE
![Page 39: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/39.jpg)
DYSMF6 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–31
DYSMF6 COPY Function The DYSMF6 COPY function can be used to print SMF type 6 records in two report formats — a long format and a short format. SMF type 6 records contain information that is pertinent to SYSOUT PROCESSING. The examples for DYSMF6 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF6 Record Definition COPYLIB(SMF06REC).
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job number, SYSOUT class, SYSOUT start date, and SYSOUT start time.
DYSMF6 COPY Parameters
Twelve parameters can be varied in the DYSMF6 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 40: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/40.jpg)
DYSMF6 COPY Function
1–32 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF6JBN SMF6JNM SMF6OWC”. If you want to sort up to three fields, you can override this parameter by specifying the name of the fields under #5 and defining #6 as equal to NULL, since #6 has its own default value.
For example, if you want to sort on the two fields, SMF6JBN and SMF6OWC, you can specify #5 as equal to “SMF6JBN SMF6OWC” and #6 as equal to NULL.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is “SMF6WSD SMF6WST”. If you want to sort up to six fields, you can override both #5 and #6 parameters by specifying the name of the fields under #5 and #6.
For example, if you want to sort on the four fields, SMF6JBN, SMF6JNM, SMF6WSD, and SMF6WST, you can specify #5 as equal to “SMF6JBN SMF6JNM SMF6WSD” and #6 as equal to “SMF6WST”.
#7 #7 applies to sort fields 7 through 9. The default is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF6JBN, SMF6UIF, SMF6OWC, SMF6RSD, SMF6RST, SMF6DTE, and SMF6TME, you can override all three parameters by specifying #5 as equal to “SMF6JBN SMF6UIF SMF6OWC”, #6 as equal to “SMF6RSD SMF6RST SMF6DTE”, and #7 as equal to “SMF6TME”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 41: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/41.jpg)
DYSMF6 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–33
Invoking the DYSMF6 COPY Function
DYSMF6 COPY Function: Example 1
Print all records with SMF buffer date and time between 00:00 A.M. and 1:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF6LNG ;RECORD LENGTH
STATUS SMF6EOF ;END OF FILE
COPY SMF06REC
COPY DYSMF6 #1=”'08/04/97'” #2=”'00:00:00'”
#3=”'08/04/97'” #4=”'01:00:00'”
#5='SMF6JBN SMF6OWC'
#L=YES #S=NULL
FIN
DYSMF6 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF6JBN) and SYSOUT class (SMF6OWC) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF6LNG ;RECORD LENGTH
STATUS SMF6EOF ;END OF FILE
COPY SMF06REC
COPY DYSMF6 #5='SMF6JBN SMF6OWC'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF06REC statement and the COPY DYSMF6 statement. For instance, in the example shown above the following code:
IF SMF06FMN NE 'STD'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 42: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/42.jpg)
DYSMF6 COPY Function
1–34 SMF/RMF Reporting Guide
DYSMF6 Short Formatted Report
08/10/97 10.34.07 SMF RECORD TYPE 6 SHORT REPORT JES2 PAGE 1
JOB JOB SYSOUT FORM NUMBER OF SYSOUT SYSOUT OUTPUT LOGICAL APPROXIMATE
NAME NUMBER CLASS NUMBER LOGICAL START START ROUTE OUTPUT PHYSICAL
RECORDS BY DATE TIME CODE DEVICE NAME PAGE
WRITER (HEX) COUNT
---------------------------------------------------------------------------------------------------------------------------
AP20160 0000 A STD 278 08/04/97 00:09:17.42 0100 PRT2 9
AP20162 0000 A STD 3,096 08/04/97 00:34:52.68 0100 PRT2 68
DFHSM 0000 A STD 15 08/04/97 03:44:10.92 0100 PRT2 1
FD2D020 0000 A STD 16 08/04/97 06:33:33.96 015A R90.PR1 4
FD2D040 0000 A STD 30 08/04/97 06:30:21.76 015A R90.PR1 5
FD2D060 0000 A STD 821 08/04/97 06:34:34.37 0177 R119.PR1 40
FD2D065 0000 A STD 182 08/04/97 06:38:24.84 0177 R119.PR1 12
FD2RECVR 0000 A STD 23 08/04/97 02:58:20.52 01A0 R160.PR1 1
FD2RECVR 0000 A STD 26 08/04/97 03:03:48.49 01A0 R160.PR1 1
FD2RECVR 0000 A STD 23 08/04/97 03:11:32.33 01A0 R160.PR1 1
FD2RECVR 0000 A STD 32 08/04/97 03:31:24.57 01A0 R160.PR1 1
FD2RPT 0000 A STD 125 08/04/97 02:37:14.68 0191 R145.PR1 4
FD2RPT 0000 A STD 60 08/04/97 06:56:02.21 019E R158.PR1 2
FD2RPT 0000 A STD 119 08/04/97 07:04:38.33 0167 R103.PR1 4
FD2RPT 0000 A STD 130 08/04/97 07:05:22.56 0167 R103.PR1 4
FD2RPT 0000 A STD 126 08/04/97 07:06:05.83 0167 R103.PR1 4
FD2U030 0000 A STD 204 08/04/97 01:27:39.31 0100 PRT2 9
FD2U030 0000 A STD 204 08/04/97 01:27:40.29 015A R90.PR1 9
FD2U030 0000 A STD 2 08/04/97 01:27:55.87 0100 PRT2 1
FD2U055 0000 A STD 95 08/04/97 01:06:23.24 0100 PRT2 1
FD2U055 0000 A STD 7 08/04/97 01:06:23.62 015A R90.PR1 3
FD2U055 0000 A STD 83 08/04/97 01:06:23.66 018D R141.PR1 5
FD2U055 0000 A STD 178 08/04/97 01:06:36.02 0100 PRT2 15
FD2U055 0000 A STD 7 08/04/97 01:06:43.73 015A R90.PR1 3
FD2U055 0000 A STD 7 08/04/97 01:06:48.45 0100 PRT2 2
FD2WODA 0000 A STD 118 08/04/97 00:55:36.66 015A R90.PR1 11
FD21462 0000 A STD 39 08/04/97 01:17:55.59 0100 PRT2 2
FD21462 0000 A STD 39 08/04/97 01:17:55.81 015A R90.PR1 3
FD22810 0000 A PLY6 1,763 08/04/97 00:58:01.51 015A R90.PR1 47
FD22910 0000 A STD 14 08/04/97 01:00:01.19 015A R90.PR1 2
FD22952 0000 A STD 29 08/04/97 04:11:26.61 01A1 R161.PR1 1
FD22952 0000 A STD 20 08/04/97 04:11:49.81 01A1 R161.PR1 1
FD22952 0000 A STD 20 08/04/97 04:12:18.99 01A1 R161.PR1 1
![Page 43: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/43.jpg)
DYSMF6 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–35
FD22952 0000 A STD 29 08/04/97 04:13:39.47 01A1 R161.PR1 1
FD22952 0000 A STD 23 08/04/97 04:46:50.56 01A1 R161.PR1 1
NUMBER OF RECORDS PRINTED: 35
DYSMF6 Long Formatted Report
08/10/97 16.37.12 SMF RECORD TYPE 6 LONG REPORT JES2 PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 00:09:32.47 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID BEP1 JOB NAME AP20160
READER START TIME 00:08:58.65 READER START DATE 08/04/97
USER ID
SYSOUT CLASS, BLANK FOR NON-SYSOUT A LOGICAL OUTPUT DEVICE NAME PRT2
FORM NUMBER STD FCB IMAGE IDENTIFICATION PRINTER ONLY 6
JES ASSIGNED JOB NUMBER 0000 UCS IMAGE IDENTIFICATION PRINTER ONLY PN
WRITER START TIME 00:09:17.42 WRITER START DATE 08/04/97
STATUS INDICATORS (HEX) 40
IO ERROR INDICATOR (HEX) 00 DATA SET CONTROL INDICATORS (HEX) 00
RECORD LEVEL INDICATOR (HEX) 04
LOGICAL RECORDS HANDLED BY WRITER 278 DATA SETS PROCESSED BY THE OUTPUT 5
LENGTH OF SECTION INCLUDING THIS FIELD 30 APPROXIMATE PHYSICAL PAGE COUNT 9
SECTIONS PRESENT COMMON
DATA SET INDICATOR
OUTPUT ROUTE CODE, MEANING LOCAL ROUTINE OUTPUT ROUTE CODE (HEX) 0100
RECORD LEVEL INDICATOR
MVS/ESA JES2 SP4.1.0
SUBSYSTEM GENERATING ID, MEANING JES2 SUBSYSTEM GENERATING ID (HEX) 0002
JES ASSIGNED JOB NUMBER 0000 LOGICAL OUTPUT DEVICE NAME PRT2
FCB IMAGE IDENTIFICATION PRINTER ONLY 6 UCS IMAGE IDENTIFICATION PRINTER ONLY PN
JES2 COMMON SECTION
*******************
LENGTH OF SECTION INCLUDING THIS FIELD 162 OUTPUT ROUTE CODE JES2 COMMON SECTION (HEX) 00010000
OUTPUT FORM NUMBER STD JOB ID
THE STEP NAME OF THE JOB SESSION
PROCEDURE STEP NAME JOB30896 DD NAME ALLOCATED FOR CREATING THE DATA SET
USER ID ASSOCIATED WITH THE JOB/SESSION SECURITY LEVEL
NODE NAME AND NAME OF DATA SET BEING PRINTED CA7
OUTPUT USER SECURITY TOKEN LINE
![Page 44: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/44.jpg)
DYSMF6 COPY Function
1–36 SMF/RMF Reporting Guide
DYSMF6 Record Definition COPYLIB(SMF06REC)
SMFRCD6 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD6
SMF6FLG 1 1 BI ;HEADER FLAG BYTE
SMF6RTY 1 2 BI ;RECORD TYPE 6
* SMFJ6 EQU 6 PRINT/PUNCH RECORD TYPE
SMF6TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL
SMF6DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM: 00YYDDDF
SMF6SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF6JBN 8 15 CH ;JOB NAME
SMF6RST 4 23 BI ;RDR START TIME, TIME JOB CARD 1ST READ
SMF6RSD 4 27 PD ;READER START DATE 00YYDDDF
SMF6UIF 8 31 CH ;USER ID FIELD
SMF6OWC 1 39 CH ;OUTPUT WTR CLASS, BLANK FOR NON-SYSOUT
SMF6WST 4 40 BI ;WRITER START TIME
SMF6WSD 4 44 PD ;WRITER START DATE
SMF6NLR 4 48 BI ;# OF LOGICAL RECORDS HANDLED BY WRITER
* PER FORM # PER CLASS. INCLUDES REPEATS
* AND RESTARTS.
SMF6IOE 1 52 BI ;IO ERROR INDICATOR:
* BITS 0-4 — RESERVED
*SMF6DIE EQU X'04' 5 — DATA INPUT ERROR
* 6 — RESV
*SMFCBIE EQU X'01' 7 — CONTROL BLOCK INPUT ERROR
SMF6NDS 1 53 BI ;# OF DATA SETS PROCESSED BY THE OUTPUT
* WRITER AND INCLUDED IN THIS RECORD.
* (COUNT FOR EACH TIME A DS IS PRINTED)
* DOES NOT INCLUDE RESTARTS.
SMF6FMN 4 54 CH ;FORM NUMBER
SMF6PAD1 1 58 BI ;STATUS INDICATORS — THE SECTIONS WILL BE IN THE
* ORDER LISTED BELOW WHEN THE
* BIT IS TURNED ON
* BIT MEANING
*SMF6FEXT EQU X'80' 0 1 — FIRST EXTENSION PRESENT
*SMF6REXT EQU X'40' 1 1 — ROUTING SECTION PRESENT
*SMF6SEXT EQU X'20' 2 1 — SECOND EXTENSION PRESENT
* 3-7 — RESERVED
SMF6SBS 2 59 BI ;SUBSYSTEM GENERATING ID
* EXTWTR=0, JES2=2, JES3=5, PSF=7
SMF6LN1 2 61 BI ;LENGTH OF SECTION INCLUDING THIS FIELD
SMF6DCI 1 63 BI ;DS CONTROL INDICATORS FOR DATA GROUP
*SMF6DCRV EQU X'80' 0 — RESERVED
*SMF6SDS EQU X'40' 1 — SPUN OFF DS
*SMF6OCN EQU X'20' 2 — TERMINATED BY OPERATOR
*SMF6ORD EQU X'10' 3 — INTERRUPTED BY OPERATOR (JES2)
* OPERATOR RESTARTED DATA SET
* WITH DESTINATION (JES3)
*SMF6OR EQU X'08' 4 — RESTARTED BY OPERATOR
![Page 45: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/45.jpg)
DYSMF6 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–37
*SMF6ROR EQU X'04' 5 — CONT OF INTERRUPTED GROUP (JES2)
* RECEIVED OP RESTARTED DS(JES3)
*SMF6OSS EQU X'02' 6 — CARRIAGE OVERRIDDEN BY OPER(JES2)
* OPERATOR STARTED WITH
* SINGLE SPACE(JES3)
*SMF6INT EQU X'01' 7 — PUNCH WAS INTERRUPTED
SMF6INDC 1 64 BI ;INDICATOR BITS
* BITS 0-3 ARE RESERVED FOR FUTURE EXPANSION
* OF DATA SET CONTROL INDICATORS
* BITS 4-7 ARE RECORD LEVEL INDICATORS IN
* BIT VALUE FORMAT. EXAMPLE: LEVEL 1=X'01'
* LEVEL 12=X'0C'
* LEVEL 15=X'0F'
* THIS NUMBER WILL BE INCREMENTED BY 1
* EACH TIME A NEW RELEASE CHANGES THE RECORD
*SMF6LEV2 EQU X'01' THIS VARIABLE IS FOR JES2 TO SET THE LEVEL
* INDICATOR BITS. SMF WILL UPDATE THIS
* COUNT EACH TIME JES2 REQUESTS AN UPDATE TO
* THIS RECORD.
*SMF6LEV3 EQU X'01' THIS VARIABLE IS FOR JES3 TO SET THE LEVEL
* INDICATOR BITS. SMF WILL UPDATE THIS
* COUNT EACH TIME JES3 REQUESTS AN UPDATE TO
* THIS RECORD.
SMF6JNM 4 65 CH ;JES ASSIGNED JOB NUMBER
SMF6OUT 8 69 CH ;LOGICAL OUTPUT DEVICE NAME
* FOR THE 3820, ACF/VTAM LOGICAL UNIT NAME
SMF6FCB 4 77 CH ;FCB ID
SMF6UCS 4 81 CH ;UCS ID
* END OF RECORD FOR EXTERNAL WTR
SMF6PGE 4 85 BI ;APPROXIMATE PHYSICAL PAGE COUNT
*
SMF6J2S 1 CH ;BEGIN JES2 ONLY SECTION
REDEFINE AT SMF6J2S
SMF6RTE 2 89 BI ;OUTPUT ROUTE CODE OR ZERO
SMF6END2 1 91 BI ;END OF JES2 RECORD
REDEFINE AT SMF6J2S
SMF6J3S 1 CH ;BEGIN JES3 ONLY SECTION
REDEFINE AT SMF6J3S
SMF6DFE 2 89 BI ;DATA FORMAT ERROR INDICATORS
* BITS 0-5 — RESV
*SMF6CCE EQU X'02' 6 — SOME 1ST CHAR CONTROL DATA BAD,
* DEFAULT USED
*SMF6RBE EQU X'01' 7 — BAD RECORD LENGTH(TRUNCATE OR PAD)
* 8-15 — RESV
SMF6OPR 2 91 BI ;OUTPUT PRIORITY
SMF6GRP 8 93 CH ;LOGICAL OUTPUT DEVICE GROUP NAME
SMF6RSVJ 8 101 CH ;RESERVED FOR JES3
SMF6RSVU 4 109 CH ;RESERVED FOR USER
SMF6END 1 113 BI ;END OF JES3 RECORD
![Page 46: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/46.jpg)
DYSMF6 COPY Function
1–38 SMF/RMF Reporting Guide
*
* FIRST EXTENSION — NON-IMPACT PRINTING SUBSYSTEM SECTION
* THIS SECTION WILL ONLY BE PRESENT WHEN
* SMF6SBS IS SET TO 2, 5, OR 7 INDICATING THAT
* JES2, JES3, OR PSF HAS GENERATED THIS RECORD
*
REDEFINE AT SMF6LN1
SMF6LN2 2 61 BI ;LENGTH FIRST EXTENSION INCLUDING THIS FLD
SMF6CPS 1 63 CH ;COPIES DISTRIBUTION
* SMF6CPS OCCURS 8 TIMES.
SMF6CHR 4 71 CH ;TRANSLATE TABLE NAMES FRO CHARS PARM
* SMF6CHR OCCURS 4 TIMES.
SMF6MID 4 87 CH ;COPY MODIFICATION MODULE NAME
SMF6FLI 4 91 CH ;FLASH OVERLAY NAME
SMF6FLC 1 95 BI ;NUMBER OF COPIES FLASHED
SMF6BID 1 96 BI ;FLAG BYTE
*SMF6BTS EQU X'80' THE BTSS WAS USED FOR OUTPUT
*SMF6OPJ EQU X'40' OPTCD=J WAS USED FOR OUTPUT
*SMF6CSP EQU X'20' CUT SHEET PRINTER
SMF6FEND 1 97 BI ;END OF FIRST EXTENSION
*
* ROUTING SECTION — THIS SECTION WILL ONLY BE PRESENT WHEN
* SMF6SBS IS SET TO 2 OR 5 INDICATING THAT
* JES2 OR JES3 HAS GENERATED THIS RECORD
*
REDEFINE AT SMF6LN1
SMF6LN3 2 61 BI ;LENGTH OF SECTION INCLUDING THIS FIELD
SMF6ROUT 4 63 CH ;OUTPUT ROUTE CODE
SMF6EFMN 8 67 CH ;OUTPUT FORM NUMBER
FILLER 16 75 CH ;
SMF6JBID 8 91 CH ;JOB ID
SMF6STNM 8 99 CH ;STEP NAME, JOB/SESSION, CREATED DATA SET
SMF6PRNM 8 107 CH ;PROCEDURE STEP NAME
SMF6DDNM 8 115 CH ;DATA DEFINITION NAME
SMF6USID 8 123 CH ;USER ID RELATED TO CREATION OF DATA SET
SMF6SECS 8 131 CH ;SECURITY LEVEL OF THE CREATED DATA SET
SMF6PRMD 8 139 CH ;PROCESSING MODE OF THE DATA SET
SMF6DSNM 53 147 CH ;NAME OF THE DATA SET BEING PRINTED
FILLER 3 200 CH ;
SMF6OTOK 20 203 CH ;OUTPUT USER SECURITY TOKEN
SMF6REND 1 223 BI ;END OF ROUTING SECTION
;********* ;
ESS_HEADER 1 1 CH ;ENHANCED SYSOUT SUPPORT
REDEFINE AT ESS_HEADER
SMF6LN5 2 1 BI ;LENGTH OF ESS SECTION
SMF6SGID 4 3 BI ;SEGMENT IDENTIFIER
SMF6IND 1 7 BI ;SECTION INDICATOR
SMF6RSV 1 8 BI ;RESERVED
SMF6JDVT 8 9 CH ;JCL DEFINITION TABLE(JDT)
![Page 47: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/47.jpg)
DYSMF6 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–39
SMF6TUL 2 17 BI ;TEXT UNIT (SWBTU) DATA AREA LENGTH
SMF6TU 1 19 CH ;TEXT UNIT DATA AREA
*
REDEFINE AT ESS_HEADER
SMF6LN5 2 1 BI ;LENGTH OF ESS SECTION
SMF6SGID 4 3 BI ;SEGMENT IDENTIFIER
SMF6IND 1 7 BI ;SECTION INDICATOR
SMF6RSV 1 8 BI ;RESERVED
SMF6JDVT 8 9 CH ;JCL DEFINITION TABLE(JDT)
SMF6TUL 2 17 BI ;TEXT UNIT (SWBTU) DATA AREA LENGTH
SMF6TU 1 19 CH ;TEXT UNIT DATA AREA
*
* SECOND EXTENSION — APA (ALL POINTS ADDRESSABLE) PRINTING
* SUBSYSTEM SECTION
* THIS SECTION WILL ONLY BE PRESENT WHEN
* SMF6SBS IS SET TO 7 INDICATING THAT
* PSF HAS GENERATED THIS RECORD
*
REDEFINE AT SMF6LN1
SMF6LN4 2 61 BI ;LENGTH SECOND EXTENSION INCLUDING THIS FLD
SMF6RES 2 63 BI ;RESERVED
SMF6FONT 4 65 BI ;NUMBER OF FONTS USED
SMF6LFNT 4 69 BI ;NUMBER OF FONTS LOADED
SMF6OVLY 4 73 BI ;NUMBER OF OVERLAYS USED
SMF6LOLY 4 77 BI ;NUMBER OF OVERLAYS LOADED
SMF6PGSG 4 81 BI ;NUMBER OF PAGE SEGMENTS USED
SMF6LPSG 4 85 BI ;NUMBER OF PAGE SEGMENTS LOADED
SMF6IMPS 4 89 BI ;COUNT OF LOGICAL IMPRESSIONS PROCESSED
SMF6FEET 4 93 BI ;NUMBER OF FEET OF DOCUMENT PRINTED
* (ZERO FOR THE 3820)
SMF6PGDF 4 97 BI ;NUMBER OF PAGEDEFS USED
SMF6FMDF 4 101 BI ;NUMBER OF FORMDEFS USED
SMF6BIN 1 105 BI ;FLAG BYTE
*SMF6BIN1 EQU X'80' BIN1 WAS USED FOR ANY PART OF THE DATA SET
*SMF6BIN2 EQU X'40' BIN2 WAS USED FOR ANY PART OF THE DATA SET
SMF6PGOP 2 106 BI ;FLAG BYTE
*SMF6DUPS EQU X'80' STNDARD DUPLEX WAS USED FOR ANY PART OF DS
*SMF6DUPT EQU X'40' TUMBLE DUPLEX WAS USED FOR ANY PART OF DS
SMF6RES2 21 108 CH ;RESERVED
SMF6PDNM 8 129 CH ;PAGEDEF NAME
SMF6PTDV 8 137 CH ;PRINTDEV NAME
SMF6SEND 1 145 BI ;END OF SECOND EXTENSION
![Page 48: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/48.jpg)
DYSMF7 COPY Function
1–40 SMF/RMF Reporting Guide
DYSMF7 COPY Function The DYSMF7 COPY function can be used to print SMF type 7 records in two report formats — a long format and a short format. SMF type 7 records contain information that is pertinent to SMF DATA LOST. The examples for DYSMF7 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF7 Record Definition COPYLIB(SMF07REC).
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification, the date the record was built in the SMF buffer, the time the record was built in the SMF buffer, the “no SMF data sets were available” start date, and the “no SMF data sets were available” start time.
DYSMF7 COPY Parameters
Twelve parameters can be varied in the DYSMF7 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 49: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/49.jpg)
DYSMF7 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–41
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF7SID SMF7DTE SMF7TME”. If you want to sort up to three fields, you can override this parameter by specifying the name of the fields under #5 and defining #6 as equal to NULL since #6 has its own default value. For example, if you want to sort on the two fields, SMF7SID and SMF7NRO, you can specify #5 as equal to “SMF7SID SMF7NRO” and #6 as equal to NULL.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is “SMF7STD SMF7STM”. If you want to sort up to six fields, you can override both #5 and #6 parameters by specifying the name of the fields under #5 and #6.
For example, if you want to sort on the four fields, SMF7SID, SMF7DTE, SMF7TME, and SMF7NRO, you can specify #5 as equal to “SMF7SID SMF7DTE SMF7TME,” and #6 as equal to “SMF7NRO”.
#7 #7 applies to sort fields 7 through 9. The default is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF7RTY, SMF7SID, SMF7NRO, SMF7DTE, SMF7TME, SMF7STD, and SMF7STM, you can override all three parameters by specifying #5 as equal to “SMF7RTY SMF7SID SMF7NRO”, #6 as equal to “SMF7DTE SMF7TME SMF7STD”, and #7 as equal to “SMF7STM”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 50: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/50.jpg)
DYSMF7 COPY Function
1–42 SMF/RMF Reporting Guide
Invoking the DYSMF7 COPY Function
DYSMF7 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 2:20 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF7LNG ;RECORD LENGTH
STATUS SMF7END ;END OF FILE
COPY SMF07REC
COPY DYSMF07 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'14:20:00'”
#5= 'SMF7SID SMF7DTE SMF7TME'
#L=YES #S=NULL
FIN
DYSMF7 COPY Function: Example 2
Print all records regardless of date and time in system identification (SMF7SID), date (SMF7DTE), and time (SMF7TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF7LNG ;RECORD LENGTH
STATUS SMF7END ;END OF FILE
COPY SMF07REC
COPY DYSMF7 #5= 'SMF7SID SMF7DTE SMF7TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF07REC statement and the COPY DYSMF7 statement. For instance, in the example shown above the following code:
IF SMF07SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 51: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/51.jpg)
DYSMF7 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–43
DYSMF7 Short Formatted Report
08/10/97 09.27.10 SMF RECORD TYPE 7 SHORT REPORT DATA LOST PAGE 1
SYSTEM TIME DATE START DATE OF PERIOD START TIME OF PERIOD NUMBER OF SMF RECORDS
IDENTIFICATION RECORD RECORD IN WHICH NO SMF DATA IN WHICH NO SMF DATA LOST BECAUSE NO SMF
WRITTEN WRITTEN WERE AVAILABLE FOR WERE AVAILABLE FOR DATA WERE AVAILABLE
RECORDING RECORDING FOR RECORDING
--------------------------------------------------------------------------------------------------------------
IPO1 14:19:36.97 08/04/97 08/04/97 13:03:49.87 10
IPO1 14:19:38.62 08/04/97 08/04/97 13:03:49.87 10
IPO1 14:19:57.16 08/04/97 08/04/97 13:08:52.67 10
IPO1 14:20:11.06 08/04/97 08/04/97 13:08:52.67 10
IPO1 14:21:44.82 08/04/97 08/04/97 13:55:14.33 10
IPO1 14:23:49.59 08/04/97 08/04/97 13:08:52.67 10
IPO1 14:24:59.39 08/04/97 08/04/97 13:08:52.67 10
IPO1 14:26:31.02 08/04/97 08/04/97 13:08:52.67 10
IPO1 14:26:42.87 08/04/97 08/04/97 14:02:59.99 10
IPO1 14:26:53.08 08/04/97 08/04/97 13:11:40.74 10
NUMBER OF RECORDS PRINTED: 10
![Page 52: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/52.jpg)
DYSMF7 COPY Function
1–44 SMF/RMF Reporting Guide
DYSMF7 Long Formatted Report
08/10/97 09.32.08 SMF RECORD TYPE 7 LONG REPORT DATA LOST PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:36.97 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
START DATE OF PERIOD DURING WHICH START TIME OF PERIOD DURING WHICH
NO SMF DATA WHERE AVAILABLE FOR RECORDING 08/04/97 NO SMF DATA WHERE AVAILABLE FOR RECORDING 13:03:49.87
SYSTEM IDENTIFICATION IPO1
NUMBER OF SMF RECORDS LOST BECAUSE
NO SMF DATA WHERE AVAILABLE FOR RECORDING 10
*****************************************************************************************************************
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:38.62 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
START DATE OF PERIOD DURING WHICH START TIME OF PERIOD DURING WHICH
NO SMF DATA WHERE AVAILABLE FOR RECORDING 08/04/97 NO SMF DATA WHERE AVAILABLE FOR RECORDING 13:03:49.87
SYSTEM IDENTIFICATION IPO1
NUMBER OF SMF RECORDS LOST BECAUSE
NO SMF DATA WHERE AVAILABLE FOR RECORDING 10
*********************************************************************************************************************
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:57.16 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
START DATE OF PERIOD DURING WHICH START TIME OF PERIOD DURING WHICH
NO SMF DATA WHERE AVAILABLE FOR RECORDING 08/04/97 NO SMF DATA WHERE AVAILABLE FOR RECORDING 13:08:52.67
SYSTEM IDENTIFICATION IPO1
NUMBER OF SMF RECORDS LOST BECAUSE
NO SMF DATA WHERE AVAILABLE FOR RECORDING 10
*********************************************************************************************************************
![Page 53: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/53.jpg)
DYSMF7 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–45
DYSMF7 Record Definition COPYLIB(SMF07REC)
SMFRCD7 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD7
SMF7FLG 1 1 BI ;HEADER FLAG BYTE
SMF7RTY 1 2 BI ;RECORD TYPE 7
SMF7TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL
SMF7DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM: 00YYDDDF
SMF7SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF7NRO 2 15 BI ;NUMBER OF SMF RECORDS OMITTED FROM DATA SET
SMF7STM 4 17 BI ;STARTING TIME IN HUNDREDTHS OF SECONDS AT
* WHICH NO DATA SET WAS AVAILABLE FOR RECORDING
* SMF RECORDS
SMF7STD 4 21 PD ;STARTING DATE AT WHICH NO DATA SET WAS
* AVAILABLE FOR RECORDING SMF RECORDS
![Page 54: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/54.jpg)
DYSMF14 COPY Function
1–46 SMF/RMF Reporting Guide
DYSMF14 COPY Function The DYSMF14 COPY function can be used to print SMF type 14 records in two report formats — a long format and a short format. SMF type 14 records contain information that is pertinent to INPUT OR RDBACK DATA SET ACTIVITY. The examples for DYSMF14 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF14 Record Definition COPYLIB(SMF14REC).
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job number, SYSOUT class, SYSOUT start date, and SYSOUT start time.
DYSMF14 COPY Parameters
Twelve parameters can be varied in the DYSMF14 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF14JBN SMF14DTE SMF14TME”.
![Page 55: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/55.jpg)
DYSMF14 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–47
Parameter Description
#6 #6 contains additional sort fields. The default is NULL. The value of the field cannot exceed 30 characters.
#7 #7 contains additional sort fields. The default is NULL. The value of the field cannot exceed 30 characters.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF14 COPY Function
DYSMF14 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 2:20 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF14LNG ;RECORD LENGTH
STATUS SMF14FIN ;END OF FILE
COPY SMF14REC
COPY DYSMF14 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'14:20:00'”
#5='SMF14DTE SMF14TME'
#L=YES #S=NULL
FIN
![Page 56: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/56.jpg)
DYSMF14 COPY Function
1–48 SMF/RMF Reporting Guide
DYSMF14 COPY Function: Example 2
Print all records regardless of date and time in date (SMF14DTE) and time (SMF14TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF14LNG ;RECORD LENGTH
STATUS SMF14FIN ;END OF FILE
COPY SMF14REC
COPY DYSMF14 #5='SMF14DTE SMF14TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF14REC statement and the COPY DYSMF14 statement. For instance, in the example shown above the following code:
IF SMF14JBN NE 'T105005'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 57: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/57.jpg)
DYSMF14 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–49
DYSMF14 Short Formatted Report
08/10/97 10.06.26 SMF RECORD 14 SHORT REPORT INPUT OR RDBACK DATA SET ACTIVITY PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:08.64 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T105O05
RECORD INDICATORS DASD DEVICE READER START TIME 13:03:49.87
READER START DATE 08/04/97 TIME WHEN DATA SET WAS OPENED 14:19:03.61
USER ID
SIZE OF DCB/DEB SEGMENT 24 NUMBER OF UCB SEGMENTS 1
SIZE OF EACH UCB SEGMENT 24 SIZE OF ISAM EXTENSION SECTION 0
TIO DD NAME ISP13042
JFC SECTION
**************
DATA SET NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00
CREATION DATE YEAR 97 FEBRUARY 3
EXPIRATION DATE YEAR
MAXIMUM BLOCK SIZE 18 LOGICAL RECORD LENGTH 18
ERROR OPTION. DISPOSITION OF PERMANENT
BYTE 1 OF JFC DATA SET ORGANIZATION
RECORD FORMAT FIXED
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:14.64 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T109P20
RECORD INDICATORS DASD DEVICE READER START TIME 14:12:57.74
READER START DATE 08/04/97 TIME WHEN DATA SET WAS OPENED 14:15:43.68
USER ID
SIZE OF DCB/DEB SEGMENT 24 NUMBER OF UCB SEGMENTS 1
SIZE OF EACH UCB SEGMENT 24 SIZE OF ISAM EXTENSION SECTION 0
TIO DD NAME ISP14132
JFC SECTION
**************
DATA SET NAME NT1B0900.TEAM2.PLI
CREATION DATE YEAR 90 NOVEMBER 13
EXPIRATION DATE YEAR
MAXIMUM BLOCK SIZE 23,440 LOGICAL RECORD LENGTH 80
ERROR OPTION. DISPOSITION OF PERMANENT
BYTE 1 OF JFC DATA SET ORGANIZATION PARTITIONED
RECORD FORMAT FIXED
![Page 58: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/58.jpg)
DYSMF14 COPY Function
1–50 SMF/RMF Reporting Guide
DYSMF14 Long Formatted Report (Page 1 of 2)
08/10/97 09.50.44 SMF RECORD 14 LONG REPORT INPUT OR RDBACK DATA SET ACTIVITY PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:08.64 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T105O05
RECORD INDICATORS DASD DEVICE READER START TIME 13:03:49.87
READER START DATE 08/04/97 TIME WHEN DATA SET WAS OPENED 14:19:03.61
USER ID
SECTION SIZES
*************
SIZE OF DCB/DEB SEGMENT 24 NUMBER OF UCB SEGMENTS 1
SIZE OF EACH UCB SEGMENT 24 SIZE OF ISAM EXTENSION SECTION 0
TIOT SECTION
************
LENGTH OF THE DD ENTRY 20 STATUS INDICATOR 1
NUMBER OF DEVICES REQUESTED 1 TIO LINK 0
TIO DD NAME ISP13042 RELATIVE TRACK ADDRESS OF JFCB (HEX) 00073F
STATUS INDICATOR DURING ALLOCATION (HEX) 00
DCB AND DEB SECTION
*******************
DATA SET ORGANIZATION USED (HEX) 4000 RECORD FORMAT (HEX) 80
TYPE OF I/O MACRO INSTRUCTION (HEX) 2400 INDICATOR USED BY THE OPEN ROUTINE (HEX) 17
INDICATOR USED BY THE OPEN ROUTINE (HEX) 17 OP. CODES USED BY ACC. MTHD INTERFACES (HEX) 00
DATA SET AND DEVICE STATUS INDICATOR (HEX) 68 INDCTR OF I/O PROCESS WHEN EOVOCCURS (HEX) 00
VOLUME SEQUENCE NUMBER (HEX) 0001 BLOCK COUNT FOR EACH VOLUME 768
DATA SET SERIAL NUMBER (HEX) 000000
DCB AND DEB DASD EXTENSION
**************************
RELATIVE TRACK, CONCATENATION NUMBER (HEX) 00000300 NUMBER OF TRACKS RELEASED BY DADSM 0
NUMBER OF EXTENTS RELEASED BY DADSM 0
![Page 59: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/59.jpg)
DYSMF14 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–51
DYSMF14 Long Formatted Report (Page 2 of 2)
08/10/97 09.50.44 SMF RECORD 14 LONG REPORT INPUT OR RDBACK DATA SET ACTIVITY PAGE 2
JFC SECTION
**************
DATA SET NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00
NUMBER OF STRINGS 0 NUMBER OF DATA BUFFERS 0
LOGICAL RECORD LENGTH FOR VSAM 0 MAXIMUM BLOCK SIZE 18
CREATION DATE YEAR 92 FEBRUARY 3
EXPIRATION DATE YEAR
LOGICAL RECORD LENGTH 18 MASS STORAGE SYSTEM COMMUNICATOR (MSSC) 0
JOB MANAGEMENT/DATA MANAGEMENT INTERFACE
LABEL TYPE STANDARD LABEL
FUNCTION INDICATORS FOR THE 3525 CARD
FLAG BYTE (LABELS)
INDICATOR BYTE 1
INDICATOR BYTE 2 PASSWORD REQUIRED TO WRITE NOT TO READ
CONVERSION CODE (PAPER TAPE)
BYTE 1 OF JFC DATA SET ORGANIZATION
BYTE 2 OF JFC DATA SET ORGANIZATION
RECORD FORMAT FIXED
ERROR OPTION. DISPOSITION OF PERMANENT
TAPE RECORDING TECHNIQUE FOR 7-TRACK TAPE
CODE OF OPERATION (CARD READER CARD PUNCH)
TAPE DENSITY, 2400/3400 SERIES MAGNETIC
UCB SECTION
***********
DEVICE NUMBER (HEX) 0426 VOLUME SERIAL NUMBER STR006
UNIT TYPE (HEX) 0426E2E3 DASD VOLUME STATUS INDICATOR (HEX) 04
NUMBER EXTENTS 1 EXCP COUNT FOR ENTIRE STEP 4
DATA SET SEQUENCE COUNT 0 DATA SET SEQUENCE NUMBER (HEX) 0001
UCB DASD EXTENSION
******************
NUMBER TRACKS ALLOCATED 1
![Page 60: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/60.jpg)
DYSMF14 COPY Function
1–52 SMF/RMF Reporting Guide
DYSMF14 Record Definition COPYLIB(SMF14REC)
SMF14HDR 1 CH ;HEADER SEGMENT FOR RECORD TYPE 14/15
REDEFINE AT SMF14HDR
SMF14FLG 1 1 BI ;HEADER FLAG BYTE
SMF14RTY 1 2 BI ;RECORD TYPE 14
SMF14TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
SMF14DTE 4 7 PD ;DATE, PACKED/DEC FORM: 00YYDDDF
SMF14SID 4 11 CH ;SYSTEM ID
SMF14JBN 8 15 CH ;JOB NAME
SMF14RST 4 23 BI ;READER START TIME
SMF14RSD 4 27 PD ;READER START DATE, PK/DEC FORM: 00YYDDDF
SMF14UID 8 31 CH ;USER ID
SMF14RIN 2 39 BI ;RECORD INDICATORS:
*SMF14RV0 EQU 128 RESERVED
*SMF14EOV EQU 64 RECORD WRITTEN BY EOV
*SMF14DAD EQU 32 DASD DEVICE
*SMF14TDS EQU 16 TEMPORARY DATA SET
*SMF14DDA EQU 8 DCBDSORG = DA
*SMF14IS EQU 4 DCBDSORG = IS
*SMF14JIS EQU 2 JFCDSORG = IS
*SMF14VIO EQU 1 VIO DATA SET ACCESS
* BITS 8 - 15 RESERVED
SMF14SDC 1 41 BI ;SIZE OF DCB/DEB SEGMENT
SMF14NUC 1 42 BI ;NO. UCB SEGMENTS
SMF14SUC 1 43 BI ;SIZE OF EACH UCB SEGMENT
SMF14SET 1 44 BI ;SIZE OF EXTENSION SEGMENT
SMF14OPE 4 45 BI ;TIME OF OPEN USING TIME BIN INTV.
SMFTIOT 1 CH ;TIOT SEGMENT (FROM DD ENTRY)
REDEFINE AT SMFTIOT
SMFTIOE1 1 49 BI ;TIOELNGH
SMFTIOE2 1 50 BI ;TIOESSTA
SMFTIOE3 1 51 BI ;TIOEWTCT
SMFTIOE4 1 52 BI ;TIOELINK
SMFTIOE5 8 53 CH ;TIOEDDNM
SMFTIOE6 3 61 BI ;TIOEJFCB
SMFTIOE7 1 64 BI ;TIOESTTC
**
SMFJFCB1 DS XL176'0' JFCB SEGMENT (ENTIRE JFCB)
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMFJFCB1 176 65 ;JFCB SEGMENT (ENTIRE JFCB)
*
SMFDCBDE 1 CH ;DCB/DEB SEGMENT (TAPE AND DASD)
REDEFINE AT SMFDCBDE
SMFDCBOR 2 241 BI ;DCBDSORG
SMFDCBRF 1 243 BI ;DCBRECFM
SMFDCBMF 2 244 BI ;DCBMACRF
SMFDCBFL 1 246 BI ;DCBOFLGS
SMFDCBOP 1 247 BI ;DCBOPTCD
![Page 61: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/61.jpg)
DYSMF14 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–53
SMF14RV2 1 248 BI ;RESERVED
SMFDEBFL 1 249 BI ;DEBOFLGS
SMFDEBOP 1 250 BI ;DEBOPATB
SMFDEBVL 2 251 BI ;DEBVOLSQ
SMFTDDEX 1 CH ;TAPE DCB/DEB EXTENSION
REDEFINE AT SMFTDDEX
SMFDCBBL 4 253 BI ;DCBBLKCT
*SMFDSSNO DS BL6'0' DATA SET SERIAL NUMBER
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMFDSSNO 6 257 ;DATA SET SERIAL NUMBER
SMF14RV3 2 263 BI ;RESERVED
REDEFINE AT SMFTDDEX
SMF14NTU 4 253 BI ;NUMBER OF TRACKS USED(LAST TTR—FROM DCBFDAD)
* PS ORGANIZATION ONLY (TTR0)
SMF14NTR 4 257 BI ;NUMBER OF TRACKS RELEASED BY DADSM RELSE RTN
SMF14NER 1 261 BI ;NUMBER OF EXTENTS RELEASED
SMF14RV4 3 262 BI ;RESERVED
SMF14UCB 1 CH ;UCB SEGMENT(ONE FOR EACH UCB FOR THE DATA SET)
REDEFINE AT SMF14UCB
SMFUCBDV 2 265 BI ;UCBCHAN DEVICE NUMBER
REDEFINE AT SMFUCBDV
SMFUCBCH 1 265 BI ;UCBCHA
SMFUCBUA 1 266 BI ;UCBUA
*SMFSRTEV DS BL6'0' SRTEVOLI
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMFSRTEV 6 267 ;SRTEVOLI
SMFUCBTY 4 273 BI ;UCBTYP
SMFSRTES 1 277 BI ;SRTESTAB
SMF14NEX 1 278 BI ;NUMBER EXTENTS
SMF14RV5 2 279 BI ;RESERVED
SMFEXCP 4 281 BI ;EXCP COUNT
SMFTAPEX 1 CH ;SMF TAPE EXTENSION
REDEFINE AT SMFTAPEX
* THIS SECTION DESCRIBES THE UCB TAPE EXTENSION SEGMENT
SMFSRTEF 2 285 BI ;SRTEFSCT
SMFSRTEQ 2 287 BI ;SRTEFSEQ
REDEFINE AT SMFTAPEX
* THIS SECTION DESCRIBES THE UCB DASD EXTENSION SEGMENT
SMF14NTA 4 285 BI ;NUMBER TRACKS ALLOCATED
* THIS SECTION DESCRIBES THE DASD INFORMATION ACQUIRED FROM HYPERBATCH
* FOLLOWING FIELDS ARE VALID FOR DATA SETS ACCESSED USING HYPERBATCH
SMFIOREQ 4 289 BI ;REQUESTS FOR I/O, HYPERBATCH TRIED TO FIND DATA
SMFCHITS 4 293 BI ;REQUESTS FOR I/O, HYPERBATCH SATISFIED REQUEST
SMFNMWTS 4 297 BI ;REQUESTS FOR I/O, HYPERBATCH SUSPENDED REQUEST
SMFPHIOS 4 301 BI ;REQUESTS FOR I/O, SATISFIED BY USING DASD I/O
SMFCIOS 4 305 BI ;NUMBER OF DASD I/OS HYPERBATCH COPIED DATA
SMF14UCE 1 309 CH ;UCB SEGMENT END
REDEFINE AT SMF14UCE
REDEFINE AT SMF14UCB
![Page 62: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/62.jpg)
DYSMF14 COPY Function
1–54 SMF/RMF Reporting Guide
*
SMFISAMX 1 CH ;ISAM EXTENSION SEG.(FOR DCBDSORG = IS)
REDEFINE AT SMFISAMX
SMF14RV6 2 265 BI ;RESERVED
SMFDCBMA 1 267 BI ;DCBMAC
SMFDCBNL 1 268 BI ;DCBNLEV
SMFDCBR3 4 269 BI ;DCBRORG3
SMFDCBNR 4 273 BI ;DCBNREC
SMFDCBR2 2 277 BI ;DCBRORG2
SMFDCBNO 2 279 BI ;DCBNOREC
SMFDCBR1 2 281 BI ;DCBRORG1
SMF14RV7 1 283 BI ;RESERVED
SMFDEBNI 1 284 BI ;DEBNIEE
SMFDEBNP 1 285 BI ;DEBNPEE
SMFDEBNO 1 286 BI ;DEBNOEE
SMFNCYLS 2 287 BI ;# CYL'S IN INDEPENDENT INDEX AREA
SMFNPCYL 2 289 BI ;NUMBER OF CYL'S IN PRIME AREA
SMFNOCYL 2 291 BI ;NUMBER OF CYL'S IN INDEPENDENT OVFL AREA
![Page 63: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/63.jpg)
DYSMF15 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–55
DYSMF15 COPY Function The DYSMF15 COPY function can be used to print SMF type 15 records in two report formats — a long format and a short format. SMF type 15 records contain information that is pertinent to OUTPUT, UPDAT, INOUT, OR OUTIN DATA SET ACTIVITY. The examples for DYSMF15 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF15 Record Definition COPYLIB(SMF15REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job number, SYSOUT class, SYSOUT start date, and SYSOUT start time.
DYSMF15 COPY Parameters
Twelve parameters can be varied in the DYSMF15 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF15JBN SMF15DTE SMF15TME”.
![Page 64: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/64.jpg)
DYSMF15 COPY Function
1–56 SMF/RMF Reporting Guide
Parameter Description
#6 #6 contains additional sort fields. The default is NULL. The value of the field cannot exceed 30 characters.
#7 #7 contains additional sort fields. The default is NULL. The value of the field cannot exceed 30 characters.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF15 COPY Function
DYSMF15 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 2:20 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF15LNG ;RECORD LENGTH
STATUS SMF15FIN ;END OF FILE
COPY SMF15REC
COPY DYSMF15 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'14:20:00'”
#L=YES #S=NULL
FIN
![Page 65: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/65.jpg)
DYSMF15 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–57
DYSMF15 COPY Function: Example 2
Print all records regardless of date and time in date (SMF15DTE) and time (SMF15TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF15LNG ;RECORD LENGTH
STATUS SMF15FIN ;END OF FILE
COPY SMF15REC
COPY DYSMF15 #5='SMF15DTE SMF15TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF15REC statement and the COPY DYSMF15 statement. For instance, in the example shown above the following code:
IF SMF15JBN NE 'T105005'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 66: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/66.jpg)
DYSMF15 COPY Function
1–58 SMF/RMF Reporting Guide
DYSMF15 Short Formatted Report
08/10/97 SMF RECORD 15 SHORT REPORT OUTPUT, UPDATE, INOUT OR OUTIN DATA SET ACTIVITY PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:08.49 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T109P33
RECORD INDICATORS DASD DEVICE READER START TIME 13:00:49.49
READER START DATE 08/04/97 TIME WHEN DATA SET WAS OPENED 14:19:08.47
USER ID
SIZE OF DCB/DEB SEGMENT 24 NUMBER OF UCB SEGMENTS
SIZE OF EACH UCB SEGMENT 24 SIZE OF ISAM EXTENSION SECTION 0
TIO DD NAME ISPPROF
JFC SECTION
**************
DATA SET NAME T109P33.ISPF.ISPPROF
CREATION DATE YEAR 92 JANUARY 10
EXPIRATION DATE YEAR
MAXIMUM BLOCK SIZE 23,440 LOGICAL RECORD LENGTH 80
ERROR OPTION. DISPOSITION OF PERMANENT
BYTE 1 OF JFC DATA SET ORGANIZATION PARTITIONED
RECORD FORMAT FIXED
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:21.46 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T109P20
RECORD INDICATORS DASD DEVICE READER START TIME 14:12:57.74
READER START DATE 08/04/97 TIME WHEN DATA SET WAS OPENED 14:19:21.37
USER ID
SIZE OF DCB/DEB SEGMENT 24 NUMBER OF UCB SEGMENTS 1
SIZE OF EACH UCB SEGMENT 24 SIZE OF ISAM EXTENSION SECTION 0
TIO DD NAME ISPPROF
JFC SECTION
**************
DATA SET NAME T109P20.ISPF.ISPPROF
CREATION DATE YEAR 91 APRIL 2
EXPIRATION DATE YEAR
MAXIMUM BLOCK SIZE 23,440 LOGICAL RECORD LENGTH 80
ERROR OPTION. DISPOSITION OF PERMANENT
BYTE 1 OF JFC DATA SET ORGANIZATION PARTITIONED
RECORD FORMAT FIXED
![Page 67: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/67.jpg)
DYSMF15 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–59
DYSMF15 Long Formatted Report (Page 1 of 2)
10/97 SMF RECORD 15 LONG REPORT OUTPUT, UPDATE, INOUT OR OUTIN DATA SET ACTIVITY PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:08.49 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T109P33
RECORD INDICATORS DASD DEVICE READER START TIME 13:00:49.49
READER START DATE 08/04/97 TIME WHEN DATA SET WAS OPENED 14:19:08.47
USER ID
SECTION SIZES
*************
SIZE OF DCB/DEB SEGMENT 24 NUMBER OF UCB SEGMENTS 1
SIZE OF EACH UCB SEGMENT 24 SIZE OF ISAM EXTENSION SECTION 0
TIOT SECTION
************
LENGTH OF THE DD ENTRY 20 STATUS INDICATOR 1
NUMBER OF DEVICES REQUESTED 1 TIO LINK 0
TIO DD NAME ISPPROF RELATIVE TRACK ADDRESS OF JFCB (HEX) 0005CF
STATUS INDICATOR DURING ALLOCATION (HEX) 00
DCB AND DEB SECTION
*******************
DATA SET ORGANIZATION USED (HEX) 0200 RECORD FORMAT (HEX) 90
TYPE OF I/O MACRO INSTRUCTION (HEX) 2424 INDICATOR USED BY THE OPEN ROUTINE (HEX) 13
INDICATOR USED BY THE OPEN ROUTINE (HEX) 13 OP. CODES USED BY ACC. MTHD INTERFACES (HEX) 00
DATA SET AND DEVICE STATUS INDICATOR (HEX) 68 INDCTR OF I/O PROCESS WHEN EOV OCCURS (HEX) 04
VOLUME SEQUENCE NUMBER (HEX) 0000 BLOCK COUNT FOR EACH VOLUME 133,888
DATA SET SERIAL NUMBER (HEX) 000000
![Page 68: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/68.jpg)
DYSMF15 COPY Function
1–60 SMF/RMF Reporting Guide
DYSMF15 Long Formatted Report (Page 2 of 2)
08/10/97 SMF RECORD 15 LONG REPORT OUTPUT, UPDATE, INOUT OR OUTIN DATA SET ACTIVITY PAGE 2
DCB AND DEB DASD EXTENSION
**************************
RELATIVE TRACK, CONCATENATION NUMBER (HEX) 00020B00 NUMBER OF TRACKS RELEASED BY DADSM 0
NUMBER OF EXTENTS RELEASED BY DADSM 0
JFC SECTION
**************
DATA SET NAME T109P33.ISPF.ISPPROF
NUMBER OF STRINGS 0 NUMBER OF DATA BUFFERS 0
LOGICAL RECORD LENGTH FOR VSAM 0 MAXIMUM BLOCK SIZE 23,440
CREATION DATE YEAR 92 JANUARY 10
EXPIRATION DATE YEAR
LOGICAL RECORD LENGTH 80 MASS STORAGE SYSTEM COMMUNICATOR (MSSC) 0
JOB MANAGEMENT/DATA MANAGEMENT INTERFACE
LABEL TYPE STANDARD LABEL
FUNCTION INDICATORS FOR THE 3525 CARD
FLAG BYTE (LABELS)
INDICATOR BYTE 1
INDICATOR BYTE 2 PASSWORD REQUIRED TO WRITE NOT TO READ
CONVERSION CODE (PAPER TAPE)
BYTE 1 OF JFC DATA SET ORGANIZATION PARTITIONED
BYTE 2 OF JFC DATA SET ORGANIZATION
RECORD FORMAT FIXED
ERROR OPTION. DISPOSITION OF PERMANENT
TAPE RECORDING TECHNIQUE FOR 7-TRACK TAPE
CODE OF OPERATION (CARD READER CARD PUNCH)
TAPE DENSITY, 2400/3400 SERIES MAGNETIC
UCB SECTION
***********
DEVICE NUMBER (HEX) 0408 VOLUME SERIAL NUMBER STR004
UNIT TYPE (HEX) 0408E2E3 DASD VOLUME STATUS INDICATOR (HEX) 04
NUMBER EXTENTS 1 EXCP COUNT FOR ENTIRE STEP 116
DATA SET SEQUENCE COUNT 0 DATA SET SEQUENCE NUMBER (HEX) 0008
UCB DASD EXTENSION
******************
NUMBER TRACKS ALLOCATED 8
![Page 69: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/69.jpg)
DYSMF15 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–61
DYSMF15 Record Definition COPYLIB(SMF15REC)
SMF15HDR 1 CH ;HEADER SEGMENT FOR RECORD TYPE 14/15
REDEFINE AT SMF15HDR
SMF15FLG 1 1 BI ;HEADER FLAG BYTE
SMF15RTY 1 2 BI ;RECORD TYPE 15
SMF15TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
SMF15DTE 4 7 PD ;DATE, PACKED/DEC FORM: 00YYDDDF
SMF15SID 4 11 CH ;SYSTEM ID
SMF15JBN 8 15 CH ;JOB NAME
SMF15RST 4 23 BI ;READER START TIME
SMF15RSD 4 27 PD ;READER START DATE, PK/DEC FORM: 00YYDDDF
SMF15UID 8 31 CH ;USER ID
SMF15RIN 2 39 BI ;RECORD INDICATORS:
*SMF15RV0 EQU 128 RESERVED
*SMF15EOV EQU 64 RECORD WRITTEN BY EOV
*SMF15DAD EQU 32 DASD DEVICE
*SMF15TDS EQU 16 TEMPORARY DATA SET
*SMF15DDA EQU 8 DCBDSORG = DA
*SMF15IS EQU 4 DCBDSORG = IS
*SMF15JIS EQU 2 JFCDSORG = IS
*SMF15VIO EQU 1 VIO DATA SET ACCESS
* BITS 8 - 15 RESERVED
SMF15SDC 1 41 BI ;SIZE OF DCB/DEB SEGMENT
SMF15NUC 1 42 BI ;NO. UCB SEGMENTS
SMF15SUC 1 43 BI ;SIZE OF EACH UCB SEGMENT
SMF15SET 1 44 BI ;SIZE OF EXTENSION SEGMENT
SMF15OPE 4 45 BI ;TIME OF OPEN USING TIME BIN INTV.
SMFTIOT 1 CH ;TIOT SEGMENT (FROM DD ENTRY)
REDEFINE AT SMFTIOT
SMFTIOE1 1 49 BI ;TIOELNGH
SMFTIOE2 1 50 BI ;TIOESSTA
SMFTIOE3 1 51 BI ;TIOEWTCT
SMFTIOE4 1 52 BI ;TIOELINK
SMFTIOE5 8 53 CH ;TIOEDDNM
SMFTIOE6 3 61 BI ;TIOEJFCB
SMFTIOE7 1 64 BI ;TIOESTTC
**
SMFJFCB1 DS XL176'0' JFCB SEGMENT (ENTIRE JFCB)
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMFJFCB1 176 65 ;JFCB SEGMENT (ENTIRE JFCB)
*
SMFDCBDE 1 CH ;DCB/DEB SEGMENT (TAPE AND DASD)
REDEFINE AT SMFDCBDE
SMFDCBOR 2 241 BI ;DCBDSORG
SMFDCBRF 1 243 BI ;DCBRECFM
SMFDCBMF 2 244 BI ;DCBMACRF
SMFDCBFL 1 246 BI ;DCBOFLGS
SMFDCBOP 1 247 BI ;DCBOPTCD
![Page 70: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/70.jpg)
DYSMF15 COPY Function
1–62 SMF/RMF Reporting Guide
SMF15RV2 1 248 BI ;RESERVED
SMFDEBFL 1 249 BI ;DEBOFLGS
SMFDEBOP 1 250 BI ;DEBOPATB
SMFDEBVL 2 251 BI ;DEBVOLSQ
SMFTDDEX 1 CH ;TAPE DCB/DEB EXTENSION
REDEFINE AT SMFTDDEX
SMFDCBBL 4 253 BI ;DCBBLKCT
*SMFDSSNO DS BL6'0' DATA SET SERIAL NUMBER
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMFDSSNO 6 257 ;DATA SET SERIAL NUMBER
SMF15RV3 2 263 BI ;RESERVED
REDEFINE AT SMFTDDEX
SMF15NTU 4 253 BI ;NUMBER OF TRACKS USED(LAST TTR-FROM DCBFDAD)
* PS ORGANIZATION ONLY (TTR0)
SMF15NTR 4 257 BI ;NUMBER OF TRACKS RELEASED BY DADSM RELSE RTN
SMF15NER 1 261 BI ;NUMBER OF EXTENTS RELEASED
SMF15RV4 3 262 BI ;RESERVED
SMF15UCB 1 CH ;UCB SEGMENT(ONE FOR EACH UCB FOR THE DATA SET)
REDEFINE AT SMF15UCB
SMFUCBDV 2 265 BI ;UCBCHAN DEVICE NUMBER
REDEFINE AT SMFUCBDV
SMFUCBCH 1 265 BI ;UCBCHA
SMFUCBUA 1 266 BI ;UCBUA
*SMFSRTEV DS BL6'0' SRTEVOLI
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMFSRTEV 6 267 ;SRTEVOLI
SMFUCBTY 4 273 BI ;UCBTYP
SMFSRTES 1 277 BI ;SRTESTAB
SMF15NEX 1 278 BI ;NUMBER EXTENTS
SMF15RV5 2 279 BI ;RESERVED
SMFEXCP 4 281 BI ;EXCP COUNT
SMFTAPEX 1 CH ;SMF TAPE EXTENSION
REDEFINE AT SMFTAPEX
* THIS SECTION DESCRIBES THE UCB TAPE EXTENSION SEGMENT
SMFSRTEF 2 285 BI ;SRTEFSCT
SMFSRTEQ 2 287 BI ;SRTEFSEQ
REDEFINE AT SMFTAPEX
* THIS SECTION DESCRIBES THE UCB DASD EXTENSION SEGMENT
SMF15NTA 4 285 BI ;NUMBER TRACKS ALLOCATED
* THIS SECTION DESCRIBES THE DASD INFORMATION ACQUIRED FROM HYPERBATCH
* FOLLOWING FIELDS ARE VALID FOR DATA SETS ACCESSED USING HYPERBATCH
SMFIOREQ 4 289 BI ;REQUESTS FOR I/O, HYPERBATCH TRIED TO FIND DATA
SMFCHITS 4 293 BI ;REQUESTS FOR I/O, HYPERBATCH SATISFIED REQUEST
SMFNMWTS 4 297 BI ;REQUESTS FOR I/O, HYPERBATCH SUSPENDED REQUEST
SMFPHIOS 4 301 BI ;REQUESTS FOR I/O, SATISFIED BY USING DASD I/O
SMFCIOS 4 305 BI ;NUMBER OF DASD I/OS HYPERBATCH COPIED DATA
SMF15UCE 1 309 CH ;UCB SEGMENT END
REDEFINE AT SMF15UCE
REDEFINE AT SMF15UCB
![Page 71: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/71.jpg)
DYSMF15 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–63
*SMFISAMX 1 CH ;ISAM EXTENSION SEG.(FOR DCBDSORG = IS)
REDEFINE AT SMFISAMX
SMF15RV6 2 265 BI ;RESERVED
SMFDCBMA 1 267 BI ;DCBMAC
SMFDCBNL 1 268 BI ;DCBNLEV
SMFDCBR3 4 269 BI ;DCBRORG3
SMFDCBNR 4 273 BI ;DCBNREC
SMFDCBR2 2 277 BI ;DCBRORG2
SMFDCBNO 2 279 BI ;DCBNOREC
SMFDCBR1 2 281 BI ;DCBRORG1
SMF15RV7 1 283 BI ;RESERVED
SMFDEBNI 1 284 BI ;DEBNIEE
SMFDEBNP 1 285 BI ;DEBNPEE
SMFDEBNO 1 286 BI ;DEBNOEE
SMFNCYLS 2 287 BI ;# CYL'S IN INDEPENDENT INDEX AREA
SMFNPCYL 2 289 BI ;NUMBER OF CYL'S IN PRIME AREA
SMFNOCYL 2 291 BI ;NUMBER OF CYL'S IN INDEPENDENT OVFL AREA
![Page 72: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/72.jpg)
DYSMF17 COPY Function
1–64 SMF/RMF Reporting Guide
DYSMF17 COPY Function The DYSMF17 COPY function can be used to print SMF type 17 records in two report formats — a long format and a short format. SMF type 17 records contain information that is pertinent to SCRATCH DATA SET STATUS. The examples for DYSMF17 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF17 Record Definition COPYLIB (SMF17REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job number, SYSOUT class, SYSOUT start date, and SYSOUT start time.
DYSMF17 COPY Parameters
Twelve parameters can be varied in the DYSMF17 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 73: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/73.jpg)
DYSMF17 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–65
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF17JBN SMF17DSN SMF17DTE”. If you want to sort up to three fields, you can override this parameter by specifying the name of the fields under #5 and defining #6 as equal to NULL, since #6 has its own default value.
For example, if you want to sort on the two fields, SMF17JBN and SMF17UID, you can specify #5 as equal to “SMF17JBN SMF17UID” and #6 as equal to NULL.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is “SMF17TME”. If you want to sort up to six fields, you can override both #5 and #6 parameters by specifying the name of the fields under #5 and #6.
For example, if you want to sort on the four fields, SMF17JBN, SMF17UID, SMF17DSN, and SMF17NVL, you can specify #5 as equal to “SMF17JBN SMF17UID SMF17DSN” and #6 as equal to “SMF17NVL.
#7 #7 applies to sort fields 7 through 9. The default is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF17JBN, SMF17SID, SMF17UID, SMF17NVL, SMF17DSN, SMF17DTE, and SMF17TME, you can override all three parameters by specifying #5 as equal to “SMF17JBN SMF17SID SMF17UID”, #6 as equal to “SMF17NVL SMF17DSN SMF17DTE”, and #7 as equal to “SMF17TME”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 74: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/74.jpg)
DYSMF17 COPY Function
1–66 SMF/RMF Reporting Guide
Invoking the DYSMF17 COPY Function
DYSMF17 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 2:21 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF17LNG ;RECORD LENGTH
STATUS SMF17EOF ;END OF FILE
COPY SMF17REC
COPY DYSMF17 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'14:21:00'”
#5='SMF17JBN SMF17DSN SMF17DTE'
#L=YES #S=NULL
FIN
DYSMF17 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF17JBN) and data set name (SMF17DSN) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF17LNG ;RECORD LENGTH
STATUS SMF17EOF ;END OF FILE
COPY SMF17REC
COPY DYSMF17 #5='SMF17JBN SMF17DSN SMF17DTE'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF17REC statement and the COPY DYSMF17 statement. For instance, in the example shown above the following code:
IF SMF17JBN NE 'T105005'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 75: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/75.jpg)
DYSMF17 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–67
DYSMF17 Short Formatted Report
08/10/97 14.21.57 SMF RECORD 17 SHORT REPORT SCRATCH DATA SET STATUS PAGE 1
JOB SYSTEM USER REC MOVED REC MOVED DATA SET NAME NUMBER
NAME ID ID TO SMF TO SMF OF
BUFF.DATE BUFF.TIME VOLUMES
-----------------------------------------------------------------------------------------------------------------
DFHSM IPO1 08/04/97 14:34:03.54 HSM.HMIG.T421504.NP1B0300.HR.I2031 1
T101G04 IPO1 08/04/97 14:26:53.16 T101G04.SPFLOG1.LIST 1
T104G14 IPO1 08/04/97 14:32:46.90 T104G14.ISR0001.BACKUP 1
T105O02 IPO1 08/04/97 14:29:36.14 NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00 1
T105O02 IPO1 08/04/97 14:31:31.80 T105O02.ISR0001.BACKUP 1
T105O03 IPO1 08/04/97 14:26:42.85 T105O03.ISR0001.BACKUP 1
T105O05 IPO1 08/04/97 14:19:36.93 NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00 1
T105O05 IPO1 08/04/97 14:19:38.61 NP1B0100.RR.CROSSSET.EMPLIDAT.G0216V00 1
T107S01 IPO1 08/04/97 14:21:44.78 T107S01.SPFLOG1.LIST 1
T109P01 IPO1 08/04/97 14:34:03.67 T109P01.SYSIN.QA52441 1
T109P08 IPO1 08/04/97 14:22:17.78 T109P08.PANVALET.ISPFOPTN.BROWSE2 1
T109P20 IPO1 08/04/97 14:30:17.93 T109P20.ISR0001.BACKUP 1
T109P20 IPO1 08/04/97 14:30:22.66 T109P20.ISR0001.BACKUP 1
T109P20 IPO1 08/04/97 14:34:05.17 T109P20.ISR0002.BACKUP 1
T109P33 IPO1 08/04/97 14:27:22.16 T109P33.LINK.T5199200 1
T109P33 IPO1 08/04/97 14:27:21.95 T109P33.TMP51992.T5199200 1
T109P46 IPO1 08/04/97 14:20:11.04 T109P46.IOBKWIS.IGGL012R 1
T109P46 IPO1 08/04/97 14:19:57.10 T109P46.ISR0001.BACKUP 1
T109P46 IPO1 08/04/97 14:23:49.53 T109P46.ISR0001.BACKUP 1
T109P46 IPO1 08/04/97 14:26:30.97 T109P46.ISR0001.BACKUP 1
T109P46 IPO1 08/04/97 14:24:59.34 T109P46.ISR0002.BACKUP 1
T109P47B IPO1 08/04/97 14:28:20.57 T109P47.RGS.SORT.CTL 1
T109P47B IPO1 08/04/97 14:29:06.00 T109P47.RGS.SORT.CTL 1
T109P47B IPO1 08/04/97 14:30:03.60 T109P47.RGS.SORT.CTL 1
T109P47B IPO1 08/04/97 14:32:53.62 T109P47.RGS.SORT.CTL 1
T109P47B IPO1 08/04/97 14:28:20.52 T109P47.RGS.SORTIN 1
T109P47B IPO1 08/04/97 14:29:05.90 T109P47.RGS.SORTIN 1
T109P47B IPO1 08/04/97 14:30:03.55 T109P47.RGS.SORTIN 1
T109P47B IPO1 08/04/97 14:32:53.50 T109P47.RGS.SORTIN 1
T109P47B IPO1 08/04/97 14:28:20.54 T109P47.RGS.SORTOUT 1
T109P47B IPO1 08/04/97 14:30:03.58 T109P47.RGS.SORTOUT 1
T109P47B IPO1 08/04/97 14:33:05.37 T109P47.RGS.SORTOUT 1
T109P47U IPO1 08/04/97 14:27:12.30 T109P47.RBDT.COMPILE.OUTPUT 1
T109P47U IPO1 08/04/97 14:29:38.86 T109P47.RBDT.COMPILE.OUTPUT 1
T109P53 IPO1 08/04/97 14:23:12.56 T109P53.PANVALET.ISPFOPTN.BROWSE2 1
![Page 76: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/76.jpg)
DYSMF17 COPY Function
1–68 SMF/RMF Reporting Guide
NUMBER OF RECORDS PRINTED: 35
DYSMF17 Long Formatted Report
08/10/97 14.14.30 SMF RECORD 17 LONG REPORT SCRATCH DATA SET STATUS PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:36.97 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T105O05
READER START TIME 13:03:49.87 READER START DATE 08/04/97
USER ID
DATA SET NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00
NUMBER OF VOLUMES 1
VOLUME NUMBER VOLUME SERIAL NUMBER
------------- ------ ------ ------
1 STR006
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:19:38.61 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T105O05
READER START TIME 13:03:49.87 READER START DATE 08/04/97
USER ID
DATA SET NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0216V00
NUMBER OF VOLUMES 1
VOLUME NUMBER VOLUME SERIAL NUMBER
------------- ------ ------ ------
1 STR003
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 14:20:11.04 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME T109P46
READER START TIME 13:08:52.67 READER START DATE 08/04/97
USER ID
DATA SET NAME T109P46.IOBKWIS.IGGL012R
NUMBER OF VOLUMES 1
VOLUME NUMBER VOLUME SERIAL NUMBER
------------- ------ ------ ------
2 STR003
![Page 77: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/77.jpg)
DYSMF17 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–69
DYSMF17 Record Definition COPYLIB (SMF17REC)
SMF17HDR 1 CH ;HEADER SEGMENT FOR RECORD TYPE17(SCRATCH)
REDEFINE AT SMF17HDR
SMF17FLG 1 1 BI ;HEADER FLAG BYTE
SMF17RTY 1 2 BI ;RECORD TYPE 17
SMF17TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
SMF17DTE 4 7 PD ;DATE, PACKED/DEC FORM; 00YYDDDF
SMF17SID 4 11 CH ;SYSTEM ID
SMF17JBN 8 15 CH ;JOB NAME
SMF17RST 4 23 BI ;READER START TIME
SMF17RSD 4 27 PD ;READER START DATE, PK/DEC FORM: 00YYDDDF
SMF17UID 8 31 CH ;USERID
SMF17RIN 2 39 BI ;RECORD INDICATORS: ALL BITS RESERVED(0)
SMF17DSN 44 41 CH ;DSNAME
SMF17RV1 3 85 BI ;RESERVED
SMF17NVL 1 88 BI ;N, # VOL SERS
* VOLUME SERIAL ENTRY (ONE FOR EACH VOLUME)
SMF17RV2 2 89 BI ;RESERVED
SMF17FVL 6 91 CH ;FIRST VOL SER # (SRTEVOLI)
*SMF17LNV EQU *-SMF17RV2 LENGTH OF VOL SER ENTRY
![Page 78: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/78.jpg)
DYSMF18 COPY Function
1–70 SMF/RMF Reporting Guide
DYSMF18 COPY Function The DYSMF18 COPY function can be used to print SMF type 18 records in two report formats — a long format and a short format. SMF type 18 records contain information that is pertinent to RENAME DATA SET STATUS. The examples for DYSMF18 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF18 Record Definition COPYLIB(SMF18REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, data set name, and the date the record was moved to the SMF buffer.
DYSMF18 COPY Parameters
Twelve parameters can be varied in the DYSMF18 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 79: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/79.jpg)
DYSMF18 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–71
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF18JBN SMF18DTE SMF18TME”.
For example, if you want to sort on the two fields, SMF18SID and SMF18NDS, you can specify #5 as equal to “SMF18SID SMF18NDS”.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default is NULL. To sort on the four fields, SMF18JBN, SMF18ODS, SMF18NDS, and SMF18NVL, you can specify #5 as equal to “SMF18JBN SMF18ODS SMF18NDS” and #6 as equal to “SMF18NVL”.
#7 #7 applies to sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF18JBN, SMF18UID, SMF18ODS, SMF18NDS, SMF18NVL, SMF18DTE, and SMF18TME, you can override all three parameters by specifying #5 as equal to “SMF18JBN SMF18UID SMF18ODS”, #6 as equal to “SMF18NDS SMF18NVL SMF18DTE”, and #7 as equal to “SMF18TME”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 80: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/80.jpg)
DYSMF18 COPY Function
1–72 SMF/RMF Reporting Guide
Invoking the DYSMF18 COPY Function
DYSMF18 COPY Function: Example 1
Print all records with SMF buffer date and time between 7:00 A.M. and 8:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF18LNG ;RECORD LENGTH
STATUS SMF18EOF ;END OF FILE
COPY SMF18REC
COPY DYSMF18 #1=”'08/04/97'” #2=”'07:00:00'”
#3=”'08/04/97'” #4=”'08:00:00'”
#5='SMF18JBN SMF18DTE SMF18TME'
#L=YES #S=NULL
FIN
DYSMF18 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF18JBN) and data set name (SMF18NDS) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF18LNG ;RECORD LENGTH
STATUS SMF18EOF ;END OF FILE
COPY SMF18REC
COPY DYSMF18 #5='SMF18JBN SMF18DTE SMF18TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF18REC statement and the COPY DYSMF18 statement. For example, in the example shown above the following code:
IF SMF18JBN NE 'DFHSMF'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 81: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/81.jpg)
DYSMF18 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–73
DYSMF18 Short Formatted Report
08/10/97 10.12.33 SMF RECORD TYPE 18 SHORT REPORT RENAME DATA SET STATUS PAGE 1
JOB REC MOVED REC MOVED OLD DATA NEW DATA
NAME TO SMF TO SMF SET SET
BUFF.DATE BUFF.TIME NAME NAME
----------------------------------------------------------------------------------------------------------------
DFHSM 08/03/97 07:13:07.41 HSM.MCDS.BACKUP.V0000778 HSM.MCDS.BACKUP.V0000782
DFHSM 08/03/97 07:13:08.03 HSM.BCDS.BACKUP.V0000778 HSM.BCDS.BACKUP.V0000782
DFHSM 08/03/97 07:13:08.65 HSM.OCDS.BACKUP.V0000778 HSM.OCDS.BACKUP.V0000782
DFHSM 08/03/97 07:13:09.28 HSM.JRNL.BACKUP.V0000778 HSM.JRNL.BACKUP.V0000782
T104G14 08/04/97 14:39:46.58 NT1B0100.RR.RATES.VERSION2 NT1B0100.RR.RATES.CONTRACT
T104G14 08/04/97 14:43:17.80 T104G14.LOADLIB2 T104G14.LOADLIB
T109P01 08/04/97 14:41:57.97 NP1B0100.NOV.CROSSSET.RR200800 NP1B0100.RR.CROSSSET.RR200800.NOV
T109P01 08/04/97 14:42:14.84 NP1B0100.NOV.CROSSSET.RR200900 NP1B0100.RR.CROSSSET.RR200900.NOV
T109P01 08/04/97 14:42:29.35 NP1B0100.NOV.CROSSSET.RR201000 NP1B0100.RR.CROSSSET.RR201000.NOV
T109P15 08/04/97 21:34:29.11 NT1B1000.ASI.PIA050.WEEKACT.T109P27 NP1B1000.ASI.PIA050.WEEKACT.G0105V00
T109P16 08/04/97 15:22:48.10 NT1B0200.CYC18.T109P16.CAPLIDAT NT1B0200.CYC03.T109P16.CAPLIDAT
NUMBER OF RECORDS PRINTED: 11
![Page 82: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/82.jpg)
DYSMF18 COPY Function
1–74 SMF/RMF Reporting Guide
DYSMF18 Long Formatted Report
08/10/97 15.32.27 SMF RECORD TYPE 18 LONG REPORT RENAME DATA SET STATUS PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 07:13:07.41 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME DFHSM
READER START TIME 09:38:36.11 READER START DATE 08/03/97
USER ID
OLD DATA SET NAME HSM.MCDS.BACKUP.V0000778
NEW DATA SET NAME HSM.MCDS.BACKUP.V0000782
NUMBER OF VOLUMES 1
VOLUME NUMBER VOLUME SERIAL NUMBER
------------- ------ ------ ------
1 HSM001
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 07:13:08.03 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME DFHSM
READER START TIME 09:38:36.11 READER START DATE 08/03/97
USER ID
OLD DATA SET NAME HSM.BCDS.BACKUP.V0000778
NEW DATA SET NAME HSM.BCDS.BACKUP.V0000782
NUMBER OF VOLUMES 1
VOLUME NUMBER VOLUME SERIAL NUMBER
------------- ------ ------ ------
1 HSM001
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 07:13:08.65 DATE RECORD MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1 JOB NAME DFHSM
READER START TIME 09:38:36.11 READER START DATE 08/03/97
USER ID
OLD DATA SET NAME HSM.OCDS.BACKUP.V0000778
NEW DATA SET NAME HSM.OCDS.BACKUP.V0000782
NUMBER OF VOLUMES 1
VOLUME NUMBER VOLUME SERIAL NUMBER
------------- ------ ------ ------
2 HSM001
![Page 83: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/83.jpg)
DYSMF18 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–75
DYSMF18 Record Definition COPYLIB(SMF18REC)
SMF18HDR 1 CH ;HEADER SEGMENT FOR RECORD TYPE18 (RENAME)
REDEFINE AT SMF18HDR
SMF18FLG 1 1 BI ;HEADER FLAG BYTE
SMF18RTY 1 2 BI ;RECORD TYPE 18
SMF18TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
SMF18DTE 4 7 PD ;DATE, PACKED/DEC FORM; 00YYDDDF
SMF18SID 4 11 CH ;SYSTEM ID
SMF18JBN 8 15 CH ;JOB NAME
SMF18RST 4 23 BI ;READER START TIME
SMF18RSD 4 27 PD ;READER START DATE, PK/DEC FORM: 00YYDDDF
SMF18UID 8 31 CH ;USER ID
SMF18RIN 2 39 BI ;RECORD INDICATORS: ALL BITS RESERVED (0)
SMF18ODS 44 41 CH ;OLD DSNAME
SMF18NDS 44 85 CH ;NEW DSNAME
SMF18RV1 3 129 BI ;RESERVED
SMF18NVL 1 132 BI ;N, THE # VOL SERS
* VOLUME SERIAL ENTRY (ONE FOR EACH ENTRY)
SMF18RV2 2 133 BI ;RESERVED
SMF18FVL 6 135 CH ;FIRST VOL SER # (SRTEVOLI)
*SMF18LNV EQU *-SMF18RV2 LENGTH OF VOL SER ENTRY
![Page 84: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/84.jpg)
DYSMF19 COPY Function
1–76 SMF/RMF Reporting Guide
DYSMF19 COPY Function The DYSMF19 COPY function can be used to print SMF type 19 records in two report formats — a long format and a short format. SMF type 19 records contain information that is pertinent to DIRECT ACCESS VOLUME. The examples for DYSMF19 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF19 Record Definition COPYLIB(SMF19REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by volume serial number.
DYSMF19 COPY Parameters
Twelve parameters can be varied in the DYSMF19 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF19VOL”.
![Page 85: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/85.jpg)
DYSMF19 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–77
Parameter Description
#6 #6 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#7 #7 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF19 COPY Function
DYSMF19 COPY Function: Example 1
Print all records with SMF buffer date and time between 1:00 A.M. and 2:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF19LNG ;RECORD LENGTH
STATUS SMF19END ;END OF FILE
COPY SMF19REC
COPY DYSMF19 #1=”'08/04/97'” #2=”'01:00:00'”
#3=”'08/04/97'” #4=”'02:00:00'”
#L=YES #S=NULL
FIN
![Page 86: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/86.jpg)
DYSMF19 COPY Function
1–78 SMF/RMF Reporting Guide
DYSMF19 COPY Function: Example 2
Print all records regardless of date and time in volume serial number (SMF19VOL) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF19LNG ;RECORD LENGTH
STATUS SMF19END ;END OF FILE
COPY SMF19REC
COPY DYSMF19 #5='”SMF19VOL”.'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF19REC statement and the COPY DYSMF19 statement. For example, in the example shown above the following code:
IF SMF19YYY NE 'MVLV11'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 87: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/87.jpg)
DYSMF19 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–79
DYSMF19 Short Formatted Report
08/10/97 16.28.10 SMF RECORD TYPE 19 SHORT REPORT DIRECT ACCESS VOLUME PAGE 1
TIME DATE VOLUME OWNER NUMBER OF NUMBER OF NUMBER OF NUMBER OF
RECORD RECORD SERIAL ID OF UNUSED UNALLOCATED UNALLOCATED UNALLOCATED
WRITTEN WRITTEN NUMBER VOLUME ALTERNATE CYLINDERS TRACKS EXTENTS
TRACKS
-------------------------------------------------------------------------------------------------------------
01:40:19.80 08/04/97 EXT210 15 882 14 2
01:40:18.83 08/04/97 MVLV11 15 1,166 776 133
01:40:19.32 08/04/97 MVLV12 15 1,219 543 122
01:40:20.43 08/04/97 MVLV13 15 728 1,167 164
01:40:20.33 08/04/97 MVLV14 15 1,100 1,375 201
01:40:18.94 08/04/97 MVP003 15 671 319 79
01:40:20.11 08/04/97 MVP007 15 662 322 114
01:40:19.49 08/04/97 MVP008 15 680 340 103
01:40:19.44 08/04/97 MVP011 15 657 224 75
01:40:18.89 08/04/97 MVP012 O 15 674 229 61
01:40:19.75 08/04/97 MVP101 15 2,143 16 10
01:40:19.98 08/04/97 MVP901 CP370 15 322 9 5
01:40:20.19 08/04/97 MVSDL1 O 15 1,026 246 48
01:40:19.25 08/04/97 MVSDL2 O 15 1,088 241 47
01:40:19.93 08/04/97 MVSPG2 O 15 710 35 3
01:40:19.38 08/04/97 MVSRS2 O 15 1,073 77 39
01:40:20.05 08/04/97 MVSSP1 15 0 14 1
01:40:19.17 08/04/97 MVSSP2 15 1 14 2
01:40:20.59 08/04/97 MVSUB1 7163 15 817 182 39
01:40:19.69 08/04/97 MVSUB2 15 1,694 52 12
01:40:19.07 08/04/97 MVSYS1 15 1,147 253 87
01:40:19.62 08/04/97 MVSYS2 15 208 224 73
01:40:20.67 08/04/97 MVSYS3 15 1,077 207 59
01:40:19.87 08/04/97 MVSYS4 SUPPRT 15 534 14 5
01:40:20.51 08/04/97 VMP003 15 2,654 0 1
01:40:18.99 08/04/97 VMP005 CP370 15 0 0 1
01:40:19.11 08/04/97 VMRES1 CPVOL 0 0 0 1
01:40:20.48 08/04/97 VMRES2 CPVOL 0 0 0 1
NUMBER OF RECORDS PRINTED: 28
![Page 88: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/88.jpg)
DYSMF19 COPY Function
1–80 SMF/RMF Reporting Guide
DYSMF19 Long Formatted Report
08/10/97 16.27.20 SMF RECORD TYPE 19 LONG REPORT DIRECT ACCESS VOLUME PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 01:40:19.80 DATE RECORD WRITTEN 08/04/97
SYSTEM ID FROM INSTALLATION BEP1 VOLUME SERIAL NUMBER EXT210
OWNER ID
VTOC INDICATOR
FORMAT 5 DSCB IS MISSING
INDEXED VTOC
VTOC INDICATOR (HEX) 81 DEVICE TYPE (HEX) 3030200E
VTOC ADDRESS (HEX) 0001000601
NUMBER OF DSCBS 1,269 UNUSED ALTERNATE TRACKS 15
UNALLOCATED CYLINDERS 882 UNALLOCATED TRACKS 14
CYLINDERS IN LARGEST UNALLOCATED EXTENT 882 TRACKS IN LARGEST UNALLOCATED EXTENT 0
NUMBER OF UNALLOCATED EXTENTS 2 DEVICE NUMBER (HEX) 0210
DASD MODULE ID (HEX) 0000
HEADER SECTION
**************
TOD RECORD WRITTEN 01:40:18.83 DATE RECORD WRITTEN 08/04/97
SYSTEM ID FROM INSTALLATION BEP1 VOLUME SERIAL NUMBER MVLV11
OWNER ID
VTOC INDICATOR
FORMAT 5 DSCB IS MISSING
ACCURATE FORMAT 5 AND 6 DSCB
INDEXED VTOC
VTOC INDICATOR (HEX) 89 DEVICE TYPE (HEX) 3030200E
VTOC ADDRESS (HEX) 0001000301
NUMBER OF DSCBS 1,015 UNUSED ALTERNATE TRACKS 15
UNALLOCATED CYLINDERS 1,166 UNALLOCATED TRACKS 776
CYLINDERS IN LARGEST UNALLOCATED EXTENT 581 TRACKS IN LARGEST UNALLOCATED EXTENT 0
NUMBER OF UNALLOCATED EXTENTS 133 DEVICE NUMBER (HEX) 200
DASD MODULE ID (HEX) 0000
DYSMF19 Record Definition COPYLIB(SMF19REC)
SMF19HDR 1 CH ;HEADER SEGMENT FOR RECORD TYPE19 (LSPACE)
REDEFINE AT SMF19HDR
SMF19FLG 1 1 BI ;HEADER FLAG BYTE
SMF19RTY 1 2 BI ;RECORD TYPE 19
SMF19TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
![Page 89: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/89.jpg)
DYSMF19 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–81
SMF19DTE 4 7 PD ;DATE, PK/DEC. FORM: 00YYDDDF
SMF19SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF19RV1 2 15 BI ;RESERVED
SMF19VOL 6 17 CH ;VOLUME SERIAL #
SMF19OID 10 23 CH ;OWNER ID
SMF19DEV 4 33 BI ;DEVICE TYPE
*SMF19VTC DS BL5'0' VTOC ADDRESS
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA
SMF19VTC 5 37 ;VTOC ADDRESS
SMF19VTI 1 42 BI ;DS4VTOCI
SMF19NDS 2 43 BI ;# DSCB'S
SMF19DSR 2 45 BI ;# FORMAT0 DSCB'S
SMF19NAT 2 47 BI ;# UNUSED ALTERNATE TRACKS
SMF19SPC 4 49 BI ;TOTAL # UNALLOCATED CYL'S AND TRKS
SMF19LEX 4 53 BI ;# CYL'S AND TRKS IN LARGEST UNALLOCATED EXT.
SMF19NUE 2 57 BI ;# UNALLOCATED EXTENTS
SMF19RV2 2 59 BI ;RESERVED
SMF19CUU 2 61 BI ;DEVICE NUMBER
SMF19IND 2 63 BI ;DASD MODULE ID OR DRIVE NUMBER
* INDICATING PHYSICAL IDENTITY OF DEVICES
* HAVING MOVEABLE ADDRESS PLUGS
![Page 90: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/90.jpg)
DYSMF20 COPY Function
1–82 SMF/RMF Reporting Guide
DYSMF20 COPY Function The DYSMF20 COPY function can be used to print SMF type 20 records in two report formats — a long format and a short format. SMF type 20 records contain information that is pertinent to JOB INITIATION. The examples for DYSMF20 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF20 Record Definition COPYLIB(SMF20REC) . Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name and by the date and time the record was moved to the SMF buffer.
DYSMF20 COPY Parameters
Twelve parameters can be varied in the DYSMF20 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF20JBN SMF20DTE SMF20TME”.
![Page 91: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/91.jpg)
DYSMF20 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–83
Parameter Description
#6 #6 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#7 #7 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF20 COPY Function
DYSMF20 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 4:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF20LNG ;RECORD LENGTH
STATUS SMF20END ;END OF FILE
COPY SMF20REC
COPY DYSMF20 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'16:00:00'”
#L=YES #S=NULL
FIN
![Page 92: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/92.jpg)
DYSMF20 COPY Function
1–84 SMF/RMF Reporting Guide
DYSMF20 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF20JBN) and date (SMF20DTE) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF20LNG ;RECORD LENGTH
STATUS SMF20END ;END OF FILE
COPY SMF20REC
COPY DYSMF20 #5='SMF20JBN SMF20DTE'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF20REC statement and the COPY DYSMF20 statement. For example, in the example shown above the following code:
IF SMF20JBN NE 'CA9004D'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 93: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/93.jpg)
DYSMF20 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–85
DYSMF20 Short Formatted Report
08/10/97 10.51.11 SHORT REPORT SMF RECORD TYPE 20 JOB INITIATION PAGE 1
JOB SYSTEM USER PROGRAMMER JOB JOB ACCOUNT FIELDS
NAME ID ID DATE TIME FIRST 33 BYTES
CICSPRD2 IPO1 CICSPRD2 08/04/97 14:34:11 P105
EM9004C IPO1 GEN ACCT 08/04/97 14:19:46 P101
EM9004C IPO1 GEN ACCT 08/04/97 14:29:54 P101
EM9004P IPO1 GEN ACCT 08/04/97 14:20:02 P101
JOB IPO1 08/04/97 14:19:16
MOPPRINT IPO1 CUST ACCT 08/04/97 14:33:52 P102
PRD201B IPO1 CICSPRD2 08/04/97 14:34:06 T107
REVANAL IPO1 GEN ACCT 08/04/97 14:33:34 P101
SMFDUMP1 IPO1 OPERATIONS 08/04/97 14:19:16 P105
T103G75 IPO1 MARIANNE MOWRER 08/04/97 14:28:10 T103
T104G06 IPO1 JERRY GENTRY 08/04/97 14:30:55 T104
T104G14Q IPO1 BLACKWELL-AUDITING 0 08/04/97 14:35:17 T106
T104G14Q IPO1 BLACKWELL-AUDITING 08/04/97 14:37:25 T106
T105O02 IPO1 MARY CUMMINGS 08/04/97 14:27:47 ACCT#
T107S04V IPO1 WATKINS 08/04/97 14:31:29 T107
T107S04V IPO1 WATKINS 08/04/97 14:31:37 T107
T107S04V IPO1 WATKINS 08/04/97 14:31:48 T107
T107S04V IPO1 WATKINS 08/04/97 14:31:55 T107
T107S04V IPO1 WATKINS 08/04/97 14:32:02 T107
T109C20O IPO1 DALE PIKE 08/04/97 14:21:42 T109
T109C20O IPO1 DALE PIKE 08/04/97 14:23:26 T 109
T109P01 IPO1 B F SOMMERVILLE 08/04/97 14:33:18 T109
T109P04 IPO1 BOB MOTTERN 08/04/97 14:26:56 T109
T109P09 IPO1 DW370 08/04/97 14:23:56 T109
T109P30 IPO1 MARY LOU MANN ATKINS 08/04/97 14:39:34 T109
T109P33A IPO1 JIM JACKSON 08/04/97 14:26:37 T109
T109P33A IPO1 JIM JACKSON 08/04/97 14:35:45 T109
T109P33A IPO1 JIM JACKSON 08/04/97 14:40:01 T109
T109P46B IPO1 1800-D HOOD 08/04/97 14:20:37 T109
T109P46B IPO1 1800-D HOOD 08/04/97 14:24:00 T109
T109P46R IPO1 1800 - HOOD 08/04/97 14:26:29 T109
T109P47B IPO1 GARDNER 08/04/97 14:28:20 T109
T109P47B IPO1 GARDNER 08/04/97 14:30:03 T109
T109P47U IPO1 RBDT COMPILE/UPLOAD 08/04/97 14:26:37 T109
T109P47U IPO1 RBDT COMPILE/UPLOAD 08/04/97 14:29:17 T109
![Page 94: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/94.jpg)
DYSMF20 COPY Function
1–86 SMF/RMF Reporting Guide
NUMBER OF RECORDS PRINTED: 35
DYSMF20 Long Formatted Report
08/10/97 17.18.32 LONG REPORT SMF RECORD TYPE 20 JOB INITIATION PAGE 1
JOB NAME CA9004D RDR RECOGNIZED JOB CARD DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 RDR RECOGNIZED JOB CARD TIME 15:14:22
USER IDENTIFICATION REC MOVED TO SMF BUFFER DATE 08/04/97
PROGRAMMER NAME CUST ACCT REC MOVED TO SMF BUFFER TIME 15:14:26
NUMBER OF ACCOUNTING FIELDS 2 OFFSET TO RELOCATABLE AREA 00068
ACCOUNTING FIELDS P102
RACF GROUP ID ACFGROUP RACF USER ID T105O05
RACF TERMINAL ID NO RACF OR NO TERMINAL
*****************************************************************************************************************************
JOB NAME CICSPRD2 RDR RECOGNIZED JOB CARD DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 RDR RECOGNIZED JOB CARD TIME 14:34:11
USER IDENTIFICATION REC MOVED TO SMF BUFFER DATE 08/04/97
PROGRAMMER NAME CICSPRD2 REC MOVED TO SMF BUFFER TIME 14:34:11
NUMBER OF ACCOUNTING FIELDS 1 OFFSET TO RELOCATABLE AREA 00066
ACCOUNTING FIELDS P105
RACF GROUP ID ACFGROUP RACF USER ID CICSPRD2
RACF TERMINAL ID NO RACF OR NO TERMINAL
*****************************************************************************************************************************
JOB NAME COPYBAD RDR RECOGNIZED JOB CARD DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 RDR RECOGNIZED JOB CARD TIME 15:00:40
USER IDENTIFICATION REC MOVED TO SMF BUFFER DATE 08/04/97
PROGRAMMER NAME VERN TURNER REC MOVED TO SMF BUFFER TIME 15:00:40
NUMBER OF ACCOUNTING FIELDS 2 OFFSET TO RELOCATABLE AREA 00068
ACCOUNTING FIELDS P102
RACF GROUP ID ACFGROUP RACF USER ID T105O05
RACF TERMINAL ID NO RACF OR NO TERMINAL
*****************************************************************************************************************************
![Page 95: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/95.jpg)
DYSMF20 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–87
DYSMF20 Record Definition COPYLIB(SMF20REC)
SMFRCD20 1 CH ;RECORD 20
REDEFINE AT SMFRCD20
SMF20HDR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF20HDR
SMF20FLG 1 1 BI ;HEADER FLAG BYTE
SMF20RTY 1 2 BI ;RECORD TYPE 20
SMF20TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
SMF20DTE 4 7 PD ;DATE, PACKED/DEC FORM; 00YYDDDF
SMF20SID 4 11 CH ;SYSTEM ID
SMF20JBN 8 15 CH ;JOB NAME
SMF20RST 4 23 BI ;READER START TIME
SMF20RSD 4 27 PD ;READER START DATE, PK/DEC FORM: 00YYDDDF
SMF20UID 8 31 CH ;USER ID
SMF20RIN 2 39 BI ;
REDEFINE AT SMF20RIN
SMF20RLO 2 39 BI ;OFFSET TO RELOCATE SECTION
SMF20PGM 20 41 CH ;PROGRAMMER'S NAME
SMF20NAF 1 61 BI ;NO. ACCOUNTING FIELDS
SMF20ACT 1 CH ;ACCOUNTING FIELDS
REDEFINE AT SMF20ACT
* BEGINNING OF RELOCATE SECTION
* SMF20RLO IS ITS OFFSET FROM BEGINNING OF HEADER — SMF20HDR
SMF20RLA 1 CH ;RELOCATABLE AREA
REDEFINE AT SMF20RLA
SMF20RLS 2 62 BI ;SIZE OF RELOCATABLE AREA
SMF20GRP 8 64 CH ;RACF GROUP ID
SMF20RUD 8 72 CH ;RACF USER ID
SMF20TID 8 80 CH ;RACF TERMINAL ID
![Page 96: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/96.jpg)
DYSMF21 COPY Function
1–88 SMF/RMF Reporting Guide
DYSMF21 COPY Function The DYSMF21 COPY function can be used to print SMF type 21 records in two report formats — a long format and a short format. SMF type 21 records contain information that is pertinent to ERROR STATISTICS BY VOLUME. The examples for DYSMF21 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF21 Record Definition COPYLIB(SMF21REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by volume serial number and by the date and time the record was moved to the SMF buffer.
DYSMF21 COPY Parameters
Twelve parameters can be varied in the DYSMF21 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 97: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/97.jpg)
DYSMF21 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–89
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF21VOL SMF21DTE SMF21TME”.
For example, if you want to sort on the two fields, SMF21CA and SMF21UCB, you can specify #5 as equal to “SMF21CA SMF21UCB”.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF21VOL, SMF21SID, SMF21TR, and SMF21TW, you can specify #5 as equal to “SMF21VOL SMF21SID SMF21TR” and #6 as equal to “SMF21TW”.
#7 #7 applies to sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF21VOL, SMF21SID, SMF21CA, SMF21UCB, SMF21TR, SMF21DTE, and SMF21TME, you can override all three parameters by specifying #5 as equal to “SMF21VOL SMF21SID SMF21CA”, #6 as equal to “SMF21UCB SMF21TR SMF21DTE”, and #7 as equal to “SMF21TME”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 98: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/98.jpg)
DYSMF21 COPY Function
1–90 SMF/RMF Reporting Guide
Invoking the DYSMF21 COPY Function
DYSMF21 COPY Function: Example 1
Print all records with SMF buffer date and time between 3:00 P.M. and 4:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF21LNG ;RECORD LENGTH
STATUS SMF21END ;END OF FILE
COPY SMF21REC
COPY DYSMF21 #1=”'08/04/97'” #2=”'15:00:00'”
#3=”'08/04/97'” #4=”'16:00:00'”
#L=YES #S=NULL
FIN
DYSMF21 COPY Function: Example 2
Print all records regardless of date and time in volume serial number (SMF21VOL) and date (SMF21DTE) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF21LNG ;RECORD LENGTH
STATUS SMF21END ;END OF FILE
COPY SMF21REC
COPY DYSMF21 #5='SMF21VOL SMF21DTE '
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF21REC statement and the COPY DYSMF21 statement. For example, in the example shown above the following code:
IF SMF21SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 99: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/99.jpg)
DYSMF21 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–91
DYSMF21 Short Formatted Report
08/10/97 13.12.45 SMF RECORD TYPE 21 SHORT REPORT ERROR STATISTICS BY VOLUME PAGE 1
VOLUME TIME DATE DEVICE NUMBER OF NUMBER OF NUMBER OF NUMBER OF NUMBER NUMBER NUMBER NUMBER
SERIAL RECORD RECORD ADDRESS TEMPORARY TEMPORARY PERMANENT PERMANENT OF OF OF OF
NUMBER MOVED TO MOVED TO (HEX) READ WRITE READ WRITE START NOISE ERASE CLEANER
BUFFER BUFFER ERRORS ERRORS ERRORS ERRORS I/OS BLOCKS GAPS ACTIONS
------------------------------------------------------------------------------------------------------------------------------------
000026 15:38:12.34 08/04/97 0780 0 0 0 0 39 0 0 0
000233 15:00:36.92 08/04/97 0780 0 0 0 0 82 0 0 0
000344 15:00:36.95 08/04/97 0781 0 0 0 0 81 0 0 0
000350 15:01:15.60 08/04/97 0781 0 0 0 0 43 0 0 0
000422 15:50:25.02 08/04/97 0718 0 0 0 0 6,074 0 0 0
000556 15:38:57.04 08/04/97 0710 0 0 0 0 45 0 0 0
000704 14:35:35.46 08/04/97 0712 0 0 0 0 1,099 0 0 0
001139 14:35:35.36 08/04/97 071B 0 0 0 0 1,094 0 0 0
002194 14:35:31.20 08/04/97 0710 0 0 0 0 407 0 0 0
002243 14:29:10.73 08/04/97 0718 0 0 0 0 1,732 0 0 0
002572 14:24:06.12 08/04/97 0718 0 0 0 0 1,742 0 0 0
002895 15:58:24.78 08/04/97 0718 0 0 0 0 5,895 0 0 0
003230 15:44:04.60 08/04/97 0712 0 0 0 0 1,327 0 0 0
003333 15:53:52.38 08/04/97 0718 0 0 0 0 4,998 0 0 0
003375 15:37:35.72 08/04/97 071A 0 0 0 0 57 0 0 0
003709 14:52:49.10 08/04/97 0719 0 0 0 0 0,697 0 0 0
003709 15:05:03.26 08/04/97 0710 0 0 0 0 0,856 0 0 0
003709 15:17:42.34 08/04/97 0712 0 0 0 0 0,622 0 0 0
003709 15:35:31.07 08/04/97 0713 0 0 0 0 0,760 0 0 0
003710 14:58:35.65 08/04/97 0719 0 0 0 0 8,447 0 0 0
003710 15:11:33.25 08/04/97 0710 0 0 0 0 8,314 0 0 0
003710 15:23:38.57 08/04/97 0712 0 0 0 0 8,287 0 0 0
003710 15:41:27.10 08/04/97 0713 0 0 0 0 8,439 0 0 0
004135 14:34:42.76 08/04/97 0713 0 0 0 0 35 0 0 0
004147 14:21:40.41 08/04/97 0718 0 0 0 0 1,829 0 0 0
004148 14:26:42.54 08/04/97 0718 0 0 0 0 1,857 0 0 0
004150 14:31:56.47 08/04/97 0718 0 0 0 0 1,854 0 0 0
004151 14:34:42.37 08/04/97 0718 0 0 0 0 1,862 0 0 0
004266 15:01:11.52 08/04/97 0713 0 0 0 0 98 0 0 0
004623 15:37:13.64 08/04/97 0719 0 0 0 0 44 0 0 0
004641 15:08:15.91 08/04/97 0718 0 0 0 0 26 0 0 0
004664 14:46:55.36 08/04/97 071B 0 0 0 0 123 0 0 0
004817 14:59:02.51 08/04/97 0713 0 0 0 0 157 0 0 0
004995 16:04:45.39 08/04/97 0719 0 0 0 0 5,348 0 0 0
![Page 100: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/100.jpg)
DYSMF21 COPY Function
1–92 SMF/RMF Reporting Guide
005223 14:47:06.41 08/04/97 0713 0 0 0 0 99 0 0 0
NUMBER OF RECORDS PRINTED: 35
DYSMF21 Long Formatted Report
08/10/97 09.09.18 SMF RECORD TYPE 21 LONG REPORT ERROR STATISTICS BY VOLUME PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 15:38:12.34 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1
DATA PORTION
************
DEVICE NUMBER OR DEVICE ADDRESS (HEX) 0780
LENGTH OF DATA PORTION 44 VOLUME SERIAL 000026
UCB TYPE CODE (HEX) 32108003 NO. OF TEMPORARY READ ERRORS 0
UCB TYPE MEANS MAGNETIC TAPE — 3400 SERIES MAGNETIC TAPE UNIT
NO. OF TEMPORARY WRITE ERRORS 0 NO. OF START I/O'S 39
NO. OF PERMANENT READ ERRORS 0 NO. OF PERMANENT WRITE ERRORS 0
NO. OF PERMANENT NOISE BLOCKS 0 NO. OF ERASE GAPS
NO. OF CLEANER ACTIONS 0 BLOCK SIZE 0
TAPE UNIT SERIAL 001944 NO. OF TEMPORARY READ FORWARD ERRORS 0
NO. OF TEMPORARY READ BACKWARD ERRORS 0 NO. OF TEMPORARY WRITE FORWARD ERRORS 0
NO. OF 4K BYTES READ 0 NO. OF 4K BYTES WRITTEN 0
TAPE DENSITY (HEX) 00
CODE 7-TRACK 9-TRACK
TAPE DENSITY 2400 / 3400 SERIES ------ ------- -------
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 15:00:36.92 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM ID IPO1
DATA PORTION
************
DEVICE NUMBER OR DEVICE ADDRESS (HEX) 0780
LENGTH OF DATA PORTION 44 VOLUME SERIAL 000233
UCB TYPE CODE (HEX) 32108003 NO. OF TEMPORARY READ ERRORS 0
UCB TYPE MEANS MAGNETIC TAPE — 3400 SERIES MAGNETIC-TAPE UNIT
NO. OF TEMPORARY WRITE ERRORS 0 NO. OF START I/OS 82
NO. OF PERMANENT READ ERRORS 0 NO. OF PERMANENT WRITE ERRORS 0
NO. OF PERMANENT NOISE BLOCKS 0 NO. OF ERASE GAPS 0
NO. OF CLEANER ACTIONS 0 BLOCK SIZE 0
![Page 101: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/101.jpg)
DYSMF21 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–93
TAPE UNIT SERIAL 001944 NO. OF TEMPORARY READ FORWARD ERRORS 0
NO. OF TEMPORARY READ BACKWARD ERRORS 0 NO. OF TEMPORARY WRITE FORWARD ERRORS 0
NO. OF 4K BYTES READ 0 NO. OF 4K BYTES WRITTEN 0
TAPE DENSITY (HEX) 00
CODE 7-TRACK 9-TRACK
TAPE DENSITY 2400 / 3400 SERIES ------ ------- -------
DYSMF21 Record Definition COPYLIB(SMF21REC)
SMF21HDR 1 CH ;HEADER SEGMENT FOR RECORD 21 (ESV)
REDEFINE AT SMF21HDR
SMF21FLG 1 1 BI ;HEADER FLAG BYTE
SMF21RTY 1 2 BI ;RECORD TYPE 21
SMF21TME 4 3 BI ;TOD, USING TIME MACRO W/BIN. INTVL.
SMF21DTE 4 7 PD ;DATE, PACKED/DEC FORM: 00YYDDDF
SMF21SID 4 11 CH ;SYSTEM ID
SMF21LGH 2 15 BI ;LENGTH OF DATA PORTION
SMF21VOL 6 17 CH ;VOL SERIAL
SMF21CA 2 23 BI ;CHANNEL ADDRESS
SMF21UCB 4 25 BI ;UCB TYPE CODE
SMF21TR 1 29 BI ;TEMPORARY READ ERRORS
SMF21TW 1 30 BI ;TEMPORARY WRITE ERRORS
SMF21SIO 2 31 BI ;NO. OF START I/O
SMF21PR 1 33 BI ;PERMANENT READ ERRORS
SMF21PW 1 34 BI ;PERMANENT WRITE ERRORS
SMF21NB 1 35 BI ;NOISE BLOCKS
SMF21ERG 2 36 BI ;ERASE GAPS
SMF21CLN 2 38 BI ;CLEANER ACTIONS
SMF21DEN 1 40 BI ;TAPE DENSITY
SMF21BLS 2 41 BI ;BLOCK SIZE
SMF21OFL 1 43 BI ;DCBOFLG
SMF21TUS 3 44 CH ;TAPE UNIT SERIAL
SMF21TRF 2 47 BI ;TEMPORARY READ FORWARD ERRORS
SMF21TRB 2 49 BI ;TEMPORARY READ BACKWARD ERRORS
SMF21TWF 2 51 BI ;TEMPORARY WRITE ERRORS
SMF21BR 3 53 BI ;BYTES READ * 4096
SMF21BW 3 56 BI ;BYTES WRITTEN * 4096
![Page 102: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/102.jpg)
DYSMF26 COPY Function
1–94 SMF/RMF Reporting Guide
DYSMF26 COPY Function The DYSMF26 COPY function can be used to print SMF type 26 records in two report formats — a long format and a short format. SMF type 26 records contain information that is pertinent to JES2 OUTPUT WRITER. The examples for DYSMF26 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF26 Record Definition COPYLIB(SMF26REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job number, and the date and time the record was moved to the SMF buffer.
DYSMF26 COPY Parameters
Twelve parameters can be varied in the DYSMF26 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameters Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 103: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/103.jpg)
DYSMF26 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–95
Parameters Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF26JBN SMF26JNM SMF26DTE”. If you want to sort up to three fields, you can override this parameter by specifying the name of the fields under #5 and defining #6 as equal to NULL since #6 has its own default value.
For example, if you want to sort on the two fields, SMF26UIF and SMF26MSG, you can specify #5 as equal to “SMF26UIF SMF26MSG” and #6 as equal to NULL.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is “SMF26TME”. For example, if you want to sort up to six fields, you can override both #5 and #6 parameters by specifying the name of the fields under #5 and #6.
For example, if you want to sort on the four fields, SMF26RSD, SMF26RST, SMF26DTE, and SMF26TME, you can specify #5 as equal to “SMF26RSD SMF26RST SMF26DTE” and #6 as equal to “SMF26TME”.
#7 #7 applies to sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF26SID, SMF26JBN, SMF26RSD, SMF26RST, SMF26DTE, SMF26TME, and SMF26UIF, you can override all three parameters by specifying #5 as equal to “SMF26SID SMF26JBN SMF26RSD”, #6 as equal to “SMF26RST SMF26DTE SMF26TME”, and #7 as equal to “SMF26UIF”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented 1in 4-digit year format. The default is 2-digit year format (yes).
![Page 104: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/104.jpg)
DYSMF26 COPY Function
1–96 SMF/RMF Reporting Guide
Invoking the DYSMF26 COPY Function
DYSMF26 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF26LNG ;RECORD LENGTH
STATUS SMF26END ;END OF FILE
COPY SMF26REC
COPY DYSMF26 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF26 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF26JBN) and programmer's name (SMF26NAM) sequence. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF26LNG ;RECORD LENGTH
STATUS SMF26END ;END OF FILE
COPY SMF26REC
COPY DYSMF26 #5='SMF26JBN SMF26NAM'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF26REC statement and the COPY DYSMF26 statement. For example, in the example shown above the following code:
IF SMF26SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 105: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/105.jpg)
DYSMF26 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–97
DYSMF26 Short Formatted Report
08/10/97 SHORT REPORT SMF RECORD TYPE 26 JES2 OUTPUT WRITER PAGE 1
JOB JES2/3 SYSTEM DATE TIME PROGRAMMER'S PROGRAMMER'S INPUT OUTPUT NUMBER NO.OF
NAME ASSIGN. ID. SMF SMF NAME ACCTNG ROUTE FORM OF OUTPUT
JOB REC. REC. NUMBER CODE NO. INPUT LINES
NUMBER MOVED MOVED CARDS TO
TO TO SPOOL
BUFFER BUFFER
JOB 7609 IPO1 08/04/97 14:19:16 --- --- LOCAL ROUTING STD 2 62
SMFDUMP1 7610 IPO1 08/04/97 14:20:20 OPERATIONS P105 LOCAL ROUTING STD 15 105
T101G01 7585 IPO1 08/04/97 14:38:16 DONNA LA FOLLETTE T101 LOCAL ROUTING STD 3 163
T101G04 7511 IPO1 08/04/97 14:26:55 CHUCK HERT T101 LOCAL ROUTING STD 3 179
T104G14M 7655 IPO1 08/04/97 14:48:19 BLACKWELL T109 LOCAL ROUTING STD 671 2,003
T104G14Q 7599 IPO1 08/04/97 14:47:29 BLACKWELL-AUDITING T106 LOCAL ROUTING STD 174 5,359
7640 IPO1 08/04/97 14:47:29 BLACKWELL-AUDITING T106 LOCAL ROUTING STD 175 5,363
7642 IPO1 08/04/97 14:47:29 BLACKWELL-AUDITING T106 LOCAL ROUTING STD 174 5,358
T105D01 7649 IPO1 08/04/97 14:47:20 NANCY COLLINS --- LOCAL ROUTING STD 3 180
T107S01 7563 IPO1 08/04/97 14:52:25 DAVID SALTER T107 LOCAL ROUTING STD 3 223
T107S02B 7489 IPO1 08/04/97 14:34:38 BRANDENBURG USER LOCAL ROUTING STD 19 48
T109C20 7463 IPO1 08/04/97 14:52:26 DALE PIKE T109 LOCAL ROUTING STD 3 476
T109P04 7622 IPO1 08/04/97 14:40:34 BOB MOTTERN T109 LOCAL ROUTING STD 3 202
T109P08 7471 IPO1 08/04/97 14:35:54 JO ANNE MITCHELL T109 LOCAL ROUTING STD 3 572
T109P14L 7226 IPO1 08/04/97 14:42:03 NEUERMAN T109 LOCAL ROUTING STD 36 80
7241 IPO1 08/04/97 14:42:03 NEUERMAN T109 LOCAL ROUTING STD 35 77
T109P30 7596 IPO1 08/04/97 14:39:23 MARY LOU MANN ATKINS T109 LOCAL ROUTING STD 3 216
7643 IPO1 08/04/97 14:44:55 MARY LOU MANN ATKINS T109 LOCAL ROUTING STD 3 203
7651 IPO1 08/04/97 14:45:09 MARY LOU MANN ATKINS T109 LOCAL ROUTING STD 3 183
7653 IPO1 08/04/97 14:49:01 MARY LOU MANN ATKINS T109 LOCAL ROUTING STD 3 325
7659 IPO1 08/04/97 14:49:43 MARY LOU MANN ATKINS T109 LOCAL ROUTING STD 3 325
7661 IPO1 08/04/97 14:52:54 MARY LOU MANN ATKINS T109 LOCAL ROUTING STD 3 286
T109P33A 7608 IPO1 08/04/97 14:35:54 JIM JACKSON T109 LOCAL ROUTING STD 34 2,521
7621 IPO1 08/04/97 14:35:54 JIM JACKSON T109 LOCAL ROUTING STD 34 2,511
7641 IPO1 08/04/97 14:40:06 JIM JACKSON T109 LOCAL ROUTING STD 34 2,518
7644 IPO1 08/04/97 14:43:34 JIM JACKSON T109 LOCAL ROUTING STD 34 2,506
T109P38 7606 IPO1 08/04/97 14:40:38 WILLIAM TRINH T109 LOCAL ROUTING STD 3 373
T109P41A 7646 IPO1 08/04/97 14:44:06 CECIL HALLOCK T109 LOCAL ROUTING STD 21 1,361
T109P41T 7647 IPO1 08/04/97 14:46:15 CECIL HALLOCK T109 LOCAL ROUTING STD 49 194
T109P46B 7399 IPO1 08/04/97 14:19:23 1800-D HOOD T109 LOCAL ROUTING STD 43 164
7615 IPO1 08/04/97 14:24:06 1800-D HOOD T109 LOCAL ROUTING STD 42 79
7607 IPO1 08/04/97 14:24:09 1800-D HOOD T109 LOCAL ROUTING STD 32 133
![Page 106: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/106.jpg)
DYSMF26 COPY Function
1–98 SMF/RMF Reporting Guide
T109P46F 7388 IPO1 08/04/97 14:19:23 1800-D HOOD T109 LOCAL ROUTING STD 39 161
T109P47B 7625 IPO1 08/04/97 14:29:06 GARDNER T109 LOCAL ROUTING STD 139 364
T109P50 7578 IPO1 08/04/97 14:37:12 KERRY NOTESTINE T109 LOCAL ROUTING STD 3 208
NUMBER OF RECORDS PRINTED: 35
DYSMF26 Long Formatted Report (Page 1 of 2)
08/10/97 LONG REPORT SMF RECORD TYPE 26 JES2 OUTPUT WRITER PAGE 1
JOB NAME JOB USER IDENTIFICATION
SYSTEM IDENTIFICATION IPO1 SUBSYSTEM IDENTIFICATION JES2
RDR RECOGNIZED JOB CARD DATE 08/04/97 RDR RECOGNIZED JOB CARD TIME 14:19:15.53
REC MOVED TO SMF BUFFER DATE 08/04/97 REC MOVED TO SMF BUFFER TIME 14:19:16.24
ENTRY TYPE INDICATOR DESCRIPTOR SECTION PRESENT
EVENTS SECTION PRESENT
ACTUALS SECTION PRESENT
NETWORK SECTION PRESENT
ROUTING SECTION PRESENT
PRINTING SECTION PRESENT
******* DESCRIPTOR SECTION *******
JOB INFORMATION INDICATOR SYSTEM TASK
NO JOURNAL OPTION
NO JOB LOG OPTION
JOB WAS ENTERED ON INTERNAL READER
JES2 JOB SELECTION PRIORITY WHEN INITIALLY READ (HEX) F0
JES2 JOB SELECTION PRIORITY WHEN SELECTED (HEX) F0
JES2 LOGICAL INPUT DEVICE NAME STCINRDR
PROCEDURE DDNAME FOR JCL CONVERSION PROC00
JES2-ASSIGNED JOB NUMBER 7609 JOB IDENTIFICATION STC07609
PROGRAMMER'S NAME --- MESSAGE CLASS Z
JOB CLASS INPUT ROUTE CODE LOCAL ROUTING
PROGRAMMER'S ACCOUNTING NO. --- PROGRAMMER'S ROOM NO.
ESTIMATED OUTPUT LINES 999,999,000 ESTIMATED EXECUTION TIME 00:14:24.00
ESTIMATED OUTPUT PUNCHED CARDS 999,999 OUTPUT FORM NO. STD
JOB PRINT COPY COUNT 1 LINES PER PAGE 61
JOB PRINT ROUTE CODE LOCAL ROUTING JOB PUNCH ROUTE CODE LOCAL ROUTING
![Page 107: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/107.jpg)
DYSMF26 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–99
DYSMF26 Long Formatted Report (Page 2 of 2)
08/10/97 LONG REPORT SMF RECORD TYPE 26 JES2 OUTPUT WRITER PAGE 2
******* EVENTS SECTION *******
READER STOP DATE 08/04/97 READER STOP TIME 14:19:15.58
CONVERTER START DATE 08/04/97 CONVERTER START TIME 14:19:15.59
CONVERTER STOP DATE 08/04/97 CONVERTER STOP TIME 14:19:15.79
EXECUTION PROCESSOR START DT 08/04/97 EXECUTION PROCESSOR START TM 14:19:15.81
EXECUTION PROCESSOR STOP DATE 08/04/97 EXECUTION PROCESSOR STOP TIME 14:19:16.15
OUTPUT PROCESSOR START DATE 08/04/97 OUTPUT PROCESSOR START TIME 14:19:16.18
OUTPUT PROCESSOR STOP DATE 08/04/97 OUTPUT PROCESSOR STOP TIME 14:19:16.19
******* ACTUALS SECTION *******
NUMBER OF INPUT CARDS 2 NO.OF OUTPUT LINES TO SPOOL 62
NO.OF PUNCHED CARDS TO SPOOL 0
INPUT PROCESSOR SYSTEM ID. IPO1 CONVERSION PROCESSOR SYST.ID IPO1
EXECUTION PROCESSOR SYST. ID IPO1 OUTPUT PROCESSOR SYSTEM ID. IPO1
******* NETWORKING SECTION *******
JOB TRANSMITTER SYSTEM ID. NETWORK ACCOUNTING NO.
JOB TRANSMITTER START DATE 08/04/97 JOB TRANSMITTER START TIME 00:00:00.00
JOB TRANSMITTER STOP DATE 08/04/97 JOB TRANSMITTER STOP TIME 00:00:00.00
ORIGINAL JOB ID. STC07609 JOB TRANSMITTER DEVICE NAME
ORIGINAL NODE NAME N1 EXECUTION NODE NAME N1
NEXT NODE NAME LAST NODE NAME
******* ROUTING SECTION *******
LENGTH OF ROUTING SECTION 14 INPUT ROUTE CODE LOCAL ROUTING
DEFAULT PRINT ROUTE CODE LOCAL ROUTING DEFAULT PUNCH ROUTE CODE LOCAL ROUTING
******* PRINT SECTION ********
LENGTH OF PRINT SECTION 26 ESTIMATED SYSOUT BYTE COUNT 2,147,483,000
ACTUAL SYSOUT BYTE COUNT 4,416 ESTIMATED PAGE COUNT 999,999
OUTPUT FORM NUMBER STD ACTUAL PAGE COUNT 0
![Page 108: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/108.jpg)
DYSMF26 COPY Function
1–100 SMF/RMF Reporting Guide
DYSMF26 Record Definition COPYLIB(SMF26REC)
SMFRCD26 1 CH ;START OF RECORD
REDEFINE AT SMFRCD26
SMF26PTR 1 CH ;HEADER SEGMENT (LGTH 46 WITHOUT RDW)
REDEFINE AT SMF26PTR
SMF26FLG 1 1 BI ;HEADER FLAG BYTE
SMF26RTY 1 2 BI ;RECORD TYPE 26
*SMFJ26 EQU 26 PURGE RECORD TYPE
SMF26TME 4 3 BI ;TOD FROM TIME MACRO BINARY
SMF26DTE 4 7 PD ;DATE FROM TIME MACRO
SMF26SID 4 11 CH ;SYSTEM INDICATOR
SMF26JBN 8 15 CH ;JOB NAME
SMF26RST 4 23 BI ;RDR START TIME, TIME JOB CARD 1ST READ
SMF26RSD 4 27 PD ;READER START DATE
SMF26UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF26RSV 4 39 BI ;RESV
SMF26SBS 2 43 BI ;SUBSYSTEM GENERATING ID (JES2=2, JES3=5)
*SMF26HSP EQU X'0002' JES2 ID
SMF26IND 2 45 BI ;INDICATORS
*SMF26DES EQU X'8000' DESCRIPTIVE SECTION PRESENT
*SMF26EVT EQU X'4000' EVENT SECTION P RESENT
*SMF26ATU EQU X'2000' ACTUAL SECTION PRESENT
*SMF26NTW EQU X'1000' NETWORK SECTION PRESENT
*SMF26J2R EQU X'0800' JES2 ROUTING SECTION PRESENT
*SMF26JXP EQU X'0400' JES PRINTER SECTION PRESENT
*SMF26SPL EQU X'0200' JES2 SPOOL USE SECTION PRESENT
* BEGINNING OF DESCRIPTIVE SECTION
SMF26LN1 2 47 BI ;LGTH OF THIS SECTION INCLUDING SELF
SMF26RV1 2 49 BI ;RESV
SMF26IN2 1 51 BI ;ADDITIONAL JOB INFORMATION (JES2 ONLY)
*SMF26BCH EQU X'80' BIT 0 — BACKGROUND BATCH
*SMF26FTS EQU X'40' 1 — FOREGROUND TIME SHARING
*SMF26STK EQU X'20' 2 — SYSTEM TASK
*SMF26NOJ EQU X'10' 3 — NO JOURNAL OPTION
*SMF26NOU EQU X'08' 4 — NO OUTPUT OPTION
*SMF26SCN EQU X'04' 5 — TYPRUN=SCAN
*SMF26CPY EQU X'02' 6 — TYPRUN=COPY
*SMF26JBF EQU X'01' 7 — RESTART=Y
REDEFINE AT SMF26IN2
SMF26IN3 1 51 BI ;ADDITIONAL JOB INFORMATION (JES3 ONLY)
*SMF26DJC EQU X'80' BIT 0 — DEPENDENT JOB (//*NET JOB PROCESSED)
*SMF26DLJ EQU X'40' 1 — JOB SPECIFIED DEADLINE SCHEDULING
*SMF26DLM EQU X'20' 2 — DEADLINE JOB MET DEADLINE
*SMF26PRJ EQU X'10' 3 — //*PROCESS STMT PROCESSED
*SMF26NJX EQU X'08' 4 — JOB LEFT SYSTEM USING NJP (NETWORK JOB
PROCESSING)
*SMF26NJE EQU X'04' 5 — JOB ENTERED SYSTEM USING NJP
*SMF26DJO EQU X'02' 6 — JOB LEFT SYSTEM USING DJ (DUMP JOB)
![Page 109: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/109.jpg)
DYSMF26 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–101
*SMF26DJE EQU X'01' 7 — JOB ENTERED SYSTEM USING DJ
SMF26INF 1 52 BI ;JOB INFORMATION
*SMF26JCP EQU X'80' 0 — JOB PRIORITY EXTERNALLY ASSIGNED
* (JES2-USING /*PRIORITY STMT)
* (JES3-USING PRTY PARM ON JOB STMT)
*SMF26STU EQU X'40' 1 — SETUP JOB
* (JES2-/*SETUP STMT PROCESSED)
* (JES3-PROCESSED BY PREEXEC SETUP)
*SMF26TRH EQU X'20' 2 — JOB HELD USING TYPERUN=HOLD
*SMF26NLG EQU X'10' 3 — JOB REQUESTED NO JES JOB LOG (JES2)
*SMF26XBC EQU X'08' 4 — EXEC BATCHING JOB (JES2 ONLY)
*SMF26EIR EQU X'04' 5 — JOB ENTERED USING INTERNAL RDR
*SMF26MRE EQU X'02' 6 — JOB WAS RERUN BY JES
*SMF26OPC EQU X'01' 7 — OPER CANCELED JOB BY JES CMND
SMF26JNM 4 53 CH ;JES ASSIGNED JOB #
SMF26JID 8 57 CH ;JOB ID OF FORM XXX0YYYY WHERE YYYY IS
* JES ASSIGNED JOB # & XXX IS
* 'JOB' — NORMAL JES JOB
* 'STC' — STARTED TASK CONTROL
* 'TSU' — TSO USER
SMF26NAM 20 65 CH ;PROGRAMMER'S NAME FROM JOB CARD
SMF26MSG 1 85 CH ;MESSAGE CLASS FROM JOB CARD
SMF26CLS 1 86 CH ;JOB CLASS FROM JOB CARD
SMF26XPI 1 87 BI ;INITIAL JOB PRIORITY
SMF26XPS 1 88 BI ;SELECTION PRIORITY AT TIME JOB SELECTED
SMF26OPI 1 89 BI ;INITIAL OUTPUT PRIORITY (JES2 ONLY)
SMF26OPS 1 90 BI ;OUTPUT PRIORITY AT SELECTION (JES2 ONLY)
SMF26LOC 2 91 BI ;INPUT ROUTE CODE OR ZERO (JES2 ONLY)
REDEFINE AT SMF26OPI
SMF26RV8 4 89 BI ;RESERVED (JES3)
SMF26DEV 8 93 CH ;LOG INPUT DEV NAME OF WHERE JOB READ
* USER ID IF TSO SUBMIT
* SYSTEM NAME IF NJP
SMF26ACT 4 101 CH ;PROGRAMMER'S ACCOUNTING # (JES2 ONLY)
SMF26ROM 4 105 CH ;PROGRAMMER'S ROOM # (JES2 ONLY)
REDEFINE AT SMF26ACT
*SMF26RVA DS XL8 RESERVED (JES3)
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA
SMF26RVA 8 101 ;RESERVED (JES3)
SMF26XTM 4 109 BI ;ESTIMATED EXECUTION TIME (SEC)
SMF26ELN 4 113 BI ;ESTIMATED OUTPUT LINES
SMF26EPU 4 117 BI ;ESTIMATED OUTPUT PUNCHED CARDS
*SMF26J2D 1 CH ;JES2 ONLY DESCRIPTIVE SECTION
REDEFINE AT SMF26J2D
SMF26FRM 4 121 CH ;DEFAULT OUTPUT FORM #
SMF26CYP 2 125 BI ;PRINT COPY COUNT IF FOR ALL OF JOB
SMF26LIN 2 127 BI ;LINES PER PAGE
SMF26PRR 2 129 BI ;DEFAULT PRINT DESTINATION
SMF26PUR 2 131 BI ;DEFAULT PUNCH DESTINATION
![Page 110: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/110.jpg)
DYSMF26 COPY Function
1–102 SMF/RMF Reporting Guide
SMF26PDD 8 133 CH ;JES2 PROC DDNAME FOR JCL CONVERSION
REDEFINE AT SMF26J2D
SMF26J3D 1 CH ;JES3 ONLY DESCRIPTIVE SECTION
REDEFINE AT SMF26J3D
SMF26DTY 1 121 CH ;DEADLINE SCHEDULE TYPE
SMF26RV6 3 122 BI ;RESERVED
SMF26IGP 8 125 CH ;LOG INPUT DEV GROUP NAME (JOB SOURCE)
SMF26PD3 8 133 CH ;PROCEDURE DD NAME
SMF26NJO 8 141 CH ;SYS NAME TO WHICH JOB SENT USING NJP
SMF26NJI 8 149 CH ;SYS FROM WHICH JOB RECEIVED USING NJP
SMF26NET 8 157 CH ;ID OF DEPENDENT JOB NET TO WHICH
* THIS JOB BELONGS (FROM //*NET STMT)
SMF26DTM 4 165 BI ;DEADLINE SCHEDULE TIME
SMF26DDT 4 169 PD ;DEADLINE SCHEDULE DATE
SMF26CLN 8 173 CH ;JOB CLASS NAME
**BEGINNING OF EVENT SECTION
*
REDEFINE AT SMF26LN1
SMF26LN2 2 47 BI ;LGTH OF THIS SECTION (INCLUDING SELF)
SMF26RV2 2 49 BI ;RESV
SMF26RPT 4 51 BI ;READER STOP TIME
SMF26RPD 4 55 PD ;READER STOP DATE
SMF26CST 4 59 BI ;CONVERTER START TIME
SMF26CSD 4 63 PD ;CONVERTER START DATE
SMF26CPT 4 67 BI ;CONVERTER STOP TIME
SMF26CPD 4 71 PD ;CONVERTER STOP DATE
SMF26XST 4 75 BI ;EXECUTION START TIME
SMF26XSD 4 79 PD ;EXECUTION START DATE
SMF26XPT 4 83 BI ;EXECUTION STOP TIME
SMF26XPD 4 87 PD ;EXECUTION STOP DATE
SMF26OST 4 91 BI ;OUTPUT PROCESSOR START TIME
SMF26OSD 4 95 PD ;OUTPUT PROCESSOR START DATE
SMF26OPT 4 99 BI ;OUTPUT PROCESSOR STOP TIME
SMF26OPD 4 103 PD ;OUTPUT PROCESSOR STOP DATE
**
BEGINNING OF ACTUAL SECTION
*
REDEFINE AT SMF26LN1
SMF26LN3 2 47 BI ;LGTH OF THIS SECTION (INCLUDING SELF)
SMF26RV4 2 49 BI ;RESV
SMF26ICD 4 51 BI ;# OF INPUT CARDS (JCL AND DATA)
SMF26XLN 4 55 BI ;OUTPUT LINES GENERATED TO SPOOL
SMF26XPU 4 59 BI ;OUTPUT PUNCH CARDS GENERATED TO SPOOL
SMF26RID 4 63 CH ;INPUT PROCESSOR SYSTEM ID
SMF26CID 4 67 CH ;JCL CONVERSION PROCESSOR SYSTEM ID
SMF26XID 4 71 CH ;EXECUTION PROCESSOR SYSTEM ID
SMF26OID 4 75 CH ;OUTPUT PROCESSOR SYSTEM ID
SMF26JAF 42 79 CH ;JOB ACCT FIELDS (MAX. LEN 42)
NJEJMR 4 1 21 BI ;
![Page 111: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/111.jpg)
DYSMF26 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–103
REDEFINE AT NJEJMR
NJEJMRID 8 121 CH ;
NJEJMRLN 2 129 BI ;LENGTH OF NJEJMR
NJEJOBNO 2 131 BI ;ORIGIN NODE JOB NUMBER
NJEJOBNM 8 133 CH ;JOB NAME
NJEXEQN 8 141 CH ;EXECUTION NODE
NJEPRGMR 20 149 CH ;PROGRAMMER NAME
NJEUSRID 8 169 CH ;TSO USER ID
NJEACCT 8 177 CH ;NETWORK ACCT NUM
NJEDEPT 8 185 CH ;PROGRAMMER DEPT NUM
NJEBLDG 8 193 CH ;PROGRAMMER BLDG NUM
NJEROOM 8 201 CH ;PROGRAMMER ROOM NUM
NJEXEQU 8 209 CH EXECUTION USER ID
NJETRANS 4 217 BI ;NUM OF XMIT BUFFERS
NJEJMREN 4 221 BI ;
REDEFINE AT NJEJMREN
*NJEJMRSZ DS 0XL(NJEJMREN-NJEJMR)
NJEJMRSZ 1 221 BI ;
REDEFINE AT NJEJMRSZ
SMF26SRC 4 221 CH ;NUMBER OF SPOOL RECORDS
*
* BEGINNING OF NETWORK SECTION
*
REDEFINE AT SMF26LN1
SMF26LN4 2 47 BI ;LENGTH OF THIS SECTION (INCLUDING SELF)
SMF26RV5 2 49 BI ;RESERVED
SMF26NID 4 51 CH ;JOB TRANSMITTER SYSTEM IDENTIFIER
SMF26NST 4 55 BI ;JOB TRANSMITTER START TIME
SMF26NSD 4 59 PD ;JOB TRANSMITTER START DATE
SMF26NPT 4 63 BI ;JOB TRANSMITTER STOP TIME
SMF26NPD 4 67 PD ;JOB TRANSMITTER STOP DATE
SMF26NAC 8 71 CH ;NETWORK ACCOUNTING NUMBER
SMF26NJB 8 79 CH ;ORIGINAL JOB IDENTIFICATION
SMF26NDV 8 87 CH ;JOB TRANSMITTER DEVICE NAME
SMF26NON 8 95 CH ;ORIGINAL NODE NAME
SMF26NXN 8 103 CH ;EXECUTION NODE NAME
SMF26NNM 8 111 CH ;NEXT NODE NAME
SMF26NLN 8 119 CH ;LAST NODE NAME
REDEFINE AT SMF26LN1
SMF26LN5 2 47 BI ;LGTH OF THIS SECTION
SMF26INR 4 49 CH ;INPUT ROUTING
SMF26PRD 4 53 CH ;DEFAULT PRINT DESTINATION
SMF26PUD 4 57 CH ;DEFAULT PUNCH DESTINATION
REDEFINE AT SMF26LN1
SMF26LN6 2 47 BI ;LGTH OF THIS SECTION
SMF26EBT 4 49 CH ;ESTIMATED BYTE COUNT
SMF26XBT 4 53 CH ;ACTUAL BYTE COUNT
SMF26EPG 4 57 CH ;ESTIMATED PAGE COUNT
![Page 112: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/112.jpg)
DYSMF30 COPY Function
1–104 SMF/RMF Reporting Guide
SMF26XPG 4 61 CH ;ACTUAL PAGE COUNT
SMF26EFM 8 65 CH ;EXPANDED FORMS ID
DYSMF30 COPY Function The DYSMF30 COPY function can be used to print SMF type 30 records in two reports formats — a long format and a short format. SMF type 30 records contain information about the normal or abnormal termination of a batch job or step, a TSO session, or a started task. It also contains information about the expiration of an accounting interval, the start of a job or the start of the first step after a warm start, or the expiration of an accounting interval for a system address space.
The type 30 record consolidates the data in the type 4, 5, 20, 34, 35, and 40 records. The examples for DYSMF30 short formatted and long formatted reports are shown in this section. The COPY function assumes that the SMF record is formatted as shown in DYSMF30 Record Definition COPYLIB(SMF30REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF30 COPY Parameters
Nine parameters can be varied in the DYSMF30 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
![Page 113: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/113.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–105
Parameter Description
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF30 COPY Function
DYSMF30 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 2:30 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF30LNG ;RECORD LENGTH
STATUS SMF30END ;END OF FILE
COPY SMF30REC
COPY DYSMF30 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'14:30:00'”
#L=YES #S=NULL
FIN
![Page 114: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/114.jpg)
DYSMF30 COPY Function
1–106 SMF/RMF Reporting Guide
DYSMF30 COPY Function: Example 2
Print all records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF30LNG ;RECORD LENGTH
STATUS SMF30END ;END OF FILE
COPY SMF30REC
COPY DYSMF30
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF30REC statement and the COPY DYSMF30 statement. For example, in the example shown above the following code:
IF SMF30SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 115: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/115.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–107
DYSMF30 Short Formatted Report (Page 1 of 2)
08/10/97 10.39.14 SMF RECORD TYPE 30 DEVICE ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM IDENTIFICATION IPO1
RECORD WRITTEN TIME 14:19:16.14 RECORD WRITTEN DATE 08/04/97
RECORD SUBTYPE 4 SUBSYSTEM ID STC
NAME OF NUMBER OF NAME OF NUMBER OF NAME OF NUMBER OF
SECTION SECTIONS SECTION SECTIONS SECTION SECTIONS
------- -------- ------- -------- ------- --------
SUBSYSTEM 1 IDENTIFICATION 1 I/O ACTIVITY 1
COMPLETION 1 PROCESSOR ACCOUNTING 1 ACCOUNTING
STORAGE AND PAGING 1 PERFORMANCE 1 OPERATOR 1
EXCP 4 APPC/MVS
SUBSYSTEM SECTION
*******************
SUBTYPE ID FOR TYPE 30 STEP TOTAL
SUBSYSTEM OR PRODUCT NAME SMF RECORD VERSION NUMBER 04
IDENTIFICATION SECTION
**********************
JOB/SESSION NAME JOB PROGRAM NAME IEBEDIT
STEP NAME IEFPROC USER ID FIELD
JES JOB NUMBER STC07609 STEP NUMBER 1
JOB CLASS JOB PERF GROUP NUMBER 40
I/O ACTIVITY SECTION
********************
NUMBER OF CARD IMAGES IN DD DATA 0 TOTAL BLOCKS TRANSFERRED 10
NUMBER OF TPUTS IF TSO SESSION 0 NUMBER OF TGETS IF TSO SESSION 0
![Page 116: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/116.jpg)
DYSMF30 COPY Function
1–108 SMF/RMF Reporting Guide
DYSMF30 Short Formatted Report (Page 2 of 2)
08/10/97 10.39.14 SMF RECORD TYPE 30 DEVICE ACTIVITY SHORT FORM PAGE 2
COMPLETION SECTION
*******************
STEP COMPLETION CODE NORMAL JOB COMPLETION
STEP COMPLETION CODE (HEX) 0000
PROCESSOR ACCOUNTING SECTION
****************************
CPU DISPATCHING PRIORITY 121 STEP CPU TIME UNDER TCB 00:00:00.04
INTERVAL START TIME 00:00:00.00 INTERVAL START DATE 08/04/97
STORAGE AND PAGING SECTION
**************************
STORAGE FLAGS NO INFORMATION
STORAGE PROTECT KEY 32,768
BOTTOM STORAGE USED (K UNITS) 104 TOP STORAGE USED (K UNITS) 116
NUMBER OF PAGE-INS 0 NUMBER OF PAGE-OUTS 0
PERFORMANCE SECTION
******************
RESERVED - REGION FIELD 680 CPU SERVICE UNITS 432
SRB SERVICE UNITS 7 I/O SERVICE UNITS 45
OPERATOR SECTION
****************
NUMBER OF NON-SPECIFIC DASD 0 NUMBER OF SPECIFIC DASD MOUNTS 0
NUMBER OF NON-SPECIFIC TAPE 0 NUMBER OF SPECIFIC TAPE MOUNTS 0
EXCP SECTION
************
EXCP DEVICE UNIT IT IS DEVICE DD NAME OF LARGEST
SECTION CLASS TYPE VIRTUAL ADDRESS THIS BLOCK SIZE
NUMBER (HEX) (HEX) DEVICE (HEX) DATA SET OF DATA SET
(YES/NOT) (HEX)
-----------------------------------------------------------------------------------------------------------------
1 00 00 NOT 0000 SYSPRINT 0000
2 20 0E NOT 0413 SYSUT1 5B90
3 00 00 NOT 0000 SYSUT2 0000
4 00 00 NOT 0000 SYSIN 0000
![Page 117: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/117.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–109
DYSMF30 Long Formatted Report (Page 1 of 3)
08/10/97 10.42.53 SMF RECORD TYPE 30 DEVICE ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM IDENTIFICATION IPO1
RECORD WRITTEN TIME 14:19:16.14 RECORD WRITTEN DATE 08/04/97
RECORD SUBTYPE 4 SUBSYSTEM ID STC
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------------------
SUBSYSTEM 128 22 1
IDENTIFICATION 150 148 1
I/O ACTIVITY 298 32 1
COMPLETION 330 8 1
PROCESSOR ACCOUNTING 338 60 1
ACCOUNTING 0 0 0
STORAGE AND PAGING 398 144 1
PERFORMANCE 542 36 1
OPERATOR 578 24 1
EXCP 642 22 4
APPC/MVS 602 40 0
SUBSYSTEM SECTION
*******************
SUBTYPE ID FOR TYPE 30 STEP TOTAL
SUBSYSTEM OR PRODUCT NAME SMF RECORD VERSION NUMBER 04
IDENTIFICATION SECTION
**********************
JOB/SESSION NAME JOB PROGRAM NAME IEBEDIT
STEP NAME IEFPROC USER ID FIELD
JES JOB NUMBER STC07609 STEP NUMBER 1
JOB CLASS JOB PERF GROUP NUMBER 40
JES INPUT PRIORITY 0 DEVICE ALLOC START TIME
PROBLEM PROG START TIME 14:19:15.86 STEP INITIATION TIME 14:19:15.84
STEP INITIATION DATE 08/04/97 READER START TIME 14:19:15.53
READER START DATE 08/04/97 READER END TIME 14:19:15.58
READER END DATE 08/04/97 s RACF TERMINAL ID. IF
RACF GROUP ID * RACF USER ID *
PROGRAMMER'S NAME
I/O ACTIVITY SECTION
********************
NUMBER OF CARD IMAGES IN DD DATA 0 TOTAL BLOCKS TRANSFERRED 10
NUMBER OF TPUTS IF TSO SESSION 0 NUMBER OF TGETS IF TSO SESSION 0
![Page 118: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/118.jpg)
DYSMF30 COPY Function
1–110 SMF/RMF Reporting Guide
READER DEVICE CLASS 0 READER DEVICE TYPE 0
TOTAL DEVICE CONNECT TIME 00:00:03.59 TOTAL ADDRESS SPACE RE-READ 0
DEVICE CONNECT FLAGS NO INFORMATION
DYSMF30 Long Formatted Report (Page 2 of 3)
08/10/97 10.42.53 SMF RECORD TYPE 30 DEVICE ACTIVITY LONG FORM PAGE 2
COMPLETION SECTION
*******************
STEP COMPLETION CODE NORMAL JOB COMPLETION
STEP COMPLETION CODE (HEX) 0000
STEP TERMINATION INDICATOR NO INFORMATION
STEP TERMINATION INDICATOR (HEX) 0000
ABEND REASON CODE (HEX) 0000
PROCESSOR ACCOUNTING SECTION
****************************
CPU DISPATCHING PRIORITY 121 STEP CPU TIME UNDER TCB 00:00:00.04
STEP CPU TIME UNDER SRB 00:00:00.00 INIT CPU TIME UNDER TCB 00:00:00.03
INIT CPU TIME UNDER SRB 00:00:00.00 STEP VECTOR USAGE TIME 00:00:00.00
INIT VECTOR USAGE TIME 00:00:00.00 STEP VECTOR AFFINITY TIME 00:00:00.00
INIT VECTOR AFFINITY TIME 00:00:00.00
INTERVAL START TIME 00:00:00.00 INTERVAL START DATE 08/04/97
STORAGE AND PAGING SECTION
**************************
STORAGE FLAGS NO INFORMATION
NUMBER OF SWAPS 0 STORAGE PROTECT KEY 32,768
BOTTOM STORAGE USED (K UNITS) 104 TOP STORAGE USED (K UNITS) 116
NUMBER OF PAGE-INS 0 NUMBER OF PAGE-OUTS 0
NUMBER OF PAGES SWAPPED IN 0 NUMBER OF PAGES SWAPPED OUT 0
NUMBER OF VIO PAGE-INS 0 NUMBER OF VIO PAGE-OUTS 0
NUMBER OF VIO RECLAIMS 0 NUMBER OF COMMON PAGE-INS 0
NUMBER OF COMMON RECLAIMS 0 NUMBER OF LPA PAGE-INS 0
NUMBER OF LPA RECLAIMS 0 PAGES STOLEN FROM THIS MEMORY 0
COUNT OF CPU PAGE SECONDS IN
PAGE MILLISECONDS UNITS (HEX) 0ACD PRIVATE AREA BELOW 16M IN BYTES 10,465,280
PRIVATE AREA ABOVE 16M IN BYTES 2,085,617,664 MAX VIRTUAL SPACE IN SWA BELOW 16M 118,784
MAX VIRTUAL SPACE IN SWA ABOVE 16M 9,236,480 MAX VIRT SPACE FROM USER BELOW 16M 106,496
MAX VIRT SPACE FROM USER ABOVE 16M 4,096 ORIGINAL REGION REQUEST IN 1K UNIT 1,024
PERFORMANCE SECTION
******************
RESERVED - REGION FIELD 680 CPU SERVICE UNITS 432
![Page 119: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/119.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–111
SRB SERVICE UNITS 7 I/O SERVICE UNITS 45
MSO SERVICE UNITS 196 NUMBER OF TRANSACTIONS 0
TRANSACTION ACTIVE TIME 00:00:00.26 TRANSACTION RESIDENCY TIME 00:00.26
OPERATOR SECTION
****************
NUMBER OF NON-SPECIFIC DASD 0 NUMBER OF SPECIFIC DASD MOUNTS 0
NUMBER OF NON-SPECIFIC TAPE 0 NUMBER OF SPECIFIC TAPE MOUNTS 0
NUMBER OF NON-SPECIFIC MSS 0 NUMBER OF SPECIFIC MSS MOUNTS 0
DYSMF30 Long Formatted Report (Page 3 of 3)
08/10/97 10.42.53 SMF RECORD TYPE 30 DEVICE ACTIVITY LONG FORM PAGE 3
EXCP SECTION 1
************
DEVICE CLASS 0 UNIT TYPE 0
IS VIRTUAL DEVICE (YES/NOT) NOT DD NAME OF THIS DATA SET SYSPRINT
DEVICE ADDRESS (HEX) 0000 LARGEST BLOCK SIZE (HEX) 0000
COUNT OF BLOCKS ISSUED FOR THE DEVICE 0 IS BLOCK SIZE CHANGED (YES/NOT) NOT
DEVICE CONNECT TIME 00:00:00.00
EXCP SECTION 2
************
DEVICE CLASS 32 UNIT TYPE 14
IS VIRTUAL DEVICE (YES/NOT) NOT DD NAME OF THIS DATA SET SYSUT1
DEVICE ADDRESS (HEX) 0413 LARGEST BLOCK SIZE (HEX) 5B90
COUNT OF BLOCKS ISSUED FOR THE DEVICE 3 IS BLOCK SIZE CHANGED (YES/NOT) NOT
DEVICE CONNECT TIME 00:00:00.04
EXCP SECTION 3
************
DEVICE CLASS 0 UNIT TYPE 0
IS VIRTUAL DEVICE (YES/NOT) NOT DD NAME OF THIS DATA SET SYSUT2
DEVICE ADDRESS (HEX) 0000 LARGEST BLOCK SIZE (HEX) 0000
COUNT OF BLOCKS ISSUED FOR THE DEVICE 0 IS BLOCK SIZE CHANGED (YES/NOT) NOT
DEVICE CONNECT TIME 00:00:00.00
EXCP SECTION 4
************
DEVICE CLASS 0 UNIT TYPE 0
IS VIRTUAL DEVICE (YES/NOT) NOT DD NAME OF THIS DATA SET SYSIN
DEVICE ADDRESS (HEX) 0000 LARGEST BLOCK SIZE (HEX) 0000
COUNT OF BLOCKS ISSUED FOR THE DEVICE 0 IS BLOCK SIZE CHANGED (YES/NOT) NOT
DEVICE CONNECT TIME 00:00:00.00
![Page 120: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/120.jpg)
DYSMF30 COPY Function
1–112 SMF/RMF Reporting Guide
DYSMF30 Record Definition COPYLIB(SMF30REC)
SMFRCD30 1 CH ;
REDEFINE AT SMFRCD30
SMF30FLG 1 1 BI ;HEADER FLAG BYTE
* BIT 0 — SUBSYSTEM NAME FOLLOWS STANDARD HEADER
* BIT 1 — SUBTYPES UTILIZED
* BIT 5 — MVS/XA
* BIT 6 — VS2
* BIT 7 — VS1
SMF30RTY 1 2 BI ;RECORD TYPE 30
SMF30TME 4 3 CH ;RECORD WRITTEN TIME
SMF30DTE 4 7 PD ;RECORD WRITTEN DATE
SMF30SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF30WID 4 15 CH ;OUCBSUBN SUBSYSTEM ID
SMF30STP 2 19 BI ;RECORD SUBTYPE
*
* SELF DEFINING SECTION
*
SMF30SDS 88 21 CH ;SELF DEFINING SECTION
REDEFINE AT SMF30SDS
SMF30SOF 4 21 BI ;OFFSET TO SUBSYSTEM SEGMENT
*
SMF30SLN 2 25 BI ;LENGTH OF SUBSYSTEM SEGMENT
*
SMF30SON 2 27 BI ;NUMBER OF SUBSYSTEM SEGMENT
*
SMF30IOF 4 29 BI ;OFFSET TO ID SEGMENT
SMF30ILN 2 33 BI ;LENGTH OF ID SEGMENT
SMF30ION 2 35 BI ;NUMBER OF ID SEGMENT
SMF30UOF 4 37 BI ;OFFSET TO I/O ACTIVITY SEGMENT
*
SMF30ULN 2 41 BI ;LENGTH OF I/O ACTIVITY SEGMENT
*
SMF30UON 2 43 BI ;NUMBER OF I/O ACTIVITY SEGMENT
*
SMF30TOF 4 45 BI ;OFFSET TO COMPLETION SEG
SMF30TLN 2 49 BI ;LENGTH OF COMPLETION SEG
SMF30TON 2 51 BI ;NUMBER OF COMPLETION SEG
SMF30COF 4 53 BI ;OFFSET TO CPU SEGMENT
SMF30CLN 2 57 BI ;LENGTH OF CPU SEGMENT
SMF30CON 2 59 BI ;NUMBER OF CPU SEGMENT
SMF30AOF 4 61 BI ;OFFSET TO ACCOUNTING SEG
SMF30ALN 2 65 BI ;LENGTH OF ACCOUNTING SEG
SMF30AON 2 67 BI ;NUMBER OF ACCOUNTING SEG
SMF30ROF 4 69 BI ;OFFSET TO STORAGE SEGMENT
*
SMF30RLN 2 73 BI ;LENGTH OF STORAGE SEGMENT
*
![Page 121: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/121.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–113
SMF30RON 2 75 BI ;NUMBER OF STORAGE SEGMENT
*
SMF30POF 4 77 BI ;OFFSET TO PERFORMANCE SEG
*
SMF30PLN 2 81 BI ;LENGTH OF PERFORMANCE SEG
*
SMF30PON 2 83 BI ;NUMBER OF PERFORMANCE SEG
*
SMF30OOF 4 85 BI ;OFFSET TO OPERATOR SEG
SMF30OLN 2 89 BI ;LENGTH OF OPERATOR SEG
SMF30OON 2 91 BI ;NUMBER OF OPERATOR SEG
SMF30EOF 4 93 BI ;OFFSET TO EXCP SEGMENT
SMF30ELN 2 97 BI ;LENGTH OF EXCP SEGMENTS IN THIS RECORD
SMF30EON 2 99 BI ;NUMBER OF EXCP SEGMENTS IN THIS TYPE 30 RECORD
SMF30EOR 2 101 BI ;NUMBER OF EXCP SEGMENTS IN SUBSEQUENT RECORDS
SMF30RVD 2 103 CH ;RESERVED
SMF30EOS 4 105 BI ;EXCP SECTIONS IN SUBSEQUENT RECORDS
SMF30RV2 8 109 CH ;RESERVED
SMF30ARO 4 117 BI ;OFFSET TO APPC/MVS RESOURCE SECTION
SMF30ARL 2 121 BI ;LENGTH OF APPC/MVS RESOURCE SECTION
SMF30ARN 2 123 BI ;NUMBER OF APPC/MVS RESOURCE SECTIONS
*
* PRODUCT OR SUBSYSTEM SECTION
**
WORKAREA
SMF30PSS 1 1 CH ;
REDEFINE AT SMF30PSS
SMF30TYP 2 1 BI ;SUBTYPE ID FOR TYPE 30
* 1 = JOB INITIATION
* 2 = INTERVAL RECORD
* 3 = STEP TERMINATION DELTA
* 4 = STEP TERMINATION
* 5 = JOB TERMINATION
* 6 = SYSTEM ADDRESS SPACE
SMF30RS1 2 3 CH ;RESERVED
SMF30RVN 2 5 CH ;RECORD VERSION NUMBER C'01'
SMF30PNM 8 7 CH ;SUBSYTEM OR PRODUCT NAME — SMF
SMF30OSL 8 15 CH ;MVS PRODUCT LEVEL
*
* JOB/SESSION IDENTIFICATION
*
*WORKAREA
SMF30ID 1 1 CH ;
REDEFINE AT SMF30ID
SMF30JBN 8 1 CH ;JMRJOB JOB/SESSION NAME
SMF30PGM 8 9 CH ;SCTPGMNM PROGRAM NAME
SMF30STM 8 17 CH ;SCTSNAME STEP NAME
SMF30UIF 8 25 CH ;JMRUSEID USER ID FIELD
SMF30JNM 8 33 CH ;SSIB JES JOB NUMBER
![Page 122: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/122.jpg)
DYSMF30 COPY Function
1–114 SMF/RMF Reporting Guide
SMF30STN 2 41 BI ;LCTSNUMB STEP NUMBER
SMF30CLS 1 43 CH ;JCTJCSMF JOB CLASS
FILLER 1 44 CH ;RESERVED
SMF30PGN 2 45 BI ;OUCBNPG JOB PERF GROUP NUMBER
SMF30JPT 2 47 BI ;JCTJPRTY JES INPUT PRIORITY
SMF30AST 4 49 BI ;TCTAST DEVICE ALLOC START TIME
SMF30PPS 4 53 BI ;TCTPPST PROBLEM PROG START TIME
SMF30SIT 4 57 BI ;JCTJMRSS STEP INITIATION TIME
SMF30STD 4 61 PD ;JCTSSD STEP INITIATION DATE
SMF30RST 4 65 BI ;JMRENTRY READER START TIME
SMF30RSD 4 69 PD ;JMREDATE READER START DATE
SMF30RDE 8 73 CH ;READER END TIME/DATE
REDEFINE AT SMF30RDE
SMF30RET 4 73 BI ;READER END TIME
SMF30RED 4 77 PD ;READER END DATE
SMF30USR 20 81 CH ;ACTPRGNM PROGRAMMERS NAME
SMF30GRP 8 101 CH ;ACEEGRPN RACF GROUP ID
SMF30RUD 8 109 CH ;ACEEUSRI RACF USER ID
SMF30TID 8 117 CH ;ACEETRMF RACF TERMINAL ID. IF
* RACF IS NOT ACTIVE, OR
* THIS IS NOT A TERMINAL
* USER THEN THIS FIELD IS
* ZERO
SMF30TSN 8 125 CH ;TERMINAL SYMBOLIC NAME
SMF30PSN 8 133 CH ;NAME OF STEP THAT INVOKED THE PROCEDURE
SMF30CL8 8 141 CH ;8-CHARACTER JOB CLASS
*
* I/O ACTIVITY SEGMENT
*
*WORKAREA
SMF30URA 1 1 CH ;
REDEFINE AT SMF30URA
SMF30INP 4 1 BI ;SCTSMF NUMBER OF CARD IMAGES IN DD DATA
* OR DD * DATA SETS
SMF30TEP 4 5 BI ; D ASCBIOSM+ TOTAL BLOCKS TRANSFERRED
* OUCBIOSM
SMF30TPT 4 9 BI ;D TCTLOUT NUMBER OF TPUTS IF TSO SESSION
*
SMF30TGT 4 13 BI ;D TCTLIN NUMBER OF TGETS IF TSO SESSION
*
SMF30RDR 1 17 CH ;JMRRDR READER DEVICE CLASS
SMF30RDT 1 18 CH ;JMRRDR READER DEVICE TYPE
SMF30TCN 4 19 BI ;ASCBDCTI TOTAL DEVICE CONNECT
* TIME
SMF30DCF 1 23 BI ;DEVICE CONNECT FLAGS
*SMF30MFL EQU X'80' DEVICE CONNECT TIME MAY BE INCORRECT
SMF30RS2 3 24 CH ;RESERVED
SMF30RSB 2 27 BI ;RESERVED FOR BOUNDARY ALIGNMENT
SMF30TRR 4 29 BI ;ASSBASRR— TOTAL ADDRESS SPACE RE-READ
![Page 123: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/123.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–115
* TCTRRCT
*
* COMPLETION SEGMENT
**
WORKAREA
SMF30CMP 1 1 CH ;
REDEFINE AT SMF30CMP
SMF30SCC 2 1 BI ;TCTCMPC STEP COMPLETION CODE
SMF30STI 1 3 BI ;STEP TERMINATION INDICATOR
* SMF30STI OCCURS 2 TIMES.
*
*SMF30SAB EQU X'80' BIT0 — SYSTEM ABEND
*SMF30UJV EQU X'40' JCTJMRCL BIT1 — CANCELED AT EXIT IEFUJV
*
*SMF30UJI EQU X'20' BIT2 — CANCELED AT EXIT IEFUJI
*
*SMF30USI EQU X'10' BIT3 — CANCELED AT EXIT IEFUSI
*
*SMF30TRT EQU X'08' BIT4 — CANCELED AT EXIT IEFACTRT
*
*SMF30SRS EQU X'04' BIT5 — STEP IS TO BE RESTARTED
*
*SMF30ABD EQU X'02' TCBFA BIT6 — STEP ABENDED
*SMF30FLH EQU X'01' TCTHWM BIT7 — STEP FLUSHED
*SMF30EXF EQU X'80' TCTIEX BIT0 — EXCP COUNT MAY BE WRONG
*
*SMF30ISK EQU X'40' TCTISK BIT1 — PREVIOUS INTERVAL SKIPPED
*
*SMF30NEX EQU X'20' BIT2 — EXCP SECTIONS NOT MERGED
*
*SMF30SYE EQU X'10' BIT3 — STEP ENDED WITH POST
* EXECUTION ERROR
* BITS4-7 RESERVED
SMF30ARC 4 5 BI ;TCBARC ABEND REASON CODE
*
* CPU ACCOUNTING SEGMENT
*
*WORKAREA
SMF30CAS 1 1 CH ;
REDEFINE AT SMF30CAS
SMF30PTY 2 1 BI ;SCTSDP CPU DISPATCHING PRIORITY
*
SMF30RV3 2 3 BI ;RESERVED
SMF30CPT 4 5 BI ;D ASCBEJST STEP CPU TIME UNDER TCB
* OR ACTJTIME
* — TCTEJST
SMF30CPS 4 9 BI ;D ASCBSRBT STEP CPU TIME UNDER SRB
* OR SCTSRBT
* — TCTSRBT
![Page 124: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/124.jpg)
DYSMF30 COPY Function
1–116 SMF/RMF Reporting Guide
SMF30ICU 4 13 BI ;D ASCBEJST + INIT CPU TIME UNDER TCB
* TCTITCB
SMF30ISB 4 17 BI ;D ASCBSRBT + INIT CPU TIME UNDER SRB
* TCTISRB
SMF30JVU 4 21 BI ;D ASCBEVST STEP VECTOR USAGE TIME
* OR SCTTVFUT
* —TCTEVFUT
SMF30IVU 4 25 BI ;D ASCBEVST + INIT VECTOR USAGE TIME
* TCTIVFUT
SMF30JVA 4 29 BI ;D ASCBVFAT STEP VECTOR AFFINITY TIME
* OR SCTTVFAT
* —TCTEVFAT
SMF30IVA 4 33 BI ;D ASCBVFAT + INIT VECTOR AFFINITY TIME
* TCTIVFAT
SMF30IST 4 37 BI ;INTERVAL START TIME
SMF30IDT 4 41 PD ;INTERVAL START DATE
SMF30IIP 4 45 BI ;TIME USED TO PROCESS I/O INTERRUPTS
SMF30RCT 4 49 BI ;TIME USED BY THE REGION CONTROL TASK
SMF30HPT 4 53 BI ;PROCESSOR TIME CONSUMED FOR THE STEP
SMF30CSC 4 57 BI ;CRYPTOGRAPHIC INSTRUCTIONS EXECUTED
*
* EXCP SECTION
*
* FOR EACH DEVICE ASSIGNED TO EACH DATA SET THERE IS A 22 BYTE
* ENTRY HAVING THE FOLLOWING FORMAT:
*
*WORKAREA
SMF30EXP 1 1 CH ;
REDEFINE AT SMF30EXP
SMF30KEY 12 1 CH ;SECTION KEY
REDEFINE AT S MF30KEY
SMF30DEV 1 1 BI ;UCBTBYT3 DEVICE CLASS
SMF30UTP 1 2 BI ;UCBTBYT3 UNIT TYPE
SMF30CUA 2 3 BI ;UCBCHAN DEVICE ADDRESS
*SMF30VDV EQU X'80' VIRTUAL DEVICE INDICATOR
*
SMF30DDN 8 5 CH ;TIOEDDNM DDNAME OF THIS DATASET
SMF30BLK 4 13 BI ;D TCTDCTR COUNT OF BLOCKS ISSUED FOR THIS
* AGAINST THIS DATA SET
SMF30BSZ 2 17 BI ;TCTBLKSZ LARGEST BLOCKSIZE OF DATA SET
*
*SMF30CBS EQU X'80' CHANGED BLOCKSIZE FOR DATA SET
*
SMF30DCT 4 19 BI ;DEVICE CONNECT TIME
*
* ACCOUNTING SECTION
*
* EACH ENTRY FOR AN ACCOUNTING FIELD CONTAINS THE LENGTH OF THE
* FIELD (1 BYTE,BINARY), FOLLOWED BY THE FIELD (EBCDIC). AN
![Page 125: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/125.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–117
* OMITTED FIELD IS REPRESENTED BY A LENGTH INDICATOR OF 0.
*
*WORKAREA
SMF30ACS 1 1 CH ;
REDEFINE AT SMF30ACS
SMF30ACL 1 1 BI ;FIELD LENGTH
SMF30ACT 1 2 CH ; JOB OR STEP ACCOUNTING FIELD
REDEFINE AT SMF30ACT
*
*
* STORAGE AND PAGING SECTION
*
*WORKAREA
SMF30SAP 1 1 CH ;
REDEFINE AT SMF30SAP
SMF30RSV 2 1 BI ;RESERVED — REGION FIELD INCREASED TO
4 BYTES AND MOVED TO END OF
STORAGE SECTION
SMF30SFL 1 3 BI ;STORAGE FLAGS
*SMF30VQR EQU X'80' EAADDRBT BIT STORAGE REQUESTED WAS V=R
*
*SMF30UCL EQU X'40' IEFUSI IEFUSI CHANGED LIMIT VALUES
*
SMF30SPK 1 4 BI ;TCBPKF STORAGE PROTECT KEY
SMF30PRV 2 5 BI ;TCTHWM/1024 VIRTUAL STORAGE ALLOCATED
* FROM USERS PRIVATE AREA
SMF30SYS 2 7 BI ;TCTLWM VIRTUAL STORAGE ALLOCATED
* SYSTEM AREA (TOP OF PRIVATE)
*
SMF30PGI 4 9 BI ;D OUXBPIN + NUMBER OF PAGE-INS
* OUCBPIN
SMF30PGO 4 13 BI ;D OUXBPOUT + NUMBER OF PAGE-OUTS
* OUCBPOUT
SMF30CPM 4 17 BI ;ATTEMPTS TO READ DATA FROM AN EXPANDED STR.
*
SMF30NSW 4 21 BI ;D OUXBSWCT NUMBER OF SWAPS
*
SMF30PSI 4 25 BI ;D OUXBSPIN + NUMBER OF PAGES SWAPPED IN
* OUCBSPIN
SMF30PSO 4 29 BI ;D OUXBSPOT + NUMBER OF PAGES SWAPPED OUT
* OUCBSPOT
SMF30VPI 4 33 BI ; D OUXBVAMI + NUMBER OF VIO PAGE-INS
* OUCBVAMI
SMF30VPO 4 37 BI ;D OUXBVAMO + NUMBER OF VIO PAGE-OUTS
* OUCBVAMO
SMF30VPR 4 41 BI ;D OUXBVAMR + NUMBER OF VIO RECLAIMS
* OUCBVAMR
SMF30CPI 4 45 BI ;D OUXBCAPI + NUMBER OF COMMON PAGE-INS
* OUCBCAPI
![Page 126: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/126.jpg)
DYSMF30 COPY Function
1–118 SMF/RMF Reporting Guide
SMF30CPR 4 49 BI ;D OUXBCAPR + NUMBER OF COMMON RECLAIMS
* OUCBCAPR
SMF30LPI 4 53 BI ;D OUXBLPAI NUMBER OF LPA PAGE-INS
*
SMF30LPR 4 57 BI ;D OUXBLPAR NUMBER OF LPA RECLAIMS
*
SMF30PST 4 61 BI ;D OUXBSTCT + NUMBER OF PAGES STOLEN FROM
* OUCBSTCT THIS MEMORY
*SMF30PSC DS D'0' D OUCBPSS COUNT OF CPU PAGE SECONDS
*BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
SMF30PSC 8 65 ;D OUCBPSS COUNT OF CPU PAGE SECONDS
* THIS MEMORY
SMF30RGB 4 73 BI ;TCTRGNB PRIVATE AREA BELOW 16M IN
* BYTES
*
SMF30ERG 4 77 BI ;TCTERGNB PRIVATE AREA ABOVE 16M IN
* BYTES
*
SMF30ARB 4 81 BI ; TCTHWM MAX VIRTUAL SPACE IN SWA
* AND LSQA BELOW 16M
SMF30EAR 4 85 BI TCTEHWM MAX VIRTUAL SPACE IN SWA
* AND LSQA ABOVE 16M
SMF30URB 4 89 BI ;TCTLWM MAX VIRT SPACE FROM USER
* SUBPOOLS BELOW 16M
SMF30EUR 4 93 BI ;TCTELWM MAX VIRT SPACE FROM USER
* SUBPOOLS ABOVE 16M
SMF30RGN 4 97 BI ;TCTRSZ*2 ORIGINAL REGION REQUEST IN
SMF30DSV 4 101 BI ;DATA SPACE STORAGE USED DURING STEP
SMF30PIE 4 105 BI ;UNBLOCKED PAGES, PAGED IN FROM EXP ST.
SMF30POE 4 109 BI ;UNBLOCKED PAGES, PAGED OUT TO EXP ST.
SMF30BIA 4 113 BI ;BLOCKED PAGES, PAGED IN FROM AUX ST.
SMF30BOA 4 117 BI ;BLOCKED PAGES, PAGED OUT TO AUX ST.
SMF30BIE 4 121 BI ;BLOCKED PAGES, PAGED IN FROM EXP ST.
SMF30BOE 4 125 BI ;BLOCKED PAGES, PAGED OUT TO EXP ST.
SMF30KIA 4 129 BI ;BLOCKS, PAGED IN FROM AUX ST.
SMF30KOA 4 133 BI ;BLOCKS, PAGED OUT TO AUX ST.
SMF30KIE 4 137 BI ;BLOCKS, PAGED IN FROM EXP ST.
SMF30KOE 4 141 BI ;BLOCKS, PAGED OUT TO EXP ST.
* 1K UNITS
*
* PERFORMANCE SECTION
*
*WORKAREA
SMF30PRF 1 1 CH ;
REDEFINE AT SMF30PRF
SMF30SRV 4 1 BI ;D OUXBJBS + TOTAL SERVICE UNITS
* OUXBTRS
SMF30CSU 4 5 BI ;D OUXBCPU CPU SERVICE UNITS
![Page 127: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/127.jpg)
DYSMF30 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–119
SMF30SRB 4 9 BI ;D OUXBSRB SRB SERVICE UNITS
SMF30IO 4 13 BI ;D OUXBIOC I/O SERVICE UNITS
SMF30MSO 4 17 BI ;D OUXBMSO MSO SERVICE UNITS
SMF30TAT 4 21 BI ;D OUXBJBT + TRANSACTION ACTIVE TIME
* OUXBTRT
SMF30TET 4 25 BI ;D RESERVED
*
SMF30RES 4 29 BI ;D OUXBJBR TRANSACTION RESIDENCY TIME
*
SMF30TRS 4 33 BI ;D OUXBTRC NUMBER OF TRANSACTIONS
*
* OPERATOR SECTION
*
*WORKAREA
SMF30OPS 1 1 CH ;OPERATOR SECTION
REDEFINE AT SMF30OPS
SMF30PDM 4 1 BI ;TCTPDASD NUMBER OF NON-SPECIFIC DASD
* MOUNTS
SMF30PRD 4 5 BI ;TCTRDASD NUMBER OF SPECIFIC DASD MOUNTS
*
SMF30PTM 4 9 BI ;TCTPTAPE NUMBER OF NON-SPECIFIC TAPE
* MOUNTS
SMF30TPR 4 13 BI ;TCTRTAPE NUMBER OF SPECIFIC TAPE MOUNTS
*
SMF30MTM 4 17 BI ;TCTPMSS NUMBER OF NON-SPECIFIC MSS
* MOUNTS
SMF30MSR 4 21 BI ;TCTRMSS NUMBER OF SPECIFIC MSS MOUNTS
*
* APPC/MVS RESOURCE SECTION
*
SMF30RS_H 1 1 CH ;APPC/MVS RESOURCE SECTION
REDEFINE AT SMF30RS_H
SMF30CN 4 1 BI ;CONVERSATIONS ASSOCIATED TO TRAN. PROGRAM
SMF30CNA 4 5 BI ;TOTAL OF ALL CONVERSATIONS ALLOCATED
SMF30SEN 4 9 BI ;TRANSACTION PROGRAM ISSUED A SEND CALL
SMF30DAT 8 13 CH ;AMOUNT OF DATA SENT BY THE TRAN. PROGRAM
SMF30REC 4 21 BI ;RECEIVE CALLS MADE BY THE TRAN. PROGRAM
SMF30DAR 8 25 CH ;AMOUNT OF DATA RECEIVED BY THE TRAN. PROG.
SMF30TAC 4 33 BI ;NUMBER OF ACTIVE CONVERSATIONS
SMF30ATR 4 37 BI ;NUMBER OF APPC/MVS TRANSACTIONS
![Page 128: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/128.jpg)
DYSMF32 COPY Function
1–120 SMF/RMF Reporting Guide
DYSMF32 COPY Function The DYSMF32 COPY function can be used to print SMF type 32 records in two report formats — a long format and a short format. SMF type 32 records contain information that is pertinent to TSO/E USER WORK ACCOUNTING. The examples for DYSMF32 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF32 Record Definition COPYLIB(SMF32REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF32 COPY Parameters
Twelve parameters can be varied in the DYSMF32 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 129: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/129.jpg)
DYSMF32 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–121
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF32SID SMF32DTE SMF32TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF32 COPY Function
DYSMF32 COPY Function: Example 1
Print all type 32 records with SMF buffer date and time that are between the values of 10:30:00 and 11:45:00 on 07/31/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF32LNG ;RECORD LENGTH
STATUS SMF32EOF ;END-OF-FILE
COPY SMF32REC
COPY DYSMF32 #1="'07/31/06'"
#3="'07/31/06'"
#2="'10:30:00'"
#4="'11:45:00'"
#5='SMF32DTE SMF32TME'
#L=YES #S=NULL #X=YES
FIN
![Page 130: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/130.jpg)
DYSMF32 COPY Function
1–122 SMF/RMF Reporting Guide
DYSMF32 COPY Function: Example 2
Print all type 32 records with SMF buffer date and time that are between 10:30:00 and 11:45:00 on 07/31/06. Print the records using the short format with a 4-digit year and the report sorted by initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF32LNG ;RECORD LENGTH
STATUS SMF32EOF ;END-OF-FILE
COPY SMF32REC
COPY DYSMF32 #8="'07/31/2006'"
#9="'07/31/2006'"
#2="'10:30:00'"
#4="'11:45:00'"
#5='SMF32DTE SMF32TME'
#L=NULL #S=YES #X=NULL
FIN
DYSMF32 Long Formatted Report (Page 1 of 3)
08/28/06 13.17.24 SMF RECORD 32 LONG REPORT TSO/E USER WORK ACCOUNTING PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER: 10:30:08.59
DATE RECORD WAS MOVED TO SMF BUFFER: 07/31/06
SYSTEM ID: AV250
SUBSYSTEM ID: TSO
RECORD SUBTYPE: 1
TRIPLET INFO
**************
OFFSET TO PRODUCT SECTION: 52
LENGTH OF PRODUCT SECTION: 36
NUMBER OF PRODUCT SECTIONS: 1
OFFSET TO ID SECTION: 1
LENGTH OF ID SECTION: 124
NUMBER OF ID SECTIONS: 1
OFFSET TO TSO/E SECTION: 212
LENGTH OF TSO/E SECTION: 12
NUMBER OF TSO/E SECTIONS: 5
![Page 131: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/131.jpg)
DYSMF32 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–123
PRODUCT SECTION
***************
SUBTYPE ID: TSO/E USER INTERVAL RECORD
RECORD VERSION NUMBER: 02
PRODUCT NAME: TSO
MVS PRODUCT NAME: SP7.0.4
SYSTEM NAME: AV250
SYSPLEX NAME: PLEXAX
IDENTIFICATION SECTION
**********************
TSO USER ID SESSION NAME: DVSSDED
PROGRAM NAME: CATMP
STEP NAME: CATSO
USER-DEFINED ID:
JES JOB NUMBER: PST05783
STEP NUMBER: 00001
JOB PERFORMANCE GROUP NO.: 00000
JES INPUT PRIORITY AT INITIATION: 00000
DEVICE ALLOCATION START TIME: 10:30:05.18
PROBLEM PROGRAM START TIME: 10:30:05.64
STEP INITIATION TIME: 10:30:05.13
STEP INITIATION DATE: 07/31/06
READER START TIME: 10:30:04.47
READER START DATE: 07/31/06
LOGON ENQUEUE TIME: 10:30:04.84
LOGON ENQUEUE DATE: 07/31/06
PROGRAMMER NAME:
DYSMF32 Long Formatted Report (Page 2 of 3)
08/28/06 13.17.24 SMF RECORD 32 LONG REPORT TSO/E USER WORK ACCOUNTING PAGE 2
RACF GROUP ID: *
RACF USER ID: DVSSDED
RACF TERMINAL ID: B22A324
TSO/E COMMAND SEGMENT
**********************
COMMAND NAME COMMAND COUNT
![Page 132: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/132.jpg)
DYSMF32 COPY Function
1–124 SMF/RMF Reporting Guide
-------------- ---------------
***OTHER 4
ALLOC 5
EXEC 1
FREE 1
LOGOFF 1
-----------------------------------------------------------------------------------------------------------------
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER: 10:30:08.60
DATE RECORD WAS MOVED TO SMF BUFFER: 07/31/06
SYSTEM ID: AV250
SUBSYSTEM ID: TSO
RECORD SUBTYPE: 2
TRIPLET INFO
**************
OFFSET TO PRODUCT SECTION: 52
LENGTH OF PRODUCT SECTION: 36
NUMBER OF PRODUCT SECTIONS: 1
OFFSET TO ID SECTION: 1
LENGTH OF ID SECTION: 124
NUMBER OF ID SECTIONS: 1
OFFSET TO TSO/E SECTION: 212
LENGTH OF TSO/E SECTION: 12
NUMBER OF TSO/E SECTIONS: 5
PRODUCT SECTION
***************
SUBTYPE ID: TSO/E USER SESSION END RECORD
RECORD VERSION NUMBER: 02
PRODUCT NAME: TSO
MVS PRODUCT NAME: SP7.0.4
SYSTEM NAME: AV250
SYSPLEX NAME: PLEXAX
IDENTIFICATION SECTION
**********************
![Page 133: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/133.jpg)
DYSMF32 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–125
DYSMF32 Long Formatted Report (Page 3 of 3)
08/28/06 13.17.24 SMF RECORD 32 LONG REPORT TSO/E USER WORK ACCOUNTING PAGE 3
TSO USER ID SESSION NAME: DVSSDED
PROGRAM NAME: CATMP
STEP NAME: CATSO
USER-DEFINED ID:
JES JOB NUMBER: PST05783
STEP NUMBER: 00001
JOB PERFORMANCE GROUP NO.: 00000
JES INPUT PRIORITY AT INITIATION: 00000
DEVICE ALLOCATION START TIME: 10:30:05.18
PROBLEM PROGRAM START TIME: 10:30:05.64
STEP INITIATION TIME: 10:30:05.13
STEP INITIATION DATE: 07/31/06
READER START TIME: 10:30:04.47
READER START DATE: 07/31/06
LOGON ENQUEUE TIME: 10:30:04.84
LOGON ENQUEUE DATE: 07/31/06
PROGRAMMER NAME:
RACF GROUP ID: *
RACF USER ID: DVSSDED
RACF TERMINAL ID: B22A324
TSO/E COMMAND SEGMENT
**********************
COMMAND NAME COMMAND COUNT
-------------- ---------------
***OTHER 4
ALLOC 5
EXEC 1
FREE 1
LOGOFF 1
![Page 134: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/134.jpg)
DYSMF32 COPY Function
1–126 SMF/RMF Reporting Guide
DYSMF32 Short Formatted Report
08/28/2006 13.18.44 SMF RECORD 32 SHORT REPORT TSO/E USER WORK ACCOUNTING PAGE 1
TIME DATE SYSTEM SUB SYSTEM NUMBER NUMBER OF NUMBER OF
RECORD RECORD ID ID OF PRODUCT IDENTIFICATION TSO COMMAND
WRITTEN WRITTEN SECTIONS SECTIONS SECTIONS
-----------------------------------------------------------------------------------------------------------------
10:30:08.59 07/31/2006 AV250 TSO 1 1 5
10:30:08.60 07/31/2006 AV250 TSO 1 1 5
10:35:04.95 07/31/2006 AV250 TSO 1 1 5
10:35:04.96 07/31/2006 AV250 TSO 1 1 5
10:40:05.69 07/31/2006 AV250 TSO 1 1 5
10:40:05.69 07/31/2006 AV250 TSO 1 1 5
10:45:04.57 07/31/2006 AV250 TSO 1 1 5
10:45:04.57 07/31/2006 AV250 TSO 1 1 5
10:50:04.87 07/31/2006 AV250 TSO 1 1 5
10:50:04.87 07/31/2006 AV250 TSO 1 1 5
10:55:04.51 07/31/2006 AV250 TSO 1 1 5
10:55:04.52 07/31/2006 AV250 TSO 1 1 5
11:00:19.81 07/31/2006 AV250 TSO 1 1 5
11:00:19.81 07/31/2006 AV250 TSO 1 1 5
11:05:05.79 07/31/2006 AV250 TSO 1 1 5
11:05:05.79 07/31/2006 AV250 TSO 1 1 5
11:10:04.20 07/31/2006 AV250 TSO 1 1 5
11:10:04.20 07/31/2006 AV250 TSO 1 1 5
11:15:04.29 07/31/2006 AV250 TSO 1 1 5
11:15:04.29 07/31/2006 AV250 TSO 1 1 5
11:20:03.80 07/31/2006 AV250 TSO 1 1 5
11:20:03.80 07/31/2006 AV250 TSO 1 1 5
11:25:05.03 07/31/2006 AV250 TSO 1 1 5
11:25:05.04 07/31/2006 AV250 TSO 1 1 5
11:30:09.58 07/31/2006 AV250 TSO 1 1 5
11:30:09.59 07/31/2006 AV250 TSO 1 1 5
11:35:05.25 07/31/2006 AV250 TSO 1 1 5
11:35:05.25 07/31/2006 AV250 TSO 1 1 5
11:40:04.56 07/31/2006 AV250 TSO 1 1 5
11:40:04.57 07/31/2006 AV250 TSO 1 1 5
11:45:05.07 07/31/2006 AV250 TSO 1 1 5
![Page 135: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/135.jpg)
DYSMF32 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–127
11:45:05.07 07/31/2006 AV250 TSO 1 1 5
11:50:04.90 07/31/2006 AV250 TSO 1 1 5
11:50:04.90 07/31/2006 AV250 TSO 1 1 5
11:55:04.42 07/31/2006 AV250 TSO 1 1 5
11:55:04.42 07/31/2006 AV250 TSO 1 1 5
11:58:55.29 07/31/2006 AV250 TSO 1 1 6
NUMBER OF RECORDS PRINTED: 37
DYSMF32 Record Definition COPYLIB(SMF32REC)
SMFRCD32 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD32
SMF32SEG 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF32SEG
******************************************
* R E C O R D: SMF32REC *
* *
* R E C O R D T Y P E 32 (20) *
* *
* T S O / E U S E R W O R K *
* A C C O U N T I N G *
* *
******************************************
SMF32FLG 1 1 BI ;HEADER FLAG BYTE
* ;BIT 0 - SUBSYSTEM NAME FOLLOWS
* ; STANDARD HEADER
* ; BIT 1 - SUBTYPES UTILIZED
* ; BIT 5 - MVS/XA
* ; BIT 6 - VS2
* ; BIT 7 - VS1
SMF32RTY 1 2 BI ;RECORD TYPE 32
SMF32TME 4 3 BI ;RECORD WRITTEN TIME
SMF32DTE 4 7 PD ;RECORD WRITTEN DATE
SMF32SID 4 11 CH ;SYSTEM IDENTIFICATION SMCASID
SMF32WID 4 15 CH ;SUBSYSTEM ID OUCBSUBN
*
SMF32STP 2 19 BI Z ;RECORD SUBTYPE
*
*----- SELF DEFINING SECTION ----------------------------*
*
SMF32SDS 28 21 CH ;SELF DEFINING SECTION
REDEFINE AT SMF32SDS
SMF32POF 4 21 BI Z ;OFFSET TO PRODUCT SEGMENT
SMF32PLN 2 25 BI Z ;LENGTH OF PRODUCT SEGMENT
![Page 136: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/136.jpg)
DYSMF32 COPY Function
1–128 SMF/RMF Reporting Guide
SMF32PON 2 27 BI Z ;NUMBER OF PRODUCT SEGMENT
SMF32IOF 4 29 BI Z ;OFFSET TO IDENTIFICATION SEGMENT
SMF32ILN 2 33 BI Z ;LENGTH OF IDENTIFICATION SEGMENT
SMF32ION 2 35 BI Z ;NUMBER OF IDENTIFICATION SEGMENTS
SMF32COF 4 37 BI Z ;OFFSET TO TSO COMMAND SEGMENT
SMF32CLN 2 41 BI Z ;LENGTH OF TSO COMMAND SEGMENT
SMF32CON 2 43 BI Z ;NUMBER OF TSO COMMAND SEGMENTS
* ;IN THIS RECORD
SMF32COS 4 45 BI Z ;NUMBER OF TSO COMMAND SEGMENTS
* ;IN SUBSEQUENT RECORDS
*
*----- PRODUCT SECTION --------------------------------*
*
*
SMF30PSS 1 1 CH
REDEFINE AT SMF30PSS
SMF32TYP 2 1 BI ;SUB TYPE ID FOR TYPE 32
* ; 1 - USER INTERVAL, NO DETAIL
* ; 2 - USER SESSION END, NO DETAIL
* ; 3 - USER INTERVAL, DETAIL
* ; 4 - USER SESSION END, DETAIL
SMF32RVN 2 3 CH ;RECORD VERSION NUMBER C'01'
SMF32PNM 8 5 CH ;PRODUCT NAME 'TSO FOR TSO'
SMF32OSL 8 13 CH ;MVS Product name
SMF32SYN 8 21 CH ;System name
SMF32SYP 8 29 CH ;Sysplex name
![Page 137: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/137.jpg)
DYSMF34 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–129
DYSMF34 COPY Function The DYSMF34 COPY function can be used to print SMF type 34 records in two report formats — a long format and a short format. SMF type 34 records contain information that is pertinent to TSO STEP TERMINATION. The examples for DYSMF34 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF34 Record Definition COPYLIB(SMF34REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, step terminated date, and step terminated time.
DYSMF34 COPY Parameters
Twelve parameters can be varied in the DYSMF34 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 138: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/138.jpg)
DYSMF34 COPY Function
1–130 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “TIVUIF TIVRCDTE TIVRCDTS”.
For example, if you want to sort on the two fields, TIVSIT and TIVSPK, you can specify #5 as equal to “TIVSIT TIVSPK”.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, TIVUIF, TIVUDATA, TIVINVNM, and TIVSPK, you can specify #5 as equal to “TIVUIF TIVUDATA TIVINVNM” and #6 as equal to “TIVSPK”.
#7 #7 applies to sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, TIVUIF, TIVCPUID, TIVUDATA, TIVSIT, TIVINVNM, TIVRCDTE, and TIVRCDTS, you can override all three parameters by specifying #5 as equal to “TIVUIF TIVCPUID TIVUDATA”, #6 as equal to “TIVSIT TIVINVNM TIVRCDTE”, and #7 as equal to “TIVRCDTS”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 139: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/139.jpg)
DYSMF34 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–131
Invoking the DYSMF34 COPY Function
DYSMF34 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:30 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF34LNG ;RECORD LENGTH
STATUS SMF34END ;END OF FILE
COPY SMF34REC
COPY DYSMF34 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:30:00'”
#L=YES #S=NULL
FIN
DYSMF34 COPY Function: Example 2
Print all records regardless of date and time in job name (TIVUIF) and step name (TIVINVNM) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF34LNG ;RECORD LENGTH
STATUS SMF34END ;END OF FILE
COPY SMF34REC
COPY DYSMF34 #5='TIVUIF TIVINVNM'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF34REC statement and the COPY DYSMF34 statement. For example, in the example shown above the following code:
IF TIVUIF NE 'T101G01'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 140: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/140.jpg)
DYSMF34 COPY Function
1–132 SMF/RMF Reporting Guide
DYSMF34 Short Formatted Report
08/10/97 13.22.25 TSO-STEP TERMINATION SHORT REPORT - SMF RECORD TYPE 34 - PAGE 1
JOB STEP LOGON LOGON INITIATOR PROBLEM STEP STEP STEP STEP NAME NAME DATE TIME SEL.STEP PROG.START TERMINATED TERMINATED RUN COMPLETION TIME TIME DATE TIME TIME CODE
T101G01 $LOGON 08/04/97 14:05:11 14:05:12 14:05:12 08/04/97 14:38:16 000:33:04.17 SYSTEM ABEND: 0522
T101G04 $LOGON 08/04/97 13:11:40 13:11:41 13:11:41 08/04/97 14:26:55 001:15:14.01 NORMAL COMPLETION:0000
T102G01 $LOGON 08/04/97 15:03:29 15:03:31 15:03:31 08/04/97 15:03:39 000:00:08.52 NORMAL COMPLETION:0000
T103G75 $LOGON 08/04/97 14:28:09 14:28:10 14:28:10 08/04/97 14:58:43 000:30:33.12 SYSTEM ABEND: 0522
T105D01 $LOGON 08/04/97 14:43:43 14:43:45 14:43:45 08/04/97 14:47:20 000:03:34.91 NORMAL COMPLETION:0000
$LOGON 08/04/97 15:08:32 15:08:33 15:08:33 08/04/97 15:08:42 000:00:09.55 NORMAL COMPLETION:0000
T105O03 $LOGON 08/04/97 14:02:59 14:03:00 14:03:00 08/04/97 14:57:08 000:54:08.46 SYSTEM ABEND: 0522
T106G01 $LOGON 08/04/97 14:14:39 14:14:39 14:14:39 08/04/97 15:11:19 000:56:40.07 SYSTEM ABEND: 0522
T107S01 $LOGON 08/04/97 13:55:14 13:55:15 13:55:15 08/04/97 14:52:25 000:57:10.15 SYSTEM ABEND: 0522
T109C20 $LOGON 08/04/97 12:57:15 12:57:16 12:57:17 08/04/97 14:52:26 001:55:09.32 SYSTEM ABEND: 0522
$LOGON 08/04/97 14:53:31 14:53:31 14:53:31 08/04/97 15:10:25 000:16:54.07 NORMAL COMPLETION:0000
T109P01 $LOGON 08/04/97 14:33:17 14:33:17 14:33:17 08/04/97 14:58:39 000:25:22.35 NORMAL COMPLETION:0000
T109P04 $LOGON 08/04/97 14:26:54 14:26:56 14:26:56 08/04/97 14:40:34 000:13:38.02 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:56:55 14:56:55 14:56:55 08/04/97 14:57:17 000:00:21.97 NORMAL COMPLETION:0000
$LOGON 08/04/97 15:00:13 15:00:13 15:00:13 08/04/97 15:01:29 000:01:16.02 NORMAL COMPLETION:0000
T109P08 $LOGON 08/04/97 12:58:10 12:58:10 12:58:10 08/04/97 14:35:54 001:37:43.59 NORMAL COMPLETION:0000
T109P23 $LOGON 08/04/97 14:55:32 14:55:33 14:55:33 08/04/97 15:30:10 000:34:37.47 SYSTEM ABEND: 0522
T109P30 $LOGON 08/04/97 14:10:03 14:10:03 14:10:03 08/04/97 14:39:23 000:29:19.27 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:39:33 14:39:34 14:39:34 08/04/97 14:44:54 000:05:20.42 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:45:01 14:45:01 14:45:01 08/04/97 14:45:08 000:00:07.09 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:45:14 14:45:15 14:45:15 08/04/97 14:49:01 000:03:46.54 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:49:09 14:49:10 14:49:11 08/04/97 14:49:43 000:00:32.24 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:49:53 14:49:53 14:49:53 08/04/97 14:52:54 000:03:00.61 NORMAL COMPLETION:0000
$LOGON 08/04/97 14:52:57 14:52:58 14:52:58 08/04/97 15:00:56 000:07:58.35 NORMAL COMPLETION:0000
$LOGON 08/04/97 15:00:59 15:01:00 15:01:00 08/04/97 15:12:15 000:11:15.86 NORMAL COMPLETION:0000
$LOGON 08/04/97 15:12:19 15:12:20 15:12:20 08/04/97 15:13:44 000:01:24.68 NORMAL COMPLETION:0000
T109P38 $LOGON 08/04/97 14:16:25 14:16:25 14:16:26 08/04/97 14:40:37 000:24:11.99 NORMAL COMPLETION:0000
T109P41 $LOGON 08/04/97 13:50:23 13:50:24 13:50:24 08/04/97 15:17:35 001:27:11.21 SYSTEM ABEND: 0522
T109P46 $LOGON 08/04/97 13:08:52 13:08:53 13:08:53 08/04/97 15:22:19 002:13:26.02 SYSTEM ABEND: 0522
T109P50 $LOGON 08/04/97 14:01:06 14:01:07 14:01:07 08/04/97 14:37:12 000:36:04.87 NORMAL COMPLETION:0000
T110G28 $LOGON 08/04/97 15:16:37 15:16:38 15:16:38 08/04/97 15:19:23 000:02:45.10 NORMAL COMPLETION:0000
T120G63 $LOGON 08/04/97 15:25:05 15:25:06 15:25:06 08/04/97 15:28:55 000:03:48.62 NORMAL COMPLETION:0000
T130G43 $LOGON 08/04/97 15:26:26 15:26:28 15:26:28 08/04/97 15:30:52 000:04:24.62 NORMAL COMPLETION:0000
T140G65 $LOGON 08/04/97 15:01:38 15:01:38 15:01:38 08/04/97 15:14:25 000:12:47.18 NORMAL COMPLETION:0000
T150G11 $LOGON 08/04/97 15:01:23 15:01:23 15:01:23 08/04/97 15:05:52 000:04:28.29 NORMAL COMPLETION:0000
NUMBER OF RECORDS PRINTED: 35
![Page 141: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/141.jpg)
DYSMF34 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–133
DYSMF34 Long Formatted Report
08/10/97 14.34.54 TSO-STEP TERMINATION LONG REPORT - SMF RECORD TYPE 34 - PAGE 1
JOB NAME T101G01 LOGON DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 LOGON TIME 14:05:11.35
USER IDENTIFICATION INITIATOR SELECTED STEP TIME 14:05:12.11
STEP NUMBER 1 PROBLEM PROGRAM START TIME 14:05 12.22
NUMBER OF TPUTS ISSUED 67 DEVICE ALLOCATION START TIME 14:05:12.12
NUMBER OF TGETS SATISFIED 61 STEP TERMINATED DATE 08/04/97
ADDR SPACE DISPATCH PRIORITY 121 STEP TERMINATED TIME 14:38:16.28
STEP COMPLETION CODE (HEX) 0522- SYSTEM ABEND STEP TERMINATION INDICATOR IEFUTL CAUSED ABEND
PROGRAM NAME IKJEFT01 STEP NAME $LOGON
ENTIRE PRIVATE ADDR SPACE 2048K STORAGE USED FM TOP PRIV.AREA 264K
STORAGE USED FM BTM PRIV.AREA 876K STORAGE PROTECT KEY (HEX) 80
OFFSET FM REC HDR TO RELOCATE 397 STEP CPU TIME UNDER SRBS 00:00:00.08
LENGTH OF DEVICE ENTRY 290 STEP RUN TIME 000:33:04.17
RECORD INDICATOR STORAGE IS VIRTUAL
DEVICE CLASS UNKNOWN EXCP COUNT 0
DEVICE NUMBER (HEX) 0421
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 0
DEVICE NUMBER (HEX) 0430
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 0
DEVICE NUMBER (HEX) 0430
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 0
DEVICE NUMBER (HEX) 0416
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 0
DEVICE NUMBER (HEX) 0416
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 0
DEVICE NUMBER (HEX) 0410
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 18
DEVICE NUMBER (HEX) 0421
![Page 142: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/142.jpg)
DYSMF34 COPY Function
1–134 SMF/RMF Reporting Guide
UNIT TYPE UNKNOWN
DEVICE CLASS UNKNOWN EXCP COUNT 11
DEVICE NUMBER (HEX) 0421
UNIT TYPE UNKNOWN
DYSMF34 Record Definition COPYLIB(SMF34REC)
TIVSMF 1 CH ;SMF TS STEP TERMINATION RECORD
REDEFINE AT TIVSMF
TIVRFLG 1 1 BI ;HEADER FLAG BYTE
TIVRCDTY 1 2 BI ;RECORD TYPE (34 DECIMAL)
TIVRCDTS 4 3 BI ;TIME STAMP TOD .01 SECS
TIVRCDTE 4 7 PD ;DATE 00YYDDDF
TIVCPUID 4 11 CH ;CPU IDENTIFICATION (SYSTEM, MODEL)
TIVUIF 8 15 CH ;USER IDENTIFICATION FIELD
*TIVUID EQU TIVUIF
TIVONTME 4 23 BI ;LOGON TIME TOD .01 SECS
TIVONDTE 4 27 PD ;DATE 00YYDDDF
TIVUDATA 8 31 CH ;RESV FOR USER
TIVINVSQ 1 39 BI ;STEP SEQUENCE NUMBER
TIVSIT 4 40 BI ;TOD STEP INITIATION
*TIVCRTME EQU TIVSIT WAS MAIN STOR OCCUPANCY TIME
TIVOUTCT 4 44 BI ;LINE OUT COUNT
TIVINCT 4 48 BI ;LINE IN COUNT
TIVSTAT 2 52 BI ;STEP TERMINATION STATUS
TIVPRI 1 54 BI ;STEP DISPATCHING PRIORITY
TIVPRGNM 8 55 CH ;NAME OF PROGRAM INVOKED
TIVINVNM 8 63 CH ;STEP (PROC) NAME
TIVRSV5 2 71 BI ;RESERVED
TIVSYST 2 73 BI ;SYST AREA USED, TOP PRI AREA
*TIVRVB EQU TIVSYST
TIVMCRE 2 75 BI ;CORE ACTUALLY USED IN 1K BLKS
*TIVSTU EQU TIVMCRE STORAGE USED, LOW PRI AREA
TIVRVC 2 77 BI ;RESERVED
TIVEFRGN 4 79 BI ;EFFECTIVE RGN SIZE IN 1K BLOCKS
*TIVPRV EQU TIVEFRGN REG SIZE REQUEST (PRI AREA 1K)
TIVSPK 1 83 BI ;STORAGE PROTECT KEY
TIVSTI 1 84 BI ;STEP TERMINATION INDICATORS
* BIT0 — RESERVED
* BIT1 — CANCELED AT EXIT IEFUJV
* BIT2 — CANCELED AT EXIT IEFUJI
* BIT3 — CANCELED AT EXIT IEFUSI
* BIT4 — CANCELED AT EXIT IEFACTRT
* BIT5 — STEP IS TO BE RESTARTED
* BIT6 — 0=NORMAL COMPLETION
* 1=ABEND
* BIT7 — STEP FLUSHED
![Page 143: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/143.jpg)
DYSMF34 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–135
TIVRV1 2 85 BI ;RESERVED
TIVAST 4 87 BI ;ALLOC. START TIME
TIVPPST 4 91 BI ;PROBLEM PROG. START TIME
TIVRV2 1 95 BI ;RESERVED
TIVSRBT 3 96 BI ;STEP CPU UNDER SRB (.01 SEC)
TIVRIN 2 99 BI ;RECORD INDICATORS
* BIT 0-4 RESERVED
* 5 =1 DEVICE DATA NOT RECORDED
* 6 =1 POSSIBLE ERROR IN DEVICE ENTRY DATA
* 7 =0 STOR IS VIRT, =1 STOR IS REAL
* 8-15 RESERVED
TIVRLCT 2 101 BI ;OFFSET TO RELOCATE SECTION
TIVVAR 2 103 BI ;LENGTH OF EXCP COUNT FIELDS
* (INCLUDING THESE TWO BYTES)
TIVEXCP 1 CH ;DEVICES USED AND EXCP COUNTS
REDEFINE AT TIVEXCP
*
* EACH ENTRY
*
TIVDEVC 1 105 BI ;DEVICE CLASS
TIVUTYP 1 106 BI ;UNIT TYPE
TIVCUAD 2 107 BI ;CHANNEL/UNIT ADDRESS
*TIVVDV EQU X'80' VIRTUAL INDICATOR
TIVNEXCP 4 109 BI ;EXCP COUNT
* REDEFINE AT TIVEXCP
TIVVARA 1 105 BI ;LENGTH OF CPU AND ACCT. SECTION
* (NOT INCLUDING THIS BYTE)
TIVCPUTM 3 106 BI ;STEP CPU UNDER TCB (.01 SEC)
TIVNBRAC 1 109 BI ;NUMBER OF ACCOUNTING FIELDS
TIVACFLD 1 CH ;ACCOUNTING FIELDS
REDEFINE AT TIVACFLD
* (THE FIRST BYTE OF EACH FIELD
* MUST CONTAIN THE NUMBER OF
* BYTES OF DATA THAT FOLLOWS)
*
* RELOCATE SECTION
*TIVPGIN 4 110 BI ;NUMBER OF PAGE-INS
TIVPGOUT 4 114 BI ;NUMBER OF PAGE-OUTS
*TIVPGOT EQU TIVPGOUT
TIVRGNS 4 118 BI ;NUMBER OF SWAPS
*TIVNSW EQU TIVRGNS
TIVSIN 4 122 BI ;NUMBER OF TSO SWAP PAGE-INS
*TIVPSI EQU TIVSIN
TIVSOUT 4 126 BI ;NUMBER OF TSO SWAP PAGE-OUTS
*TIVPSO EQU TIVSOUT
TIVVPI 4 130 BI ;VIO PAGE-INS
TIVVPO 4 134 BI ;VIO PAGE-OUTS
TIVSST 4 138 BI ;STEP SERVICE TIME
![Page 144: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/144.jpg)
DYSMF35 COPY Function
1–136 SMF/RMF Reporting Guide
TIVACT 4 142 BI ;STEP ACTIVE TIME
TIVPGNO 2 146 BI ;PERFORMANCE NUMBER
TIVTRANT 4 148 BI ;STEP TRANSACTION RESIDENCY TIME
TIVRECLM 4 152 BI ;NUMBER OF RECLAIMS
TIVRCLAM 4 156 BI ;NUMBER OF VIO RECLAIMS
TIVCPGIN 4 160 BI ;NUMBER OF COMMON PAGE-INS
TIVCRECL 4 164 BI ;NUMBER OF COMMON RECLAIMS
TIVPGSTL 4 168 BI ;NUMBER OF PAGES STOLEN FROM THIS MEMORY
*TIVPGSEC 8 172 CH ;COUNT OF PAGE SECONDS (UNIT IS 1 PAGE
* MILLISECOND)
TIVLPAI 4 180 BI ;LPA PAGE-INS
TIVLPAR 4 184 BI ;LPA RECLAIMS
TIVCPUS 4 188 BI ;STEP CPU SERVICE
TIVIOCS 4 192 BI ;STEP I/O SERVICE
TIVMSOS 4 196 BI ;STEP MAIN STORAGE SERVICE
TIVSRBS 4 200 BI ;STEP SRB SERVICE
TIVTSN 8 204 CH ;TERMINAL SYMBOLIC NAME
DYSMF35 COPY Function The DYSMF35 COPY function can be used to print SMF type 35 records in two report formats — a long format and a short format. SMF type 35 records contain information that is pertinent to LOGOFF. The examples for DYSMF35 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF35 Record Definition COPYLIB(SMF35REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name.
DYSMF35 COPY Parameters
Twelve parameters can be varied in the DYSMF35 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
![Page 145: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/145.jpg)
DYSMF35 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–137
Parameter Description
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “TLGUIF”.
#6 #6 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#7 #7 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 146: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/146.jpg)
DYSMF35 COPY Function
1–138 SMF/RMF Reporting Guide
Invoking the DYSMF35 COPY Function
DYSMF35 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 4:30 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF35LNG ;RECORD LENGTH
STATUS SMF35END ;END OF FILE
COPY SMF35REC
COPY DYSMF35 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'16:30:00'”
#L=YES #S=NULL
FIN
DYSMF35 COPY Function: Example 2
Print all records regardless of date and time in job name (TLGUIF) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF35LNG ;RECORD LENGTH
STATUS SMF35END ;END OF FILE
COPY SMF35REC
COPY DYSMF35 #5='TLGUIF'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF35REC statement and the COPY DYSMF35 statement. For example, in the example shown above the following code:
IF TLGUIF NE 'T101G01'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 147: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/147.jpg)
DYSMF35 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–139
DYSMF35 Short Formatted Report
08/10/97 16.23.06 SHORT REPORT SMF RECORD TYPE 35 LOGOFF COMPLETED PAGE 1
JOB SYSTEM LOGON LOGON LOGOFF LOGOFF DURATION TERMINAL TERMINAL COMPLETION COMPLETION
NAME ID TIME DATE TIME DATE OF LOGON I/P LINES O/P LINES TYPE CODE
T101G01 IPO1 14:05:11 08/04/97 14:38:16 08/04/97 000:33:04.94 61 67 SYS ABEND 0522
T101G01 IPO1 15:58:55 08/04/97 16:29:56 08/04/97 000:31:01.36 6 9 SYS ABEND 0522
T101G04 IPO1 13:11:40 08/04/97 14:26:55 08/04/97 001:15:14.85 102 110 NORMAL 0000
T101G18 IPO1 16:36:43 08/04/97 16:42:48 08/04/97 000:06:05.18 41 50 NORMAL 0000
T102G01 IPO1 15:03:29 08/04/97 15:03:39 08/04/97 000:00:09.98 1 2 NORMAL 0000
T102G01 IPO1 15:45:25 08/04/97 15:59:00 08/04/97 000:13:34.58 100 142 NORMAL 0000
T102G02 IPO1 15:52:33 08/04/97 16:21:54 08/04/97 000:29:21.02 157 168 NORMAL 0000
T102G02 IPO1 16:40:17 08/04/97 16:41:31 08/04/97 000:01:14.69 26 31 NORMAL 0000
T102G06 IPO1 15:44:26 08/04/97 15:45:11 08/04/97 000:00:44.61 142 143 NORMAL 0000
T103G75 IPO1 14:28:09 08/04/97 14:58:43 08/04/97 000:30:33.39 1 6 SYS ABEND 0522
T104G06 IPO1 14:30:54 08/04/97 15:34:56 08/04/97 001:04:02.29 414 725 NORMAL 0000
T105D01 IPO1 14:43:43 08/04/97 14:47:20 08/04/97 000:03:36.12 92 107 NORMAL 0000
T105D01 IPO1 15:08:32 08/04/97 15:08:42 08/04/97 000:00:10.44 4 22 NORMAL 0000
T105D01 IPO1 16:12:50 08/04/97 16:14:39 08/04/97 000:01:49.78 34 51 NORMAL 0000
T105D01 IPO1 16:17:13 08/04/97 16:17:26 08/04/97 000:00:12.87 4 22 NORMAL 0000
T105D01 IPO1 16:30:30 08/04/97 16:30:41 08/04/97 000:00:11.21 4 22 NORMAL 0000
T105D01 IPO1 16:39:38 08/04/97 16:45:56 08/04/97 000:06:18.80 128 143 NORMAL 0000
T105O02 IPO1 14:27:46 08/04/97 15:45:55 08/04/97 001:18:08.63 234 256 SYS ABEND 0522
T105O03 IPO1 14:02:59 08/04/97 14:57:08 08/04/97 000:54:08.93 194 201 SYS ABEND 0522
T105O10 IPO1 12:52:07 08/04/97 16:40:59 08/04/97 003:48:51.98 511 522 NORMAL 0000
T106G01 IPO1 14:14:39 08/04/97 15:11:19 08/04/97 000:56:40.41 133 150 SYS ABEND 0522
T106G01 IPO1 15:14:40 08/04/97 16:15:48 08/04/97 001:01:08.46 53 79 SYS ABEND 0522
T107S01 IPO1 13:55:14 08/04/97 14:52:25 08/04/97 000:57:11.49 114 148 SYS ABEND 0522
T107S01 IPO1 15:49:16 08/04/97 16:01:53 08/04/97 000:12:37.85 43 59 SYS ABEND 0222
T107S04 IPO1 14:10:02 08/04/97 16:07:55 08/04/97 001:57:53.01 457 482 SYS ABEND 0522
T109C20 IPO1 12:57:15 08/04/97 14:52:26 08/04/97 001:55:10.62 472 511 SYS ABEND 0522
T109C20 IPO1 14:53:31 08/04/97 15:10:25 08/04/97 000:16:54.28 167 177 NORMAL 0000
T109C21 IPO1 15:08:18 08/04/97 15:39:36 08/04/97 000:31:18.32 6 9 SYS ABEND 0522
T109P01 IPO1 14:33:17 08/04/97 14:58:39 08/04/97 000:25:22.75 37 242 NORMAL 0000
T109P01 IPO1 15:49:11 08/04/97 16:26:48 08/04/97 000:37:36.97 15 34 SYS ABEND 0522
T109P03 IPO1 13:53:25 08/04/97 16:46:17 08/04/97 002:52:51.73 303 312 NORMAL 0000
T109P04 IPO1 14:26:54 08/04/97 14:40:34 08/04/97 000:13:39.54 49 53 NORMAL 0000
T109P04 IPO1 14:56:55 08/04/97 14:57:17 08/04/97 000:00:22.31 14 19 NORMAL 0000
T109P04 IPO1 15:00:13 08/04/97 15:01:29 08/04/97 000:01:16.37 18 21 NORMAL 0000
T109P07 IPO1 15:00:34 08/04/97 16:25:25 08/04/97 001:24:51.22 216 225 NORMAL 0000
NO. OF RECORDS PRINTED: 35
![Page 148: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/148.jpg)
DYSMF35 COPY Function
1–140 SMF/RMF Reporting Guide
DYSMF35 Long Formatted Report
08/10/97 16.22.44 LONG REPORT SMF RECORD TYPE 35 LOGOFF COMPLETED PAGE 1
JOB NAME T101G01 LOGOFF DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 LOGOFF TIME 14:38:16
USER IDENTIFICATION LOGON DATE 08/04/97
NO. OF STEPS IN SESSION 1 LOGON TIME 14:05:11
NO. OF TPUTS 67 LOGON SESSION DURATION 000:33:04.94
NO. OF TGETS 61 LOGON ENQUEUE TIME 14:05:11
LOGON PRIORITY 0 LOGON ENQUEUE DATE 08/04/97
STORAGE PROTECT KEY 8 JOB TRAN RESIDENCY TIME 00:00:50
JOB SERVICE 29365 JOB CPU TIME UNDER SRBS 00:00:00
NO. OF TRANSACTIONS 68 JOB TRANS ACTIVE TIME 00:00:52
SYSTEM ABEND CODE 0522 JOB CPU TIME UNDER TCBS 00:00:01
PERFORMANCE GRP NO 30 JOB TERM. INDICATOR ABNORMAL COMPLETION
NO OF ACCOUNTING FIELDS 1
ACTG FIELDS T101
JOB - CPU SERVICE 12384 I/O SVC 1160 MAIN STRG SVC 15276 SRB SVC 545
TERMINAL SYMBOLIC NAME S8C20
*********************************************************************************************************************************
JOB NAME T101G01 LOGOFF DATE 08/04/97
SYSTEM IDENTIFICATION IPO1 LOGOFF TIME 16:29:56
USER IDENTIFICATION LOGON DATE 08/04/97
NO. OF STEPS IN SESSION 1 LOGON TIME 15:58:55
NO. OF TPUTS 9 LOGON SESSION DURATION 000:31:01.36
NO. OF TGETS 6 LOGON ENQUEUE TIME 15:58:55
LOGON PRIORITY 0 LOGON ENQUEUE DATE 08/04/97
STORAGE PROTECT KEY 8 JOB TRAN RESIDENCY TIME 00:00:19
JOB SERVICE 10464 JOB CPU TIME UNDER SRBS 00:00:00
NO. OF TRANSACTIONS 9 JOB TRANS ACTIVE TIME 00:00:19
SYSTEM ABEND CODE 0522 JOB CPU TIME UNDER TCBS 00:00:00
PERFORMANCE GRP NO 30 JOB TERM. INDICATOR ABNORMAL COMPLETION
NO OF ACCOUNTING FIELDS 1
ACTG FIELDS T101
JOB - CPU SERVICE 5138 I/O SVC 535 MAIN STRG SVC 4649 SRB SVC 142
TERMINAL SYMBOLIC NAME S8C20
*******************************************************************************************************************************
![Page 149: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/149.jpg)
DYSMF35 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–141
DYSMF35 Record Definition COPYLIB(SMF35REC)
TLGSMF 1 CH ;SMF TS LOGOFF RECORD FORMAT
REDEFINE AT TLGSMF
TLGRFLG 1 1 BI ;HEADER FLAG BYTE
TLGRCDTY 1 2 BI ;RECORD TYPE (35 DECIMAL)
TLGRCDTS 4 3 BI ;TIME STAMP TOD 100THS SECS
TLGRCDTE 4 7 PD ; DATE 00YYDDDF
TLGCPUID 4 11 CH ;CPU IDENTIFICATION (SYSTEM, MODEL)
TLGUIF 8 15 CH ;USER IDENTIFICATION FIELD
* TLGUID EQU TLGUIF
TLGONTME 4 23 BI ;LOGON TIME TOD 100THS SECS
TLGONDTE 4 27 PD ;DATE 00YYDDDF
TLGUDATA 8 31 CH ;RESV FOR USER
TLGSTPCT 1 39 BI ;NUMBER OF STEPS IN SESSION
TLGCRTME 4 40 BI ;RESERVED
TLGOUTCT 4 44 BI ;LINE OUT COUNT
TLGINCT 4 48 BI ;LINE IN COUNT
TLGSTAT 2 52 BI ;SESSION TERMINATION STATUS
TLGPRI 1 54 BI ;LOGON PRIORITY
TLGNQTME 4 55 BI ;LOGON ENQUEUE TIME TOD .01 SECS
TLGNQDTE 4 59 PD ;LOGON ENQUEUE DATE 00YYDDDF
TLGTRMI 1 63 BI ;TERMINATION INDICATORS
* BIT0-RESERVED
* 1—CANCELED AT EXIT IEFUJV
* 2—CANCELED AT EXIT IEFUJI
* 3—CANCELED AT EXIT IEFUSI
* 4—CANCELED AT EXIT IEFACTRT
* 5—RESERVED
* 6—O=NORMAL COMPLETION
* 1=ABEND
* 7—RESERVED
TLGOUTCL 1 64 BI ;RESV—FORMERLY SYSOUT CLASSES
TLGTRANT 4 65 BI ;TOTAL TRANSACTION RESIDENCY TIME
TLGRVC 4 69 BI ;RESERVED
TLGSPK 1 73 BI ;STORAGE PROTECT KEY
TLGSRBT 3 74 BI ;JOB CPU UNDER SRB (.01 SEC)
TLGTJS 4 77 BI ;TOTAL SESSION SERV (SERV UNITS)
TLGTTAT 4 81 BI ;TOTAL ACTIVE TIME FOR SESSION
TLGNTSN 4 85 BI ;TOTAL # OF TRANSACTIONS
TLGPGNO 2 89 BI ;PERFORMANCE GROUP #
TLGRV2 2 91 BI ;RESERVED
TLGVAR 1 93 BI ;LENGTH OF ACCT PART OF RECORD
* (NOT INCLUDING THIS BYTE)
TLGRVB 20 94 CH ;RESERVED
TLGCPUTM 3 114 BI ;JOB CPU UNDER TCB (.01 SEC)
TLGNBRAC 1 117 BI ;NUMBER OF ACCOUNTING FIELDS
TLGACFLD 1 CH ;ACCOUNTING FIELDS
REDEFINE AT TLGACFLD
![Page 150: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/150.jpg)
DYSMF35 COPY Function
1–142 SMF/RMF Reporting Guide
* (THE FIRST BYTE OF EACH FIELD
* MUST CONTAIN THE NUMBER OF
* BYTES OF DATA THAT FOLLOWS)
TLGCPUS 4 118 BI ;SESSION CPU SERVICE
TLGIOCS 4 122 BI ;SESSION I/O SERVICE
TLGMSOS 4 126 BI ;SESSION MAIN STORAGE SERV.
TLGSRBS 4 130 BI ;SESSION SRB SERVICE
TLGTSN 8 134 CH ;TERMINAL SYMBOLIC NAME
![Page 151: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/151.jpg)
DYSMF40 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–143
DYSMF40 COPY Function The DYSMF40 COPY function can be used to print SMF type 40 records in two report formats — a long format and a short format. SMF type 40 records contain information that is pertinent to DYNAMIC DD. The examples for DYSMF40 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF40 Record Definition COPYLIB(SMF40REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name and step number.
DYSMF40 COPY Parameters
Twelve parameters can be varied in the DYSMF40 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “TDDUIF TDDINVSQ”.
![Page 152: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/152.jpg)
DYSMF40 COPY Function
1–144 SMF/RMF Reporting Guide
Parameter Description
#6 #6 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#7 #7 contains additional sort fields. The default value is NULL. The value of the field cannot exceed 30 characters.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF40 COPY Function
DYSMF40 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF40LNG ;RECORD LENGTH
STATUS SMF40END ;END OF FILE
COPY SMF40REC
COPY DYSMF40 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 153: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/153.jpg)
DYSMF40 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–145
DYSMF40 COPY Function: Example 2
Print all records regardless of date and time in logon date (TDDONDTE) and logon time (TDDONTME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF40LNG ;RECORD LENGTH
STATUS SMF40END ;END OF FILE
COPY SMF40REC
COPY DYSMF40 #5='TDDONDTE TDDONTME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF40REC statement and the COPY DYSMF40 statement. For example, in the example shown above the following code:
IF TDDCPUID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 154: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/154.jpg)
DYSMF40 COPY Function
1–146 SMF/RMF Reporting Guide
DYSMF40 Short Formatted Report
08/10/97 15.32.51 SMF RECORD 40 SHORT REPORT DYNAMIC DD PAGE 1
SYSTEM LOGON LOGON STEP SMF SMF FUNCTIONAL NO. OF
ID TIME DATE NUMBER BUFFER TIME BUFFER DATE INDICATOR DEVICES
-------------------------------------------------------------------------------------------------------------------
IPO1 09:36:56.86 08/04/97 1 14:20:36.70 08/04/97 UNALLOCATION 1
IPO1 12:49:56.15 08/04/97 1 14:21:08.57 08/04/97 UNALLOCATION 1
IPO1 12:49:56.15 08/04/97 1 14:21:09.22 08/04/97 UNALLOCATION 1
IPO1 12:49:56.15 08/04/97 1 14:21:09.24 08/04/97 UNALLOCATION 1
IPO1 12:55:19.93 08/04/97 1 14:21:38.83 08/04/97 UNALLOCATION 1
IPO1 12:57:15.62 08/04/97 1 14:21:38.61 08/04/97 UNALLOCATION 1
IPO1 12:58:10.29 08/04/97 1 14:21:17.39 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:19:08.64 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:19:10.94 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:19:27.07 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:19:36.98 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:19:38.63 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:19:45.65 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:20:01.83 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:20:05.70 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:20:19.62 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:20:29.16 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:21:06.56 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:21:13.14 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:21:28.71 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:21:32.09 08/04/97 UNALLOCATION 1
IPO1 13:03:49.87 08/04/97 1 14:21:33.48 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:19:57.16 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:19:57.29 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:20:07.07 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:20:10.89 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:20:10.92 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:20:11.04 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:20:31.23 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:20:36.64 08/04/97 UNALLOCATION 1
IPO1 13:08:52.67 08/04/97 1 14:21:16.56 08/04/97 UNALLOCATION 1
IPO1 13:55:14.33 08/04/97 1 14:21:41.67 08/04/97 UNALLOCATION 1
IPO1 13:55:14.33 08/04/97 1 14:21:41.80 08/04/97 UNALLOCATION 1
IPO1 14:12:57.74 08/04/97 1 14:19:14.64 08/04/97 UNALLOCATION 1
IPO1 14:12:57.74 08/04/97 1 14:21:09.78 08/04/97 UNALLOCATION 1
NUMBER OF RECORDS PRINTED: 35
![Page 155: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/155.jpg)
DYSMF40 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–147
DYSMF40 Long Formatted Report
08/10/97 15.34.40 SMF RECORD 40 LONG REPORT DYNAMIC DD PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:20:36.70 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
CPU IDENTIFICATION IPO1 JOB NAME JES2
LOGON TIME 09:36:56.86 LOGON DATE 08/04/97
USER IDENTIFICATION
STEP NUMBER 1 NUMBER OF DEVICES
FUNCTIONAL INDICATOR UNALLOCATION
RECORD INDICATOR -----
INDEX OF RECORD IN SEQUENCE OF RECORDS 1 TOTAL NUMBER OF RECORDS IN SEQ. OF REC. 1
DEVICE INFORMATION
******************
DEVICE CLASS 00 UNIT TYPE 00 DEVICE NUMBER 7FFF EXCP COUNT 8
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:21:08.57 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
CPU IDENTIFICATION IPO1 JOB NAME T109P14
LOGON TIME 12:49:56.15 LOGON DATE 08/04/97
USER IDENTIFICATION
STEP NUMBER 1 NUMBER OF DEVICES
FUNCTIONAL INDICATOR UNALLOCATION
RECORD INDICATOR -----
INDEX OF RECORD IN SEQUENCE OF RECORDS 1 TOTAL NUMBER OF RECORDS IN SEQ. OF REC. 1
DEVICE INFORMATION
******************
DEVICE CLASS 20 UNIT TYPE 0E DEVICE NUMBER 0413 EXCP COUNT 3
![Page 156: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/156.jpg)
DYSMF40 COPY Function
1–148 SMF/RMF Reporting Guide
DYSMF40 Record Definition COPYLIB(SMF40REC)
TDDSMF 1 CH ;SMF DYNAMIC DD RECORD FORMAT
REDEFINE AT TDDSMF
TDDRFLG 1 1 BI ;HEADER FLAG BYTE
TDDRCDTY 1 2 BI ;RECORD TYPE (40 DECIMAL)
TDDRCDTS 4 3 BI ;TIME STAMP TOD 100THS SECS
TDDRCDTE 4 7 PD ;DATE 00YYDDDF
TDDCPUID 4 11 CH ;CPU IDENTIFICATION (SYSTEM, MODEL)
TDDUIF 8 15 CH ;USER IDENTIFICATION FIELD
* TDDUID EQU TDDUIF
TDDONTME 4 23 BI ;LOGON TIME TOD 100THS SECS
TDDONDTE 4 27 PD ;DATE 00YYDDDF
TDDUDATA 8 31 CH ;RESV FOR USER
TDDINVSQ 1 39 BI ;STEP SEQUENCE NUMBER
TDDFLG 1 40 BI ;INDICATION OF FUNCTION THAT CAUSED THIS
* DYNAMIC RECORD
* VALUE RECORD CAUSED BY
* '01' RESERVED
* '02' UNALLOCATION
* '03' CONCATENATION
* '04' DECONCATENATION
TDDRIN 2 41 BI ;RECORD INDICATORS
* BITS 0-6 RESERVED
* 7 POSSIBLE ERROR IN DEV ENTRY DATA
* 8-15 RESERVED
* TDDRVA DC BL18'0' RESERVED
* BINARY FIELD OVER 4 BYTES. FIELD CONVERTED TO CHAR. DATA.
TDDRCIND 2 43 ;INDEX OF RECORDS IN SEQUENCE OF REC.
TDDRCTOT 2 45 ;TOTAL NUMBER OF RECORDS IN SEC OR R.
TDDRVA 14 47 ;RESERVED
TDDVAR 2 61 BI ;LENGTH OF REST OF RECORD
* (INCLUDING THESE TWO BYTES)
TDDEXCP 1 CH ;DEVICES USED AND EXCP COUNTS
REDEFINE AT TDDEXCP
*
* EACH DEVICE
*T
DDDEVC 1 63 BI ;DEVICE CLASS
TDDUTYP 1 64 BI ;UNIT TYPE
TDDCUAD 2 65 BI ;DEVICE NUMBER
* SMF40VDV EQU X'80' VIRTUAL INDICATOR
TDDNEXCP 1 67 BI ;EXCP COUNT
* TDDNEXCP OCCURS 4 TIMES.
![Page 157: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/157.jpg)
DYSMF43 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–149
DYSMF43 COPY Function The DYSMF43 COPY function can be used to print SMF type 43 records in two report formats — a long format and a short format. SMF type 43 records contain information that is pertinent to JES2/JES3 START. The examples for DYSMF43 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF43 Record Definition COPYLIB(SMF43REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF43 COPY Parameters
Twelve parameters can be varied in the DYSMF43 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 158: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/158.jpg)
DYSMF43 COPY Function
1–150 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF43SID SMF43DTE SMF43TME” (system ID, date, and time). Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF43 COPY Function
DYSMF43 COPY Function: Example 1
Print all type 43 records with SMF buffer date and time that are between 08:00:00 AM and 1:00:00 PM and 10/02/06 and 10/03/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF43LNG ;RECORD LENGTH
STATUS SMF43EOF ;END-OF-FILE
COPY SMF43REC
COPY DYSMF43 #1="'10/02/06'"
#3="'10/03/06'"
#2="'08:00:00'"
#4="'01:00:00'"
#5='SMF43DTE SMF43TME'
#L=YES #S=NULL #X=YES
FIN
![Page 159: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/159.jpg)
DYSMF43 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–151
DYSMF43 COPY Function: Example 2
Print all type 43 records where the SMF buffer date and time are between 08:00:00 AM and 1:00:00 PM and 10/02/06 and 10/03/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF43LNG ;RECORD LENGTH
STATUS SMF43EOF ;END-OF-FILE
COPY SMF43REC
COPY DYSMF43 #1="'10/02/06'"
#3="'10/03/06'"
#2="'08:00:00'"
#4="'01:00:00'"
#5='SMF43DTE SMF43TME'
#L=NULL #S=YES #X=YES
FIN
![Page 160: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/160.jpg)
DYSMF43 COPY Function
1–152 SMF/RMF Reporting Guide
DYSMF43 Long Formatted Report
10/05/06 18.10.38 SMF RECORD 43 LONG REPORT JES2/JES3 START PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER: 08:44:28.97
DATE RECORD WAS MOVED TO SMF BUFFER: 10/02/06
SYSTEM IDENTIFICATION: SDD45
SUB SYSTEM IDENTIFICATION: JES2
START INDICATOR: $S
START OPTIONS:
LIST
LOG
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER: 13:21:27.34
DATE RECORD WAS MOVED TO SMF BUFFER: 10/03/06
SYSTEM IDENTIFICATION: P44RT
SUB SYSTEM IDENTIFICATION: JES2
START INDICATOR: $S
START OPTIONS:
LIST
LOG
NUMBER OF RECORDS PRINTED: 2
DYSMF43 Short Formatted Report
10/05/06 15.59.41 SMF RECORD 43 SHORT REPORT JES2/JES3 START PAGE 1
TIME DATE SYSTEM SUB SYSTEM START
RECORD RECORD ID ID INDICATOR
WRITTEN WRITTEN
---------------------------------------------------- ----------------------------------------------------
08:44:28.97 10/02/06 SDD45 JES2 $S
13:21:27.34 10/03/06 P44RT JES2 $S
![Page 161: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/161.jpg)
DYSMF45 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–153
NUMBER OF RECORDS PRINTED: 2
DYSMF43 Record Definition COPYLIB(SMF43REC)
SMFRCD43 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD43
SMF43PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF43PTR
******************************************
* *
* R E C O R D T Y P E 43 (2B) *
* J E S 2 / J E S 3 S T A R T *
* *
******************************************
SMF43FLG 1 1 BI ;HEADER FLAG BYTE
SMF43RTY 1 2 BI ;RECORD TYPE 43
*SMFJ43 EQU 43 ;START SUBSYSTEM RECORD TYPE
SMF43TME 4 3 BI ;TOD FROM TIME MACRO BINARY
SMF43DTE 4 7 PD ;DATE FROM TIME MACRO
SMF43SID 4 11 CH ;SYSTEM IDENTIFIER
*
* S U B S Y S T E M I D E N T I F I C A T I O N S E C T I O N ***
*
SMF43SBS 2 15 BI ;SUBSYSTEM IDENTIFIER
* SMF43HSP EQU X'0002' JES2 ID
* X'0005' JES3 ID
* X'0006' SS06 ID
SMF43RSV 2 17 BI ;RESERVED
SMF43LRR 2 19 BI ;LGTH OF REMAINDER OF RECORD
* ;(NOT INCLUDING THIS FIELD)
*
SMF43SBP 1 21 CH ;SUBSYSTEM SECTION BEGINNING
DYSMF45 COPY Function The DYSMF45 COPY function can be used to print SMF type 45 records in two report formats — a long format and a short format. SMF type 45 records contain information that is pertinent to JES2 WITHDRAWEL/JES3 STOP. The examples for DYSMF45 short formatted and long formatted reports are shown in this section.
![Page 162: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/162.jpg)
DYSMF45 COPY Function
1–154 SMF/RMF Reporting Guide
The COPY function assumes that the SMF record is formatted as shown in DYSMF45 Record Definition COPYLIB(SMF45REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF45 COPY Parameters
Twelve parameters can be varied in the DYSMF45 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF45SID SMF45DTE SMF45TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
![Page 163: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/163.jpg)
DYSMF45 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–155
Parameter Description
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF45 COPY Function
DYSMF45 COPY Function: Example 1
Print all type 45 records with SMF buffer date and time that are between the dates of 10/01/06 and 10/05/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF45LNG ;RECORD LENGTH
STATUS SMF45EOF ;END-OF-FILE
COPY SMF45REC
COPY DYSMF45 #1="'10/01/06'"
#3="'10/05/06'"
#5='SMF45DTE SMF45TME'
#L=YES #S=NULL #X=YES
FIN
DYSMF45 COPY Function: Example 2
Print all type 45 records where the SMF buffer date is between 10/01/06 and 10/05/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION PRINTERROR XREFA
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF45LNG ;RECORD LENGTH
STATUS SMF45EOF ;END-OF-FILE
COPY SMF45REC
COPY DYSMF45 #1="'10/01/06'"
#3="'10/05/06'"
#5='SMF45DTE SMF45TME'
#L=NULL #S=YES #X=YES
FIN
![Page 164: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/164.jpg)
DYSMF45 COPY Function
1–156 SMF/RMF Reporting Guide
DYSMF45 Long Formatted Report
10/05/06 15.38.27 SMF RECORD 45 LONG REPORT JES2/JES3 STOP PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 17:03:19.48 DATE RECORD WAS MOVED TO SMF BUFFER 10/01/06
SYSTEM IDENTIFICATION SDD45 SUB SYSTEM IDENTIFICATION JES2
STOP INDICATOR $P JES2 WITHDRAWAL
COMPLETION CODE 0000
************************************************************************************************************************
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 19:07:57.90 DATE RECORD WAS MOVED TO SMF BUFFER 10/04/06
SYSTEM IDENTIFICATION P44RT SUB SYSTEM IDENTIFICATION JES2
STOP INDICATOR $P JES2 WITHDRAWAL
COMPLETION CODE 0000
************************************************************************************************************************
NUMBER OF RECORDS PRINTED: 2
DYSMF45 Short Formatted Report
10/05/06 15.37.18 SMF RECORD 45 SHORT REPORT JES2/JES3 STOP PAGE 1
TIME DATE SYSTEM SUB SYSTEM STOP COMPLETION
RECORD RECORD ID ID INDICATOR CODE
WRITTEN WRITTEN
---------------------------------------------------- ----------------------------------------------------
17:03:19.48 10/01/06 SDD45 JES2 $P JES2 WITHDRAWAL 0000
19:07:57.90 10/04/06 P44RT JES2 $P JES2 WITHDRAWAL 0000
NUMBER OF RECORDS PRINTED: 2
![Page 165: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/165.jpg)
DYSMF47 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–157
DYSMF45 Record Definition COPYLIB(SMF45REC)
SMFRCD45 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD45
SMF45PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF45PTR
******************************************
* R E C O R D: SMF45REC *
* *
* R E C O R D T Y P E 45 (2D) *
* J E S 2 W I T H D R A W A L/ *
* J E S 3 S T O P *
* *
******************************************
SMF45FLG 1 1 BI ;HEADER FLAG BYTE
SMF45RTY 1 2 BI ;RECORD TYPE 45
*SMFJ45 EQU 45 ;STOP SUBSYSTEM RECORD TYPE
SMF45TME 4 3 BI ;TOD FROM TIME MACRO BINARY
SMF45DTE 4 7 PD ;DATE FROM TIME MACRO
SMF45SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- SUBSYSTEM IDENTIFICATION SECTION ---------------*
SMF45SBS 2 15 BI ;SUBSYSTEM IDENTIFIER
* SMF45HSP EQU X'0002' JES2 ID
* X'0005' JES3
* X'0006' SS06
SMF45RSV 2 17 BI ;RESV
SMF45LRR 2 19 BI ;LGTH OF REMAINDER OF RECORD
* (NOT INCLUDING THIS FIELD)
SMF45SBG 1 21 CH ;SUBSYSTEM SECTION BEGINNING
REDEFINE AT SMF45SBG
*
*----- JES2 SECTION ------------------------------------*
SMF45IND 2 21 BI ;INDICATORS
* SMF45ATM EQU X'80' ;BIT 0 ABNORMAL TERMINATION
* ;1-15 RESERVED
SMF45JCC 2 23 BI ;JES2 COMPLETION CODE
DYSMF47 COPY Function The DYSMF47 COPY function can be used to print SMF type 47 records in two report formats — a long format and a short format. SMF type 47 records contain information that is pertinent to JES2/JES3 SIGNON. The examples for DYSMF47 short formatted and long formatted reports are shown in this section.
![Page 166: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/166.jpg)
DYSMF47 COPY Function
1–158 SMF/RMF Reporting Guide
The COPY function assumes that the SMF record is formatted as shown in DYSMF47 Record Definition COPYLIB(SMF47REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF47 COPY Parameters
Twelve parameters can be varied in the DYSMF47 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF47SID SMF47DTE SMF47TME” (system ID, date, and time). Parameters #6 and #7 are additional sort fields that have a default value of NULL.
![Page 167: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/167.jpg)
DYSMF47 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–159
Parameter Description
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF47 COPY Function
DYSMF47 COPY Function: Example 1
Print all type 47 records with SMF buffer date and time that are between the dates of 10/05/06 and 10/07/06. Print the records using the long format and a 4-digit year with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF47LNG ;RECORD LENGTH
STATUS SMF47EOF ;END-OF-FILE
COPY SMF47REC
COPY DYSMF47 #5='SMF47DTE SMF47TME'
#8="'10/05/2006'" #9="'10/07/2006'"
#L=YES #S=NULL #X=NULL
FIN
DYSMF47 COPY Function: Example 2
Print all type 47 records where the SMF buffer date is between 10/05/06 and 10/07/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF47LNG ;RECORD LENGTH
STATUS SMF47EOF ;END-OF-FILE
COPY SMF47REC
COPY DYSMF47 #5='SMF47DTE SMF47TME'
#1="'10/05/06'" #3="'10/07/06'"
#L=NULL #S=YES #X=YES
FIN
![Page 168: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/168.jpg)
DYSMF47 COPY Function
1–160 SMF/RMF Reporting Guide
DYSMF47 Long Formatted Report
10/10/2006 14.47.50 SMF RECORD 47 LONG REPORT JES2/JES3 SIGNON PAGE 1
TIME RECORD WAS MOVED TO SMF BUFFER: 21:02:16.20
DATE RECORD WAS MOVED TO SMF BUFFER: 10/05/2006
SYSTEM IDENTIFICATION: 108X
SUB SYSTEM IDENTIFICATION: JES2
START EVENT: $S LINE(n)
REMOTE NAME:
LINE NAME: LNE51
PASSWORD:
----------------------------------------------------
TIME RECORD WAS MOVED TO SMF BUFFER: 21:02:18.14
DATE RECORD WAS MOVED TO SMF BUFFER: 10/05/2006
SYSTEM IDENTIFICATION: 108X
SUB SYSTEM IDENTIFICATION: JES2
START EVENT: $S LINE(n)
REMOTE NAME:
LINE NAME: LNE52
PASSWORD:
----------------------------------------------------
TIME RECORD WAS MOVED TO SMF BUFFER: 21:02:20.14
DATE RECORD WAS MOVED TO SMF BUFFER: 10/05/2006
SYSTEM IDENTIFICATION: 108X
SUB SYSTEM IDENTIFICATION: JES2
START EVENT: $S LINE(n)
REMOTE NAME:
LINE NAME: LNE53
PASSWORD:
----------------------------------------------------
DYSMF47 Short Formatted Report
![Page 169: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/169.jpg)
DYSMF47 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–161
10/10/06 14.56.52 SMF RECORD 47 SHORT REPORT JES2/JES3 SIGNON PAGE 1
TIME DATE SYSTEM SUB SYSTEM START
RECORD RECORD ID ID EVENT
WRITTEN WRITTEN
---------------------------------------------------- ----------------------------------------------------
21:02:16.20 10/05/06 D109 JES2 $S LINE(n)
21:02:18.14 10/05/06 D109 JES2 $S LINE(n)
21:02:20.14 10/05/06 D109 JES2 $S LINE(n)
21:02:22.03 10/05/06 D109 JES2 $S LINE(n)
21:02:48.75 10/05/06 D109 JES2 $S LINE(n)
21:02:50.64 10/05/06 D109 JES2 $S LINE(n)
21:02:52.54 10/05/06 D109 JES2 $S LINE(n)
DYSMF47 Record Definition COPYLIB(SMF47REC)
SMFRCD47 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD47
SMF47PTR 1 1 CH ;HEADER
REDEFINE AT SMF47PTR
*********************************************************
* R E C O R D: SMF47REC *
* *
* R E C O R D T Y P E 47 (2F) *
* J E S 2 S I G N O N / S T A R T L I N E (BSC) *
* J E S 3 S I G N O N / S T A R T L I N E (LOGON) *
* *
*********************************************************
SMF47FLG 1 1 BI ;HEADER FLAG BYTE
SMF47RTY 1 2 BI ;RECORD TYPE 47
*SMFJ47 EQU 47 ;START SUBSYSTEM EVENT ID
SMF47TME 4 3 BI ;TOD FROM TIME MACRO BINARY
SMF47DTE 4 7 PD ;DATE FROM TIME MACRO
SMF47SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- SUBSYSTEM IDENTIFICATION SECTION ---------------*
SMF47SBS 2 15 BI ;SUBSYSTEM
* SMF47HSP EQU ;X'0002' ;JES2 ID
* ;X'0005' ;JES3
* ;X'0006 ;SS06
SMF47RSV 2 17 BI ;RESERVED
SMF47LRR 2 19 BI ;LGTH OF REMAINDER OF RECORD
* ;(NOT INCLUDING THIS FIELD)
![Page 170: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/170.jpg)
DYSMF48 COPY Function
1–162 SMF/RMF Reporting Guide
SMF47SBG 1 21 BI ;SUBSYSTEM SECTION BEGINNING
DYSMF48 COPY Function The DYSMF48 COPY function can be used to print SMF type 48 records in two report formats — a long format and a short format. SMF type 48 records contain information that is pertinent to JES2/JES3 SIGNOFF. The examples for DYSMF48 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF48 Record Definition COPYLIB(SMF48REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF48 COPY Parameters
Twelve parameters can be varied in the DYSMF48 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 171: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/171.jpg)
DYSMF48 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–163
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF48SID SMF48DTE SMF48TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF48 COPY Function
DYSMF48 COPY Function: Example 1
Print all type 48 records with SMF buffer date and time that are between the dates of 10/05/06 and 10/07/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF48LNG ;RECORD LENGTH
STATUS SMF48EOF ;END-OF-FILE
COPY DYSMF48 #1="'10/05/06'" #3="'10/07/06'"
#5='SMF48DTE SMF48TME'
#L=YES #S=NULL #X=YES
FIN
![Page 172: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/172.jpg)
DYSMF48 COPY Function
1–164 SMF/RMF Reporting Guide
DYSMF48 COPY Function: Example 2
Print all type 48 records where the SMF buffer date is between 10/05/06 and 10/07/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF48LNG ;RECORD LENGTH
STATUS SMF48EOF ;END-OF-FILE
COPY DYSMF48 #1="'10/05/06'" #3="'10/07/06'"
#5='SMF48DTE SMF48TME'
#L=NULL #S=YES #X=YES
FIN
DYSMF48 Long Formatted Report
10/10/06 15.19.39 SMF RECORD 48 LONG REPORT JES2/JES3 SIGNOFF PAGE 1
TIME RECORD WAS MOVED TO SMF BUFFER: 18:57:58.14
DATE RECORD WAS MOVED TO SMF BUFFER: 10/05/06
SYSTEM IDENTIFICATION: 108X
SUB SYSTEM IDENTIFICATION: JES2
STOP EVENT: $P LNE(n)
REMOTE NAME:
LINE NAME: LNE81
PASSWORD:
NUMBER OF EXCPS FOR THIS LINE: 944
NUMBER OF WRITE TEXT-NEG ACKNOWLEDGEMTS: 0
NUMBER OF DATA CHECKS TO READ TEXT: 0
NUMBER OF TIME OUTS TO READ TEXT: 0
SUM OF ALL OTHER LINE ERRORS: 0
LINE ADAPTER ADDRESS FROM UCB:
4-DIGIT LINE ADAPTER ADDRESS: 5864
----------------------------------------------------
TIME RECORD WAS MOVED TO SMF BUFFER: 18:57:59.83
DATE RECORD WAS MOVED TO SMF BUFFER: 10/05/06
SYSTEM IDENTIFICATION: 108X
SUB SYSTEM IDENTIFICATION: JES2
STOP EVENT: $P LNE(n)
REMOTE NAME:
LINE NAME: LNE82
PASSWORD:
![Page 173: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/173.jpg)
DYSMF48 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–165
NUMBER OF EXCPS FOR THIS LINE: 944
NUMBER OF WRITE TEXT-NEG ACKNOWLEDGEMTS: 0
NUMBER OF DATA CHECKS TO READ TEXT: 0
NUMBER OF TIME OUTS TO READ TEXT: 0
SUM OF ALL OTHER LINE ERRORS: 0
LINE ADAPTER ADDRESS FROM UCB:
4-DIGIT LINE ADAPTER ADDRESS: 5A64
----------------------------------------------------
NUMBER OF RECORDS PRINTED: 2
DYSMF48 Short Formatted Report
10/10/06 15.18.04 SMF RECORD 48 SHORT REPORT JES2/JES3 SIGNOFF PAGE 1
TIME DATE SYSTEM SUB SYSTEM STOP REMOTE LINE PASSWORD
RECORD RECORD ID ID EVENT NAME NAME
WRITTEN WRITTEN
---------------------------------------------------- ----------------------------------------------------------
18:57:58.14 10/05/06 108X JES2 $P LNE(n)
18:57:59.83 10/05/06 108X JES2 $P LNE(n)
NUMBER OF RECORDS PRINTED: 2
DYSMF48 Record Definition COPYLIB(SMF48REC)
SMFRCD48 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD48
SMF48PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF48PTR
******************************************
* R E C O R D: SMF48REC *
* *
* R E C O R D T Y P E 48 (30) *
* *
* J E S 2 S I G N O F F / *
* S T O P L I N E *
* *
* J E S 3 S I G N O F F / *
* S T O P L I N E / *
* L O G O F F *
******************************************
SMF48FLG 1 1 BI ;HEADER FLAG BYTE
SMF48RTY 1 2 BI ;RECORD TYPE 48
*SMFJ48 EQU 48 ;STOP SUBSYSTEM EVENT ID
![Page 174: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/174.jpg)
DYSMF49 COPY Function
1–166 SMF/RMF Reporting Guide
SMF48TME 4 3 BI ;TOD FROM TIME MACRO BINARY
SMF48DTE 4 7 PD ;DATE FROM TIME MACRO
SMF48SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- SUBSYSTEM IDENTIFICATION SECTION ---------------*
SMF48SBS 2 15 BI ;SUBSYSTEN IDENTIFIER
*SMF48HSP EQU X'0002' JES2 ID
* X'0005' JES3
* X'0006' SS06
SMF48RSV 2 17 BI ;RESV
SMF48LRR 2 19 BI ;LGTH OF REMAINDER OF RECORD
* (NOT INCLUDING THIS FIELD)
SMF48SBP 1 21 ;SUBSYSTEM SECTION BEGINNING
DYSMF49 COPY Function The DYSMF49 COPY function can be used to print SMF type 49 records in two report formats — a long format and a short format. SMF type 49 records contain information that is pertinent to JES2 INTEGRITY (BSC only). The examples for DYSMF49 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF49 Record Definition COPYLIB(SMF49REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF49 COPY Parameters
Twelve parameters can be varied in the DYSMF49 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
![Page 175: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/175.jpg)
DYSMF49 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–167
Parameter Description
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF49SID SMF49DTE SMF49TME”.
For example, if you want to sort on the two fields, SMF49SID and SMF49LIN, you can specify #5 as equal to “SMF49SID SMF49LIN”.
#6 #6 applies to sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF49SID, SMF49DTE, SMF49TME, and SMF49PSW, you can specify #5 as equal to “SMF49SID SMF49DTE SMF49TME” and #6 as equal to “SMF49PSW”.
#7 #7 applies to sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF49SID, SMF49DTE, SMF49TME, SMF49EVT, SMF49RMT, SMF49LIN, and SMF49PSW, you can override all three parameters by specifying #5 as equal to “SMF49SID SMF49DTE SMF49TME”, #6 as equal to “SMF49EVT SMF49RMT SMF49LIN”, and #7 as equal to “SMF49PSW”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 176: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/176.jpg)
DYSMF49 COPY Function
1–168 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF49 COPY Function
DYSMF49 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF49LNG ;RECORD LENGTH
STATUS SMF49FIN ;END OF FILE
COPY SMF49REC
COPY DYSMF49 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF49 COPY Function: Example 2
Print all records regardless of date and time in system identification (SMF49SID), SMF buffer date (SMF49DTE), and SMF buffer time (SMF49TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF49LNG ;RECORD LENGTH
STATUS SMF49FIN ;END OF FILE
COPY SMF49REC
COPY DYSMF49 #5='SMF49SID SMF49DTE SMF49TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF49REC statement and the COPY DYSMF49 statement. For example, in the example shown above the following code:
![Page 177: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/177.jpg)
DYSMF49 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–169
IF SMF49SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF49 Short Formatted Report
08/10/97 09.55.59 SMF RECORD 49 SHORT REPORT JES2 INTEGRITY (BSC) PAGE 1
SYSTEM REC MOVED TO REC MOVED TO RECORD REMOTE LINE INVALID MESSAGE
ID SMF BUFF. TIME SMF BUFF. TIME INDICATOR NAME NAME PASSWORD TEXT
------------------------------------------------------------------------------------------------------------------------------
IPO1 14:19:36.97 08/04/97 REC. WRITTEN FOR SIGNON T105O05 IPO1 CATMGMT ICFCAT.VSTR001
IPO1 14:19:38.62 08/04/97 REC. WRITTEN FOR SIGNON T105O05 IPO1 CATMGMT ICFCAT.VSTR001
IPO1 14:19:57.16 08/04/97 REC. WRITTEN FOR SIGNON T109P46 IPO1 CATMGMT ICFCAT.VSTR002
IPO1 14:20:11.06 08/04/97 REC. WRITTEN FOR SIGNON T109P46 IPO1 CATMGMT ICFCAT.VSTR002
IPO1 14:21:44.82 08/04/97 REC. WRITTEN FOR SIGNON T107S01 IPO1 CATMGMT ICFCAT.VSYSLB2
IPO1 14:23:49.59 08/04/97 REC. WRITTEN FOR SIGNON T109P46 IPO1 CATMGMT ICFCAT.VSTR002
IPO1 14:24:59.39 08/04/97 REC. WRITTEN FOR SIGNON T109P46 IPO1 CATMGMT ICFCAT.VSTR002
IPO1 14:26:31.02 08/04/97 REC. WRITTEN FOR SIGNON T109P46 IPO1 CATMGMT ICFCAT.VSTR002
IPO1 14:26:42.87 08/04/97 REC. WRITTEN FOR SIGNON T105O03 IPO1 CATMGMT ICFCAT.VSTR001
IPO1 14:26:53.08 08/04/97 REC. WRITTEN FOR SIGNON T101G04 IPO1 CATMGMT ICFCAT.VSTR002
NUMBER OF RECORDS PRINTED: 10
![Page 178: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/178.jpg)
DYSMF49 COPY Function
1–170 SMF/RMF Reporting Guide
DYSMF49 Long Formatted Report
08/10/97 09.58.19 SMF RECORD 49 LONG REPORT JES2 INTEGRITY (BSC) PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:36.97 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IPO1 LENGTH OF REST OF RECORD 66
SUBSYSTEM IDENTIFIER JES2
RECORD INDICATOR REC. WRITTEN FOR SIGNON
IDENTIFICATION SECTION
**********************
LENGTH OF IDENTIFICATION SECTION 26 REMOTE NAME T105O05
LINE NAME IPO1 INVALID PASSWORD CATMGMT
MESSAGE SECTION
***************
LENGTH OF MESSAGE SECTION 38
MESSAGE TEXT ICFCAT.VSTR001
**************************************************************************************************************************
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:38.62 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IPO1 LENGTH OF REST OF RECORD 66
SUBSYSTEM IDENTIFIER JES2
RECORD INDICATOR REC. WRITTEN FOR SIGNON
IDENTIFICATION SECTION
**********************
LENGTH OF IDENTIFICATION SECTION 26 REMOTE NAME T105O05
LINE NAME IPO1 INVALID PASSWORD CATMGMT
MESSAGE SECTION
***************
LENGTH OF MESSAGE SECTION 38
MESSAGE TEXT ICFCAT.VSTR001
***************************************************************************************************************************
![Page 179: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/179.jpg)
DYSMF49 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–171
DYSMF49 Record Definition COPYLIB(SMF49REC)
SMFRCD49 1 CH ;START OF RECORD
REDEFINE AT SMFRCD49
SMF49PTR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF49PTR
SMF49FLG 1 1 BI ;HEADER FLAG BYTE
SMF49RTY 1 2 BI ;RECORD TYPE 49
*SMFJ49 EQU 49 INTEGRITY EVENT RECORD TYPE
SMF49TME 4 3 BI ;TOD FROM TIME MACRO BINARY
SMF49DTE 4 7 PD ;DATE FROM TIME MACRO
SMF49SID 4 11 CH ;SYSTEM IDENTIFICATION
*
* SUBSYSTEM IDENTIFICATION SECTION
*SMF49SBS 2 15 BI ;SUBSYSTEM IDENTIFIER
* X'0002' JES2
* X'0005' JES3
* X'0006' SS06
SMF49RSV 2 17 BI ;RESV
SMF49LRR 2 19 BI ;LGTH OF REMAINDER OF RECORD
* (NOT INCLUDING THIS FIELD)
SMF49SBG 1 CH ;SUBSYSTEM SECTION BEGINNING
REDEFINE AT SMF49SBG
**
JES2 AND JES3 SECTION
*S
MF49EVT 2 21 BI ;EVENT STARTING
* FOLLOWING BIT DEFINITIONS APPLY TO JES2
*SMF49SON EQU 1 SIGNON
*SMF49STL EQU 2 START LINE
* FOLLOWING BIT DEFINITIONS APPLY TO JES3
*SMF49NER EQU 1 TERMINAL NOT DEFINED (BSC)
*SMF49PER EQU 2 INVALID PASSWORD (BSC)
*SMF49LER EQU 4 LINE ALREADY SIGNED ON (BSC)
*SMF49TER EQU 8 TERMINAL ALREADY SIGNED ON (BSC)
*SMF49LIM EQU 16 SESSION LIMIT EXCEEDED (SNA)
*SMF49DEF EQU 32 WORK STATION UNDEFINED (SNA)
*SMF49SPW EQU 64 INVALID PASSWORD (SNA)
*SMF49BND EQU 128 BIND FAILURE (SNA)
**
BEGINNING OF GENERAL SECTION
*SMF49LN1 2 23 BI ;LGTH OF THIS SECTION (INCLUDING SELF-26)
![Page 180: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/180.jpg)
DYSMF49 COPY Function
1–172 SMF/RMF Reporting Guide
SMF49RMT 8 25 CH ;REMOTE NAME
SMF49LIN 8 33 CH ;LINE NAME
SMF49PSW 8 41 CH ;PASSWORD USED (INVALID)
* BEGINNING OF SIGNON MESSAGE SECTION
*
* THIS SECTION EXISTS ONLY FOR SIGNON EVENT STARTS
SMF49LN2 2 49 BI ;LGTH OF THIS SECTION (INCLUDING SELF-38)
SMF49MSG 36 51 CH ;MESSAGE FOR SIGNON, COLUMNS 35-70 OF
* SIGNON CARD.
SMF49END 1 87 BI ;END OF JES3 RECORD
REDEFINE AT SMF49END
*SMF49SIZ DS 0XL `(SMF49END-SMFRCD49) SIZE OF JES3 49 RECORD
* COMPLEX EXPRESSION.
SMF49SIZ 1 87 BI ;SIZE OF JES3 49 RECORD
REDEFINE AT SMF49SIZ
REDEFINE AT SMF49SBG
* SS06 SECTION
SMF49VID 3 21 BI ;VIOLATOR IDENTIFICATION
SMF49LNA 3 24 BI ;LIBRARY NUMBER OR ACCESSED LIBRARY
SMF49RV1 2 27 BI ;RESERVED
SMF49FLN 12 29 CH ;FILENAME OF FILE ATTEMPTED
SMF49UFO 3 41 BI ;USER NUMBER OF FILE OWNER
![Page 181: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/181.jpg)
DYSMF52 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–173
DYSMF52 COPY Function The DYSMF52 COPY function can be used to print SMF type 52 records in two report formats — a long format and a short format. SMF type 52 records contain information that is pertinent to JES2 LOGON/START LINE. The examples for DYSMF52 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF52 Record Definition COPYLIB(SMF52REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF52 COPY Parameters
Twelve parameters can be varied in the DYSMF52 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 182: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/182.jpg)
DYSMF52 COPY Function
1–174 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF52SID SMF52DTE SMF52TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF52 COPY Function
DYSMF52 COPY Function: Example 1
Print all type 52 records with SMF buffer date and time that are between the dates of 07/05/06 and 07/10/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF52LNG ;RECORD LENGTH
STATUS SMF52EOF ;END-OF-FILE
COPY DYSMF52 #1="'07/05/06'" #3="'07/10/06'"
#5='SMF52DTE SMF52TME'
#L=YES #S=NULL #X=YES
FIN
![Page 183: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/183.jpg)
DYSMF52 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–175
DYSMF52 COPY Function: Example 2
Print all type 52 records where the SMF buffer date is between 07/05/06 and 07/10/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF52LNG ;RECORD LENGTH
STATUS SMF52EOF ;END-OF-FILE
COPY DYSMF52 #1="'07/05/06'" #3="'07/10/06'"
#5='SMF52DTE SMF52TME'
#L=NULL #S=YES #X=YES
FIN
DYSMF52 Long Formatted Report
10/05/06 13.48.29 SMF RECORD 52 LONG REPORT JES2 LOGON/START LINE PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 22:00:10.09 DATE RECORD WAS MOVED TO SMF BUFFER 07/08/06
SYSTEM IDENTIFICATION DVR78
OFFSET TO PRODUCT SECTION 30 LENGTH OF PRODUCT SECTION 8
NUMBER OF PRODUCT SECTIONS 1
OFFSET TO ID SECTION 38 LENGTH OF ID SECTION 24
NUMBER OF ID SECTIONS 1
PRODUCT SECTION
***************
EVENT ID $S LNE(N) SUBSYSTEM NAME JES2
RECORD VERSION NUMBER 01
IDENTIFICATION SECTION
**********************
REMOTE NAME
LINE NAME LNE1
LINE PASSWORD
************************************************************************************************************************
HEADER SECTION
**************
![Page 184: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/184.jpg)
DYSMF52 COPY Function
1–176 SMF/RMF Reporting Guide
TIME RECORD WAS MOVED TO SMF BUFFER 22:00:10.09 DATE RECORD WAS MOVED TO SMF BUFFER 07/08/06
SYSTEM IDENTIFICATION DVR78
OFFSET TO PRODUCT SECTION 30 LENGTH OF PRODUCT SECTION 8
NUMBER OF PRODUCT SECTIONS 1
OFFSET TO ID SECTION 38 LENGTH OF ID SECTION 24
NUMBER OF ID SECTIONS 1
PRODUCT SECTION
***************
EVENT ID $S LNE(N) SUBSYSTEM NAME JES2
RECORD VERSION NUMBER 01
IDENTIFICATION SECTION
**********************
REMOTE NAME
LINE NAME LNE2
LINE PASSWORD
************************************************************************************************************************
10/05/06 13.48.29 SMF RECORD 52 LONG REPORT JES2 LOGON/START LINE PAGE 2
NUMBER OF RECORDS PRINTED: 2
DYSMF52 Short Formatted Report
10/05/06 13.47.15 SMF RECORD 52 SHORT REPORT JES2 LOGON/START LINE PAGE 1
TIME DATE SYSTEM NUMBER NUMBER OF
RECORD RECORD ID OF PRODUCT IDENTIFICATION
WRITTEN WRITTEN SECTIONS SECTIONS
-----------------------------------------------------------------------------------------------------------------
22:00:10.09 07/08/06 DVR78 1 1
22:00:10.09 07/08/06 DVR78 1 1
NUMBER OF RECORDS PRINTED: 2
![Page 185: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/185.jpg)
DYSMF52 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–177
DYSMF52 Record Definition COPYLIB(SMF52REC)
SMFRCD52 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD52
SMF52PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF52PTR
*********************************************************
* R E C O R D: SMF52REC *
* *
* R E C O R D T Y P E 52 (34) *
* J E S 2 L O G O N / S T A R T L I N E (SNA) *
* *
*********************************************************
*----- BEGINNING OF JMR OR HASP SMF RECORD -------------*
SMF52FLG 1 1 BI ;HEADER FLAG BYTE
SMF52RTY 1 2 BI ;RECORD TYPE
SMF52TME 4 3 BI ;TOD, USING FORMAT FROM TIME
SMF52DTE 4 7 PD ;DATE IN PACKD DECIMAL FORM
SMF52SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- HEADER FOR HASP SUBSYSTEM RECORD TYPE 52 --------*
* SMFJ52 EQU 52 ;RECORD TYPE SNA START EVENT
SMF52POF 2 15 BI ;OFFSET TO PRODUCT SECTION
SMF52PRL 2 17 BI ;LENGTH OF PRODUCT SECTION
SMF52PRN 2 19 BI ;NUMBER OF PRODUCT SECTION
SMF52IDO 2 21 BI ;OFFSET TO ID SECTION
SMF52IDL 2 23 BI ;LENGTH OF ID SECTION
SMF52IDN 2 25 BI ;NUMBER OF ID SECTION
*----- PRODUCT SECTION HASP SUBSYSTEM RECORD TYPES 52 --*
SMF52SUB 2 27 BI ;SUBTYPE ID NUMBER
* SMF52LON EQU 1 ;LOGON EVENT
* SMF52SLN EQU 2 ;START LINE EVENT
SMF52VER 2 29 CH ;RECORD VERSION NUMBER
SMF52SYS 4 31 CH ;SUBSYSTEM NAME
![Page 186: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/186.jpg)
DYSMF53 COPY Function
1–178 SMF/RMF Reporting Guide
DYSMF53 COPY Function The DYSMF53 COPY function can be used to print SMF type 53 records in two report formats — a long format and a short format. SMF type 53 records contain information that is pertinent to JES2 LOGOFF/STOP LINE. The examples for DYSMF53 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF53 Record Definition COPYLIB(SMF53REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF53 COPY Parameters
Twelve parameters can be varied in the DYSMF53 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 187: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/187.jpg)
DYSMF53 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–179
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF53SID SMF53DTE SMF53TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF53 COPY Function
DYSMF53 COPY Function: Example 1
Print all type 53 records with SMF buffer date and time that are between the dates of 07/05/06 and 07/10/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF53LNG ;RECORD LENGTH
STATUS SMF53EOF ;END-OF-FILE
COPY DYSMF53 #1="'07/05/06'" #3="'07/10/06'"
#5='SMF53DTE SMF53TME'
#L=YES #S=NULL #X=YES
FIN
![Page 188: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/188.jpg)
DYSMF53 COPY Function
1–180 SMF/RMF Reporting Guide
DYSMF53 COPY Function: Example 2
Print all type 53 records where the SMF buffer date is between 07/05/06 and 07/10/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF53LNG ;RECORD LENGTH
STATUS SMF53EOF ;END-OF-FILE
COPY DYSMF53 #1="'07/05/06'" #3="'07/10/06'"
#5='SMF53DTE SMF53TME'
#L=NULL #S=YES #X=YES
FIN
DYSMF53 Long Formatted Report
10/05/06 13.08.01 SMF RECORD 53 LONG REPORT JES2 LOGOFF/STOP LINE PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 21:59:03.00 DATE RECORD WAS MOVED TO SMF BUFFER 07/08/06
SYSTEM IDENTIFICATION DVR78
OFFSET TO PRODUCT SECTION 30 LENGTH OF PRODUCT SECTION 8
NUMBER OF PRODUCT SECTIONS 1
OFFSET TO ID SECTION 38 LENGTH OF ID SECTION 47
NUMBER OF ID SECTIONS 1
PRODUCT SECTION
***************
SUBTYPE ID $P LNE(N) SUBSYSTEM NAME JES2
RECORD VERSION NUMBER 01
IDENTIFICATION SECTION
**********************
REMOTE NAME
LINE PASSWORD NUMBER OF VTAM REQUEST PROCESSED
NUMBER OF EXCEPTION RESPONSES NUMBER OF LUSTATS RECEIVED
NUMBER OF BID REJECTS NUMBER OF TEMPORARY ERRORS
LINE IDENTIFIER SNA
************************************************************************************************************************
![Page 189: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/189.jpg)
DYSMF53 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–181
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 21:59:03.00 DATE RECORD WAS MOVED TO SMF BUFFER 07/08/06
SYSTEM IDENTIFICATION DVR78
OFFSET TO PRODUCT SECTION 30 LENGTH OF PRODUCT SECTION 8
NUMBER OF PRODUCT SECTIONS 1
OFFSET TO ID SECTION 38 LENGTH OF ID SECTION 47
NUMBER OF ID SECTIONS 1
PRODUCT SECTION
***************
SUBTYPE ID $P LNE(N) SUBSYSTEM NAME JES2
RECORD VERSION NUMBER 01
IDENTIFICATION SECTION
**********************
REMOTE NAME
LINE PASSWORD NUMBER OF VTAM REQUEST PROCESSED
NUMBER OF EXCEPTION RESPONSES NUMBER OF LUSTATS RECEIVED
NUMBER OF BID REJECTS NUMBER OF TEMPORARY ERRORS
LINE IDENTIFIER SNA
************************************************************************************************************************
DYSMF53 Short Formatted Report
10/05/06 13.07.24 SMF RECORD 53 SHORT REPORT JES2 LOGOFF/STOP LINE PAGE 1
TIME DATE SYSTEM NUMBER NUMBER OF
RECORD RECORD ID OF PRODUCT IDENTIFICATION
WRITTEN WRITTEN SECTIONS SECTIONS
-----------------------------------------------------------------------------------------------------------------
21:59:03.00 07/08/06 DVR78 1 1
21:59:03.00 07/08/06 DVR78 1 1
NUMBER OF RECORDS PRINTED: 2
![Page 190: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/190.jpg)
DYSMF53 COPY Function
1–182 SMF/RMF Reporting Guide
DYSMF53 Record Definition COPYLIB(SMF53REC)
SMFRCD53 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD53
SMF53PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF53PTR
*********************************************************
* R E C O R D: SMF53REC *
* *
* R E C O R D T Y P E 53 (35) *
* J E S 2 L O G O F F / S T O P L I N E (SNA) *
* *
*********************************************************
*----- BEGINNING OF JMR OR HASP SMF RECORD -------------*
SMF53FLG 1 1 BI ;HEADER FLAG BYTE
SMF53RTY 1 2 BI ;RECORD TYPE
SMF53TME 4 3 BI ;TOD, USING FORMAT FROM TIME
SMF53DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
SMF53SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- HEADER FOR HASP SUBSYSTEM RECORD TYPE 53 --------*
* SMFJ53 EQU 53 ;RECORD TYPE SNA STOP EVENT
SMF53PRD 2 15 BI ;OFFSET TO PRODUCT SECTION
SMF53PRL 2 17 BI ;LENGTH OF PRODUCT SECTION
SMF53PRN 2 19 BI ;NUMBER OF PRODUCT SECTION
SMF53IDO 2 21 BI ;OFFSET TO ID SECTION
SMF53IDL 2 23 BI ;LENGTH OF ID SECTION
SMF53IDN 2 25 BI ;NUMBER OF ID SECTION
*----- PRODUCT SECTION HASP SUBSYSTEM RECORD TYPE 53 ---*
*----- THE FOLLOWING EQUATES APPLY TO RECORD TYPE 53 ---*
SMF53SUB 2 27 BI ;SUBTYPE ID NUMBER
* SMF53LOF EQU 1 ;LOGOFF EVENT
* SMF53PLN EQU 2 ;STOP LINE EVENT
SMF53VER 2 29 CH ;RECORD VERSION NUMBER
SMF53SYS 4 31 CH ;SUBSYSTEM NAME
![Page 191: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/191.jpg)
DYSMF54 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–183
DYSMF54 COPY Function The DYSMF54 COPY function can be used to print SMF type 54 records in two report formats — a long format and a short format. SMF type 54 records contain information that is pertinent to JES2 INTEGRITY (SNA only). The examples for DYSMF54 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF54 Record Definition COPYLIB(SMF54REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, job number, SYSOUT class, SYSOUT start date, and SYSOUT start time.
DYSMF54 COPY Parameters
Twelve parameters can be varied in the DYSMF54 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 192: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/192.jpg)
DYSMF54 COPY Function
1–184 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF54SID SMF54DTE SMF54TME”.
For example, if you want to sort on the two fields, SMF54SID and SMF54SYS, you can specify #5 as equal to “SMF54SID SMF54SYS”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF54SID, SMF54DTE, SMF54TME, and SMF54RMT, you can specify #5 as equal to “SMF54SID SMF54DTE SMF54TME” and #6 as equal to “SMF54RMT”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF54SID, SMF54DTE, SMF54TME, SMF54SUB, SMF54SYS, SMF54RMT, and SMF54RPW, you can override all three parameters by specifying #5 as equal to “SMF54SID SMF54DTE SMF54TME”, #6 as equal to “SMF54SUB SMF54SYS SMF54RMT”, and #7 as equal to “SMF54RPW”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 193: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/193.jpg)
DYSMF54 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–185
Invoking the DYSMF54 COPY Function
DYSMF54 COPY Function: Example 1
Print all records with SMF buffer date and time between 00:05 A.M. and 1:05 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF54LNG ;RECORD LENGTH
STATUS SMF54FIN ;END OF FILE
COPY SMF54REC
COPY DYSMF54 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'01:05:00'”
#L=YES #S=NULL
FIN
DYSMF54 COPY Function: Example 2
Print all records regardless of date and time in system identification (SMF54SID), SMF buffer date (SMF54DTE), and SMF buffer time (SMF54TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF54LNG ;RECORD LENGTH
STATUS SMF54FIN ;END OF FILE
COPY SMF54REC
COPY DYSMF54 #5='SMF54SID SMF54DTE SMF54TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF54REC statement and the COPY DYSMF54 statement. For instance, in the example shown above the following code:
IF SMF54SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 194: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/194.jpg)
DYSMF54 COPY Function
1–186 SMF/RMF Reporting Guide
DYSMF54 Short Formatted Report
08/10/97 10.12.36 SMF RECORD 54 SHORT REPORT JES2 INTEGRITY (SNA) PAGE 1
SYSTEM SMF BUFFER SMF BUFFER NUMBER OF NUMBER OF
ID TIME DATE PRODUCT SECTIONS IDENTIFICATION SECTIONS
---------------------------------------------------------------------------------------------------------
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
BEP1 00:09:06.03 08/04/97 1 1
NUMBER OF RECORDS PRINTED: 10
DYSMF54 Long Formatted Report
08/10/97 10.13.05 SMF RECORD 54 LONG REPORT JES2 INTEGRITY (SNA) PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1
TOD RECORD WRITTEN 00:09:06.03 DATE RECORD WRITTEN 08/04/97
OFFSET TO PRODUCT SECTION 30 LENGTH OF PRODUCT SECTION 8
NUMBER OF PRODUCT SECTIONS 1
OFFSET TO IDENTIFICATION SECTION 38 LENGTH OF IDENTIFICATION SECTION 96
NUMBER OF IDENTIFICATION SECTIONS 1
PRODUCT SECTION
***************
SUBTYPE ID 1 SUBSYSTEM NAME, <<JES2>> RM
RECORD VERSION NUMBER 0
IDENTIFICATION SECTION
**********************
REMOTE NAME RMF REMOTE PASSWORD SP3.1.3
LINE PASSWORD IEAIPS01
***************************************************************************************************************
![Page 195: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/195.jpg)
DYSMF54 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–187
DYSMF54 Record Definition COPYLIB(SMF54REC)
SMFRCD54 1 CH ;START OF RECORD
REDEFINE AT SMFRCD54
SMF54PTR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF54PTR
* BEGINNING OF JMR OR HASP SMF RECORD
SMF54FLG 1 1 BI ;HEADER FLAG BYTE
SMF54RTY 1 2 BI ;RECORD TYPE
SMF54TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO
SMF54DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM 00YYDDDF
SMF54SID 4 11 CH ;SYSTEM IDENTIFICATION
* HEADER FOR HASP SUBSYSTEM RECORD TYPES 54
*S MFJ54 EQU 54 SPOOL INTEGRITY EVENT REC
SMF54POF 2 15 BI ;OFFSET TO PRODUCT SECTION
SMF54PRL 2 17 BI ;LENGTH OF PRODUCT SECTION
SMF54PRN 2 19 BI ;NUMBER OF PRODUCT SECTION
SMF54IDO 2 21 BI ;OFFSET TO ID SECTION
SMF54IDL 2 23 BI ;LENGTH OF ID SECTION
SMF54IDN 2 25 BI ;NUMBER OF ID SECTION
* PRODUCT SECTION HASP SUBSYSTEM RECORD TYPE 54
SMF54SUB 2 27 BI ;SUBTYPE ID NUMBER
*SMF54LON EQU 1 LOGON EVENT
SMF54VER 2 29 CH ;RECORD VERSION NUMBER
SMF54SYS 4 31 CH ;SUBSYSTEM NAME
SMF54IDS 1 35 CH ;DEFINE START OF ID SECTION
REDEFINE AT SMF54IDS
* ID SECTION OF HASP 54 (SNA) INTEGRITY RECORD AFTER TWO HDRS
SMF54RMT 8 35 CH ;REMOTE NAME
SMF54RPW 8 43 CH ;REMOTE PASSWORD
SMF54PSW 8 51 CH ;LINE PASSWORD
SMF54END 1 59 CH ;END OF TYPE 54 RECORD
![Page 196: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/196.jpg)
DYSMF55 COPY Function
1–188 SMF/RMF Reporting Guide
DYSMF55 COPY Function The DYSMF55 COPY function can be used to print SMF type 55 records in two report formats — a long format and a short format. SMF type 55 records contain information that is pertinent to JES2 NETWORK SIGNON. The examples for DYSMF55 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF55 Record Definition COPYLIB(SMF55REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF55 COPY Parameters
Twelve parameters can be varied in the DYSMF55 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 197: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/197.jpg)
DYSMF55 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–189
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF55SID SMF55DTE SMF55TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF55 COPY Function
DYSMF55 COPY Function: Example 1
Print all type 55 records with SMF buffer date and time that are between the dates of 07/05/06 and 07/31/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF55LNG ;RECORD LENGTH
STATUS SMF55EOF ;END-OF-FILE
COPY DYSMF55 #1="'07/05/06'" #3="'07/31/06'"
#5='SMF55DTE SMF55TME'
#L=YES #S=NULL #X=YES
FIN
![Page 198: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/198.jpg)
DYSMF55 COPY Function
1–190 SMF/RMF Reporting Guide
DYSMF55 COPY Function: Example 2
Print all type 55 records where the SMF buffer date is between 07/05/06 and 07/28/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF55LNG ;RECORD LENGTH
STATUS SMF55EOF ;END-OF-FILE
COPY DYSMF55 #1="'07/05/06'" #3="'07/28/06'"
#5='SMF55DTE SMF55TME'
#L=NULL #S=YES #X=YES
FIN
DYSMF55 Long Formatted Report
10/05/2006 12.35.49 SMF RECORD 55 LONG REPORT JES2 NETWORK SIGNON PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 23:25:18.18 DATE RECORD WAS MOVED TO SMF BUFFER 07/08/2006
SYSTEM IDENTIFICATION AVR76
SUB SYSTEM IDENTIFICATION JES2 RECORD SUBTYPE 00000
NODE NAME INTBUS35
MEMBER NUMBER 001 SIGNON STATUS FLAG INITIAL
LINE PASSWORD NODE PASSWORD
LINE NAME LNE98
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 09:52:16.71 DATE RECORD WAS MOVED TO SMF BUFFER 07/18/2006
SYSTEM IDENTIFICATION AVR76
SUB SYSTEM IDENTIFICATION JES2 RECORD SUBTYPE 00000
NODE NAME INTBUS35
MEMBER NUMBER 001 SIGNON STATUS FLAG INITIAL
LINE PASSWORD NODE PASSWORD
LINE NAME LNE98
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 21:28:53.72 DATE RECORD WAS MOVED TO SMF BUFFER 07/28/2006
SYSTEM IDENTIFICATION AVR76
![Page 199: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/199.jpg)
DYSMF55 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–191
SUB SYSTEM IDENTIFICATION JES2 RECORD SUBTYPE 00000
NODE NAME INTBUS35
MEMBER NUMBER 001 SIGNON STATUS FLAG INITIAL
LINE PASSWORD NODE PASSWORD
LINE NAME LNE98
NUMBER OF RECORDS PRINTED: 3
DYSMF55 Short Formatted Report
10/05/2006 12.37.01 SMF RECORD 55 SHORT REPORT JES2 NETWORK SIGNON PAGE 1
TIME DATE SYSTEM SUB SYSTEM RECORD NODE MEMBER SIGN ON LINE NODE LINE
RECORD RECORD ID ID SUBTYPE NAME NUMBER STATUS PASSWORD PASSWORD NAME
WRITTEN WRITTEN
---------------------------------------------------- ------------------------- -----------------------------------
23:25:18.18 07/08/2006 AVR76 JES2 00000 INTBUS35 001 INITIAL LNE98
09:52:16.71 07/18/2006 AVR76 JES2 00000 INTBUS35 001 INITIAL LNE98
21:28:53.72 07/28/2006 AVR76 JES2 00000 INTBUS35 001 INITIAL LNE98
NUMBER OF RECORDS PRINTED: 3
DYSMF55 Record Definition COPYLIB(SMF55REC)
SMFRCD55 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD55
SMF55PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF55PTR
*********************************************************
* R E C O R D: SMF55REC *
* *
* R E C O R D T Y P E 55 (37) *
* J E S 2 N E T W O R K S I G N O N *
* *
*********************************************************
*----- BEGINNING OF JMR OR HASP SMF RECORD -------------*
SMF55FLG 1 1 BI ;HEADER FLAG BYTE
![Page 200: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/200.jpg)
DYSMF56 COPY Function
1–192 SMF/RMF Reporting Guide
SMF55RTY 1 2 BI ;RECORD TYPE
SMF55TME 4 3 BI ;TOD, USING FORMAT FROM TIME
SMF55DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
SMF55SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- HEADER FOR HASP SUBSYS RECORD TYPE 55 -----------*
* SMFJ55 EQU 55 ;NETWORK SIGNON RECORD TYPE
SMF55SBS 2 15 BI ;HASP SUBSYSTEM ID
* SMF55HSP EQU X'0002' ;JES2 ID
SMF55SUB 2 17 BI ;RECORD SUBTYPE
SMF55LRR 2 19 BI ;LENGTH OF REST OF RECORD
DYSMF56 COPY Function The DYSMF56 COPY function can be used to print SMF type 56 records in two report formats — a long format and a short format. SMF type 56 records contain information that is pertinent to JES2 NETWORK SIGNON. An example for DYSMF56 long formatted report is shown in this section.
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF56 COPY Parameters
Twelve parameters can be varied in the DYSMF56 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5, #6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
![Page 201: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/201.jpg)
DYSMF56 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–193
Parameter Description
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF56SID SMF56DTE SMF56TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF56 COPY Function
DYSMF56 COPY Function: Example 1
Print all type 56 records with SMF buffer date and time that are between the dates of 07/05/06 and 07/31/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF56LNG ;RECORD LENGTH
STATUS SMF56EOF ;END-OF-FILE
COPY DYSMF56 #1="'07/05/06'" #3="'07/31/06'"
#5='SMF56DTE SMF56TME'
#L=YES #S=NULL #X=YES
FIN
![Page 202: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/202.jpg)
DYSMF58 COPY Function
1–194 SMF/RMF Reporting Guide
DYSMF58 COPY Function The DYSMF58 COPY function can be used to print SMF type 58 records in two report formats — a long format and a short format. SMF type 58 records contain information that is pertinent to JES2 NETWORK SIGNOFF. The examples for DYSMF58 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF58 Record Definition COPYLIB(SMF58REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF58 COPY Parameters
Twelve parameters can be varied in the DYSMF58 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 203: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/203.jpg)
DYSMF58 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–195
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF58SID SMF58DTE SMF58TME” (system ID, date, and time).
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF58 COPY Function
DYSMF58 COPY Function: Example 1
Print all type 58 records with SMF buffer date and time that are between the dates of 07/05/06 and 07/31/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF58LNG ;RECORD LENGTH
STATUS SMF58EOF ;END-OF-FILE
COPY DYSMF58 #1="'07/05/06'" #3="'07/31/06'"
#5='SMF58DTE SMF58TME'
#L=YES #S=NULL #X=YES
FIN
![Page 204: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/204.jpg)
DYSMF58 COPY Function
1–196 SMF/RMF Reporting Guide
DYSMF58 COPY Function: Example 2
Print all type 58 records where the SMF buffer date is between 07/05/06 and 07/31/06. Print the records using the short format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF58LNG ;RECORD LENGTH
STATUS SMF58EOF ;END-OF-FILE
COPY DYSMF58 #1="'07/05/06'" #3="'07/31/06'"
#5='SMF58DTE SMF58TME'
#L=NULL #S=YES #X=YES
FIN
DYSMF58 Long Formatted Report
09/22/2006 15.39.04 SMF RECORD 58 LONG REPORT JES2 NETWORK SIGNOFF PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 21:59:03.58 DATE RECORD WAS MOVED TO SMF BUFFER 07/08/2006
SYSTEM IDENTIFICATION AVR76
SUB SYSTEM IDENTIFICATION JES2 RECORD SUBTYPE 00000
NODE NAME INTBUS35
MEMBER NUMBER 001 LINE NAME LNE98
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 20:11:08.39 DATE RECORD WAS MOVED TO SMF BUFFER 07/28/2006
SYSTEM IDENTIFICATION AVR76
SUB SYSTEM IDENTIFICATION JES2 RECORD SUBTYPE 00000
NODE NAME INTBUS35
MEMBER NUMBER 001 LINE NAME LNE98
NUMBER OF RECORDS PRINTED: 2
DYSMF58 Short Formatted Report
09/22/2006 15.35.02 SMF RECORD 58 SHORT REPORT JES2 NETWORK SIGNOFF PAGE 1
![Page 205: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/205.jpg)
DYSMF58 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–197
TIME DATE SYSTEM SUB SYSTEM RECORD NODE MEMBER LINE
RECORD RECORD ID ID SUBTYPE NAME NUMBER NAME
WRITTEN WRITTEN
---------------------------------------------------- ------------------------------------
21:59:03.58 07/08/2006 AVR76 JES2 00000 INTBUS35 001 LNE98
20:11:08.39 07/28/2006 AVR76 JES2 00000 INTBUS35 001 LNE98
NUMBER OF RECORDS PRINTED: 2
DYSMF58 Record Definition COPYLIB(SMF58REC)
SMFRCD58 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD58
SMF58PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF58PTR
*********************************************************
* R E C O R D: SMF58REC *
* *
* R E C O R D T Y P E 58 (3A) *
* J E S 2 N E T W O R K S I G N O F F *
* *
*********************************************************
*----- BEGINNING OF JMR OR HASP SMF RECORD -------------*
SMF58FLG 1 1 BI ;HEADER FLAG BYTE
SMF58RTY 1 2 BI ;RECORD TYPE
SMF58TME 4 3 BI ;TOD, USING FORMAT FROM TIME
SMF58DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
SMF58SID 4 11 CH ;SYSTEM IDENTIFICATION
*----- HEADER FOR HASP SUBSYS RECORD TYPE 58 -----------*
* SMFJ58 EQU 58 ;NETWORK SIGNOFF REC TYPE
SMF58SBS 2 15 BI ;HASP SUBSYSTEM ID
* SMF58HSP EQU X'0002' ;JES2 ID
SMF58SUB 2 17 BI ;RECORD SUBTYPE
SMF58LRR 2 19 BI ;LENGTH OF REST OF RECORD
![Page 206: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/206.jpg)
DYSMF60 COPY Function
1–198 SMF/RMF Reporting Guide
DYSMF60 COPY Function The DYSMF60 COPY function can be used to print SMF type 60 records in two report formats — a long format and a short format. SMF type 60 records contain information that is pertinent to VSAM VOLUME DATA SET UPDATED. The examples for DYSMF60 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF60 Record Definition COPYLIB(SMF60REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification, name, and the date and time the record was moved to the SMF buffer.
DYSMF60 COPY Parameters
Twelve parameters can be varied in the DYSMF60 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 207: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/207.jpg)
DYSMF60 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–199
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF60CPU SMF60DTE SMF60TME”.
For example, if you want to sort on the two fields, SMF60CPU and SMF60VER, you can specify #5 as equal to “SMF60CPU SMF60VER”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF60CPU, SMF60DTE, SMF60TME, and SMF60PNM, you can specify #5 as equal to “SMF60CPU SMF60DTE SMF60TME” and #6 as equal to “SMF60PNM”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF60CPU, SMF60DTE, SMF60TME, SMF60SUB, SMF60VER, SMF60PNM, and SMF60JNM, you can override all three parameters by specifying #5 as equal to “SMF60CPU SMF60DTE SMF60TME”, #6 as equal to “SMF60SUB SMF60VER SMF60PNM”, and #7 as equal to “SMF60JNM”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 208: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/208.jpg)
DYSMF60 COPY Function
1–200 SMF/RMF Reporting Guide
Invoking the DYSMF60 COPY Function
DYSMF60 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF60LNG ;RECORD LENGTH
STATUS SMF60FIN ;END OF FILE
COPY SMF60REC
COPY DYSMF60 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF60 COPY Function: Example 2
Print all records regardless of date and time in system identification (SMF60CPU), SMF buffer date (SMF60DTE), and SMF buffer time (SMF60TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF60LNG ;RECORD LENGTH
STATUS SMF60FIN ;END OF FILE
COPY SMF60REC
COPY DYSMF60 #5='SMF60CPU SMF60DTE SMF60TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF60REC statement and the COPY DYSMF60 statement. For instance, in the example shown above the following code:
IF SMF60CPU NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 209: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/209.jpg)
DYSMF60 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–201
DYSMF60 Short Formatted Report
08/10/97 16.42.20 SMF RECORD 60 VSAM VOLUME DATA SET UPDATED SHORT REPORT PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:03.75 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION RECORD SUBTYPE VVR IS UPDATED SYSTEM ID FROM INSTALLATION IPO1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
************
JOBNAME IEESYSAS
CATALOG DATA SET NAME SYS1.VVDS.VSYSLB1
DATA SET NAME, OLD NAME IF RENAMED SYS1.MAN1.DATA
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:48.82 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION RECORD SUBTYPE VVR IS UPDATED SYSTEM ID FROM INSTALLATION IPO1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
************
JOBNAME SMFDUMP1
CATALOG DATA SET NAME SYS1.VVDS.VSYSLB1
DATA SET NAME, OLD NAME IF RENAMED SYS1.MAN1.DATA
![Page 210: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/210.jpg)
DYSMF60 COPY Function
1–202 SMF/RMF Reporting Guide
DYSMF60 Long Formatted Report
08/10/97 16.41.14 SMF RECORD 60 VSAM VOLUME DATA SET UPDATED LONG REPORT PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:03.75 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION RECORD SUBTYPE VVR IS UPDATED SYSTEM ID FROM INSTALLATION IPO1
OFFSET TO PRODUCT SECTION 40 LENGTH OF PRODUCT SECTION 10
NUMBER OF PRODUCT SECTIONS 1
OFFSET OF DATA SECTION 50 LENGTH OF DATA SECTION 158
NUMBER OF DATA SECTION 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
************
JOBNAME IEESYSAS READER START TIMER (.01 SEC) 09:36:53.91
READER START DATE 08/04/97 USER IDENTIFICATION FIELD
FUNCTION INDICATOR NO INFORMATION
CATALOG DATA SET NAME SYS1.VVDS.VSYSLB1
ENTRY TYPE D
ENTRY TYPE DATA SET
DATA SET NAME, OLD NAME IF RENAMED SYS1.MAN1.DATA
NEW DATA SET NAME IF RENAMED
![Page 211: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/211.jpg)
DYSMF60 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–203
DYSMF60 Record Definition COPYLIB(SMF60REC)
SMFRCD60 1 CH ;SMF RECORD 60
REDEFINE AT SMFRCD60
SMF60HDR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF60HDR
SMF60SYS 1 1 BI ;HEADER FLAG BYTE
SMF60RTY 1 2 BI ;RECORD TYPE 60
SMF60TME 4 3 BI ;TOD, USING FORMAT FROM TIME
* MACRO WITH BIN INTERVAL
SMF60DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
* 00YYDDDF (F IS THE SIGN)
SMF60CPU 4 11 CH ;SYSTEM IDENTIFICATION
SMF60SBS 4 15 CH ;SUBSYSTEM ID (NOT USED)
SMF60SUB 2 19 CH ;RECORD SUBTYPE
SMF60SLF 1 CH ;SELF-DEFINING SECTION
REDEFINE AT SMF60SLF
SMF60POF 4 21 BI ;OFFSET TO PRODUCT SECTION
SMF60PLN 2 25 BI ;LENGTH OF PRODUCT SECTION
SMF60PNO 2 27 BI ;NUMBER OF PRODUCT SECTIONS
SMF60DOF 4 29 BI ;OFFSET TO DATA SECTION
SMF60DLN 2 33 BI ;LENGTH OF DATA SECTION
SMF60DNO 2 35 BI ;NUMBER OF DATA SECTIONS
SMF60PRD 1 CH ;PRODUCT SECTION
REDEFINE AT SMF60PRD
SMF60VER 2 37 CH ;PRODUCT VERSION
SMF60PNM 8 39 CH ;PRODUCT NAME
SMF60DAT 1 CH ;DATA SECTION
REDEFINE AT SMF60DAT
SMF60JNM 8 47 CH ;JOBNAME
SMF60RST 4 55 BI ;READER START TIMER (.01 SEC)
SMF60RDT 4 59 PD ;READER START DATE
SMF60UID 8 63 CH ;USER IDENTIFICATION FIELD
SMF60FNC 1 71 CH FUNCTION INDICATOR
* MEANING WHEN SET
* 'U' — ENTRY UNCATALOGED
* 'S' — ENTRY UNCATALOGED & SCRATCHED
* 'R' — ENTRY RENAMED
SMF60CNM 44 72 CH ;CATALOG DATA SET NAME
SMF60TYP 1 116 CH ;ENTRY TYPE
SMF60ENM 44 117 CH ;DATA SET NAME (OLD NAME IF RENAMED)
SMF60NNM 44 161 CH ;NEW DATA SET NAME IF RENAMED
SMF60END 1 CH ;END OF SMF RECORD 60 FIXED FIELDS
REDEFINE AT SMF60END
SMF60CRC 1 205 CH ;VSAM VOLUME RECORD
REDEFINE AT SMF60CRC
![Page 212: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/212.jpg)
DYSMF61 COPY Function
1–204 SMF/RMF Reporting Guide
DYSMF61 COPY Function The DYSMF61 COPY function can be used to print SMF type 61 records in two report formats — a long format and a short format. SMF type 61 records contain information that is pertinent to INTEGRATED CATALOG FACILITY DEFINE ACTIVITY. The examples for DYSMF61 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF61 Record Definition COPYLIB(SMF61REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF61 COPY Parameters
Twelve parameters can be varied in the DYSMF61 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records.
Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 213: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/213.jpg)
DYSMF61 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–205
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF61SID SMF61DTE SMF61TME”.
For example, if you want to sort on the two fields, SMF61SID and SMF61VER, you can specify #5 as equal to “SMF61SID SMF61VER”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF61SID, SMF61DTE, SMF61TME, and SMF61PNM, you can specify #5 as equal to “SMF61SID SMF61DTE SMF61TME” and #6 as equal to “SMF61PNM”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF61SID, SMF61DTE, SMF61TME, SMF61SUB, SMF61VER, SMF61PNM, and SMF61JNM, you can override all three parameters by specifying #5 as equal to “SMF61SID SMF61DTE SMF61TME”, #6 as equal to “SMF61SUB SMF61VER SMF61PNM”, and #7 as equal to “SMF61JNM”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 214: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/214.jpg)
DYSMF61 COPY Function
1–206 SMF/RMF Reporting Guide
Invoking the DYSMF61 COPY Function
DYSMF61 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF61LNG ;RECORD LENGTH
STATUS SMF61FIN ;END OF FILE
COPY SMF61REC
COPY DYSMF61 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF61 COPY Function: Example 2
Print all records regardless of date and time in system identification (SMF61SID), SMF buffer date (SMF61DTE), and SMF buffer time (SMF61TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF61LNG ;RECORD LENGTH
STATUS SMF61FIN ;END OF FILE
COPY SMF61REC
COPY DYSMF61 #5='SMF61SID SMF61DTE SMF61TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF61REC statement and the COPY DYSMF61 statement. For instance, in the example shown above the following code:
IF SMF61SID NE 'IP'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 215: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/215.jpg)
DYSMF61 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–207
DYSMF61 Short Formatted Report
08/10/97 17.03.14 SMF RECORD 61 ICF DEFINE ACTIVITY SHORT REPORT PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:46.90 DATE RECORD WRITTEN 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
VVR INFORMATION VVR IS UPDATED
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
************
JOBNAME EM9004C
CATALOG DATA SET NAME ICFCAT.VSTR001
DS NAME (OLD NAME IF RENAMED) NP1B0100.RR.CROSSSET.EOMDATEW.G0005V00
HEADER SECTION
**************
TOD RECORD WRITTEN 14:20:02.50 DATE RECORD WRITTEN 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
VVR INFORMATION VVR IS UPDATED
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
************
JOBNAME EM9004P
CATALOG DATA SET NAME ICFCAT.VSTR001
DS NAME (OLD NAME IF RENAMED) NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00
![Page 216: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/216.jpg)
DYSMF61 COPY Function
1–208 SMF/RMF Reporting Guide
DYSMF61 Long Formatted Report
08/10/97 17.06.57 SMF RECORD 61 ICF DEFINE ACTIVITY LONG REPORT PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:46.90 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
OFFSET TO PRODUCT SECTION 40 LENGTH OF PRODUCT SECTION 10
NUMBER OF PRODUCT SECTIONS 1
OFFSET OF DATA SECTION 50 LENGTH OF DATA SECTION 158
NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
************
JOBNAME EM9004C READER START TIMER (.01 SEC) 14:19:45.60
READER START DATE 08/04/97 USER IDENTIFICATION FIELD
CATALOG DATA SET NAME ICFCAT.VSTR001
ENTRY TYPE H
ENTRY TYPE NO INFORMATION
DS NAME (OLD NAME IF RENAMED) NP1B0100.RR.CROSSSET.EOMDATEW.G0005V00
NEW DATA SET NAME IF RENAMED
![Page 217: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/217.jpg)
DYSMF61 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–209
DYSMF61 Record Definition COPYLIB(SMF61REC)
SMFRCD61 1 CH ;SMF RECORD 61
REDEFINE AT SMFRCD61
SMF61HDR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF61HDR
SMF61SYS 1 1 BI ;HEADER FLAG BYTE
SMF61RTY 1 2 BI ;RECORD TYPE 61
SMF61TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL.
SMF61DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM: 00YYDDDF
SMF61SID 2 11 CH ;SYSTEM IDENTIFICATION
SMF61MOD 2 13 CH ;SYSTEM MODEL IDENTIFIER
SMF61SBS 4 15 CH ;SUBSYSTEM ID (NOT USED)
SMF61SUB 2 19 CH ;RECORD SUBTYPE
SMF61SLF 1 CH ;SELF-DEFINING SECTION
REDEFINE AT SMF61SLF
SMF61POF 4 21 BI ;OFFSET TO PRODUCT SECTION
SMF61PLN 2 25 BI ;LENGTH OF PRODUCT SECTION
SMF61PNO 2 27 BI ;NUMBER OF PRODUCT SECTIONS
SMF61DOF 4 29 BI ;OFFSET TO DATA SECTION
SMF61DLN 2 33 BI ;LENGTH OF DATA SECTION
SMF61DNO 2 35 BI ;NUMBER OF DATA SECTIONS
SMF61PRD 1 CH ;PRODUCT SECTION
REDEFINE AT SMF61PRD
SMF61VER 2 37 CH ;PRODUCT VERSION
SMF61PNM 8 39 CH ;PRODUCT NAME
SMF61DAT 1 CH ;DATA SECTION
REDEFINE AT SMF61DAT
SMF61JNM 8 47 CH ;JOBNAME
SMF61RST 4 55 BI ;READER START TIME (IN 100THS SECONDS)
SMF61RDT 4 59 PD ;READER START DATE
SMF61UID 8 63 CH ;USER IDENTIFICATION FIELD
SMF61FNC 1 71 BI ;FUNCTION INDICATOR (NOT USED)
SMF61CNM 44 72 CH ;NAME OF CATALOG IN WHICH ENTRY IS DEFINED
SMF61TYP 1 116 BI ;TYPE OF ENTRY
SMF61ENM 44 117 CH ;ENTRY NAME
SMF61NNM 44 161 CH ;NEW ENTRY NAME (NOT USED)
SMF61END 1 CH ;END SMF RECORD 61 FIXED FIELDS
REDEFINE AT SMF61END
SMF61CRC 1 205 CH ;CATALOG RECORD
REDEFINE AT SMF61CRC
![Page 218: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/218.jpg)
DYSMF62 COPY Function
1–210 SMF/RMF Reporting Guide
DYSMF62 COPY Function The DYSMF62 COPY function can be used to print SMF type 62 records in two report formats — a long format and a short format. SMF type 62 records contain information that is pertinent to VSAM COMPONENT OR CLUSTER OPENED. The examples for DYSMF62 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF62 Record Definition COPYLIB(SMF62REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF62 COPY Parameters
Twelve parameters can be varied in the DYSMF62 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 219: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/219.jpg)
DYSMF62 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–211
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF62JBN SMF62DTE SMF62TME”.
For example, if you want to sort on the two fields, SMF62SID and SMF62UIF, you can specify #5 as equal to “SMF62SID SMF62UIF”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF62SID, SMF62DTE, SMF62TME, and SMF62CVS, you can specify #5 as equal to “SMF62SID SMF62DTE SMF62TME” and #6 as equal to “SMF62CVS”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF62SID, SMF62DTE, SMF62TME, SMF62JBN, SMF62UIF, SMF62CVS, and SMF62VCT, you can override all three parameters by specifying #5 as equal to “SMF62SID SMF62DTE SMF62TME”, #6 as equal to “SMF62JBN SMF62UIF SMF62CVS”, and #7 as equal to “SMF62VCT”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 220: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/220.jpg)
DYSMF62 COPY Function
1–212 SMF/RMF Reporting Guide
Invoking the DYSMF62 COPY Function
DYSMF62 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF62LNG ;RECORD LENGTH
STATUS SMF62FIN ;END OF FILE
COPY SMF62REC
COPY DYSMF62 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF62 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF62JBN), SMF buffer date (SMF62DTE), and SMF buffer time (SMF62TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF62LNG ;RECORD LENGTH
STATUS SMF62FIN ;END OF FILE
COPY SMF62REC
COPY DYSMF62 #5='SMF62JBN SMF62DTE SMF62TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF62REC statement and the COPY DYSMF62 statement. For instance, in the example shown above the following code:
IF SMF62JBN NE 'CICSTST3'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 221: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/221.jpg)
DYSMF62 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–213
DYSMF62 Short Formatted Report
08/10/97 14.28.18 SMF RECORD 62 - VSAM COMPONENT OR CLUSTER OPENED SHORT REPORT PAGE 1
JOB OPEN NAME OF CAT./ VOL. DATE TIME DATE TIME
NAME STATUS COMP .OR CLUSTER SERIAL RDR RDR RECORD RECORD
NUMBER RECOG. RECOG. MOVED MOVED
JOB JOB TO TO
CARD CARD BUFFER BUFFER
CICSTST3 SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:12
VT1I0200.AS.VSAMFILE.C01IDX1
SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:13
VT1I0200.AS.VSAMFILE.C01I
SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:13
VT1I0200.AS.VSAMFILE.C01IDX
SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:14
VT1I0200.AS.VSAMFILE.C02U
SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:14
VT1I0200.AS.VSAMFILE.C02IDX
SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:14
VT1I0200.AS.VSAMFILE.C02IDX1
SUCCESSFULLY OPENED ICFCAT.VSTR001 STR001 08/04/97 12:56:14 08/04/97 14:24:15
VT1I0200.AS.VSAMFILE.C02IDX2
SMFDUMP1 SUCCESSFULLY OPENED ICFCAT.MASTER1 SYSLB1 08/04/97 14:19:16 08/04/97 14:19:17
SYS1.MAN1
SUCCESSFULLY OPENED ICFCAT.MASTER1 SYSLB1 08/04/97 14:19:16 08/04/97 14:19:49
SYS1.MAN1
T109P09 SUCCESSFULLY OPENED ICFCAT.VCIC001 CIC001 08/04/97 14:23:56 08/04/97 14:23:59
VP1C0700.OVMVS.DW370V21.DDDL3G2
SUCCESSFULLY OPENED ICFCAT.VCIC001 CIC001 08/04/97 14:23:56 08/04/97 14:23:59
VP1C0700.OVMVS.DW370V21.DDDMAST
![Page 222: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/222.jpg)
DYSMF62 COPY Function
1–214 SMF/RMF Reporting Guide
DYSMF62 Long Formatted Report
08/10/97 13.38.45 SMF RECORD 62 - VSAM COMPONENT OR CLUSTER OPENED LONG REPORT PAGE 1
JOB NAME CICSTST3 DATE RDR RECOGNIZED JOB CARD 08/04/97 REC.NO.
USER IDENTIFICATION TIME RDR RECOGNIZED JOB CARD 12:56:14 1
SYSTEM IDENTIFICATION IPO1 DATE REC MOVED TO SMF BUFFER 08/04/97
OPEN STATUS SUCCESSFULLY OPENED TIME REC MOVED TO SMF BUFFER 14:24:12
NAME OF CATALOG ICFCAT.VSTR001
COMPONENT OR CLUSTER OPENED VT1I0200.AS.VSAMFILE.C01IDX1
VOL.SERIAL NO. OF VOL/CAT STR001 NUMBER OF VOLUMES 1
VOL.SERIAL NO: CIC005
DEVICE TYPE: NO LISTING FOUND
UNIT TYPE: UNAVAILABLE
*********************************************************************************************************************************
JOB NAME CICSTST3 DATE RDR RECOGNIZED JOB CARD 08/04/97 REC.NO.
USER IDENTIFICATION TIME RDR RECOGNIZED JOB CARD 12:56:14 2
SYSTEM IDENTIFICATION IPO1 DATE REC MOVED TO SMF BUFFER 08/04/97
OPEN STATUS SUCCESSFULLY OPENED TIME REC MOVED TO SMF BUFFER 14:24:13
NAME OF CATALOG ICFCAT.VSTR001
COMPONENT OR CLUSTER OPENED VT1I0200.AS.VSAMFILE.C01I
VOL.SERIAL NO. OF VOL/CAT STR001 NUMBER OF VOLUMES 1
VOL.SERIAL NO: CIC005
DEVICE TYPE: NO LISTING FOUND
UNIT TYPE: UNAVAILABLE
********************************************************************************************************************************
JOB NAME CICSTST3 DATE RDR RECOGNIZED JOB CARD 08/04/97 REC.NO.
USER IDENTIFICATION TIME RDR RECOGNIZED JOB CARD 12:56:14 3
SYSTEM IDENTIFICATION IPO1 DATE REC MOVED TO SMF BUFFER 08/04/97
OPEN STATUS SUCCESSFULLY OPENED TIME REC MOVED TO SMF BUFFER 14:24:13
NAME OF CATALOG ICFCAT.VSTR001
COMPONENT OR CLUSTER OPENED VT1I0200.AS.VSAMFILE.C01IDX
VOL.SERIAL NO. OF VOL/CAT STR001 NUMBER OF VOLUMES 1
VOL.SERIAL NO: CIC005
DEVICE TYPE: NO LISTING FOUND
UNIT TYPE: UNAVAILABLE
*******************************************************************************************************************************
![Page 223: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/223.jpg)
DYSMF62 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–215
DYSMF62 Record Definition COPYLIB(SMF62REC)
SMFRCD62 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD62
SMF62FLG 1 1 BI ;HEADER FLAG BYTE
SMF62RTY 1 2 BI ;RECORD TYPE 62
SMF62TME 4 3 BI ;TOD, USING FORMAT FROM TIME
* MACRO WITH BIN INTERVAL
SMF62DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
* 00YYDDDF (F IS THE SIGN)
SMF62SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF62JBN 8 15 CH ;JOBNAME
SMF62RST 4 23 BI ;READER START TIMER (.01 SEC)
SMF62RSD 4 27 PD ;READER START DATE
SMF62UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF62IND 4 39 BI ;OPEN STATUS INDICATOR
* BIT MEANING WHEN SET
* BIT 0 — OPEN SUCCESSFUL
* BIT 1 — SECURITY VIOLATION
* (INVALID PASSWORD)
* BITS 2-31 — RESERVED
SMF62CNM 44 43 CH ;CATALOG DATA SET NAME
SMF62CVS 6 87 CH ;CATALOG VOLUME SERIAL NUMBER
SMF62DNM 44 93 CH ;DATA SET NAME
SMF62VCT 2 137 BI ;VOLUME COUNT
SMF62VLT 1 CH ;VOLUME LIST
REDEFINE AT SMF62VLT
* THE FOLLOWING ENTRY IS CREATED FOR EACH VOLUME
SMF62VSR 6 139 CH ;VOLUME SERIAL
SMF62DTY 4 145 BI ;DEVICE TYPE
![Page 224: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/224.jpg)
DYSMF63 COPY Function
1–216 SMF/RMF Reporting Guide
DYSMF63 COPY Function The DYSMF63 COPY function can be used to print SMF type 63 records in two report formats — a long format and a short format. SMF type 63 records contain information that is pertinent to VSAM CATALOG ENTRY DEFINED. The examples for DYSMF63 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF63 Record Definition COPYLIB(SMF63REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF63 COPY Parameters
Twelve parameters can be varied in the DYSMF63 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 225: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/225.jpg)
DYSMF63 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–217
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF63JBN SMF63DTE SMF63TME”.
For example, if you want to sort on the two fields, SMF63SID and SMF63UIF, you can specify #5 as equal to “SMF63SID SMF63UIF”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF63SID, SMF63DTE, SMF63TME, and SMF63TYP, you can specify #5 as equal to “SMF63SID SMF63DTE SMF63TME” and #6 as equal to “SMF63TYP”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF63SID, SMF63DTE, SMF63TME, SMF63JBN, SMF63UIF, SMF63TYP, and SMF63NSZ, you can override all three parameters by specifying #5 as equal to “SMF63SID SMF63DTE SMF63TME”, #6 as equal to “SMF63JBN SMF63UIF SMF63TYP”, and #7 as equal to “SMF63NSZ”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 226: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/226.jpg)
DYSMF63 COPY Function
1–218 SMF/RMF Reporting Guide
Invoking the DYSMF63 COPY Function
DYSMF63 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF63LNG ;RECORD LENGTH
STATUS SMF63FIN ;END OF FILE
COPY SMF63REC
COPY DYSMF63
#L=YES #S=NULL
#1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
FIN
DYSMF63 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF63JBN) and SMF buffer date (SMF63DTE) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF63LNG ;RECORD LENGTH
STATUS SMF63FIN ;END OF FILE
COPY SMF63REC
COPY DYSMF63 #5='SMF63JBN SMF63DTE'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF63REC statement and the COPY DYSMF63 statement. For instance, in the example shown above the following code:
IF SMF63JBN NE 'T101G04'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 227: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/227.jpg)
DYSMF63 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–219
DYSMF63 Short Formatted Report
08/10/97 13.23.01 SMF RECORD 63 SHORT REPORT VSAM CATALOG ENTRY DEFINED PAGE 1
TIME DATE SYSTEM SYSTEM TYPE 1.- NAME OF CATALOG IN WHICH
RECORD RECORD ID MODEL OF ENTRY IS DEFINED
WRITTEN WRITTEN ID ENTRY 2.- ENTRY NAME
--------------------------------------------------------------------------------------------------------------
14:26:53.08 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T101G04
14:26:42.87 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR001
2.-T105O03
14:19:36.97 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR001
2.-T105O05
14:19:38.62 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR001
2.-T105O05
14:21:44.82 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSYSLB2
2.-T107S01
14:19:57.16 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:20:11.06 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:23:49.59 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:24:59.39 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
![Page 228: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/228.jpg)
DYSMF63 COPY Function
1–220 SMF/RMF Reporting Guide
DYSMF63 Long Formatted Report
08/10/97 13.27.11 SMF RECORD 63 LONG REPORT VSAM CATALOG ENTRY DEFINED PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:26:53.08 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
READER START DATE 08/04/97 READER START TIME 13:11:40.74
JOB NAME T101G04 USER IDENTIFICATION FIELD CATMGMT
FUNCTION AND DATA SET TYPE INDICATOR ALTERNATE INDEX ALTERED
TYPE OF ENTRY NON-VSAM DATA SET
SIZE OF NEW CATALOG RECORD 60 SIZE OF OLD CATALOG RECORD 80
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR002
ENTRY NAME T101G04
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:26:42.87 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
READER START DATE 08/04/97 READER START TIME 14:02:59.99
JOB NAME T105O03 USER IDENTIFICATION FIELD CATMGMT
FUNCTION AND DATA SET TYPE INDICATOR ALTERNATE INDEX ALTERED
TYPE OF ENTRY NON-VSAM DATA SET
SIZE OF NEW CATALOG RECORD 60 SIZE OF OLD CATALOG RECORD 80
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR001
ENTRY NAME T105O03
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:36.97 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
READER START DATE 08/04/97 READER START TIME 13:03:49.87
JOB NAME T105O05 USER IDENTIFICATION FIELD CATMGMT
FUNCTION AND DATA SET TYPE INDICATOR ALTERNATE INDEX ALTERED
TYPE OF ENTRY NON-VSAM DATA SET
SIZE OF NEW CATALOG RECORD 60 SIZE OF OLD CATALOG RECORD 80
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR001
ENTRY NAME T105O05
![Page 229: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/229.jpg)
DYSMF63 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–221
DYSMF63 Record Definition COPYLIB(SMF63REC)
SMFRCD63 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD63
SMF63FLG 1 1 BI ;HEADER FLAG BYTE
SMF63RTY 1 2 BI ;RECORD TYPE 63
SMF63TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN. INTVL.
SMF63DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM: 00YYDDDF
SMF63SID 2 11 CH ;SYSTEM IDENTIFICATION
SMF63SMI 2 13 CH ;SYSTEM MODEL IDENTIFIER
SMF63JBN 8 15 CH ;JOBNAME
SMF63RST 4 23 BI ;READER START TIME (IN 100THS SECONDS)
SMF63RSD 4 27 PD ;READER START DATE
SMF63UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF63FDT 1 39 BI ;FUNCTION AND DATA SET TYPE INDICATOR
* BIT0 — NEW DEFINITION
* BIT1 — ALTERED DEFINITION
* BIT2-7 — RESERVED
SMF63TYP 1 40 BI ;TYPE OF ENTRY
* BIT0 — CLUSTER
* BIT1 — VSAM DATA COMPONENT
* BIT2 — INDEX COMPONENT
* BIT3 — CATALOG
* BIT4 — NON—VSAM DATA SET
* BIT5 — GENERATION DATA GROUP
* BIT6 — ALIAS
* BIT7 — RESERVED
SMF63NSZ 2 41 BI ;SIZE OF NEW CATALOG RECORD
SMF63OSZ 2 43 BI ;SIZE OF OLD CATALOG RECORD
SMF63CNM 44 45 CH ;NAME OF CATALOG IN WHICH ENTRY IS DEFINED
SMF63ENM 44 89 CH ;ENTRY NAME
SMF63NCR 2 133 BI ;NEW CATALOG RECORD
REDEFINE AT SMF63NCR
REDEFINE AT SMF63NCR
SMF63OCR 2 133 BI ;OLD CATALOG RECORD
![Page 230: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/230.jpg)
DYSMF64 COPY Function
1–222 SMF/RMF Reporting Guide
DYSMF64 COPY Function The DYSMF64 COPY function can be used to print SMF type 64 records in two report formats — a long format and a short format. SMF type 64 records contain information that is pertinent to VSAM COMPONENT OR CLUSTER STATUS. The examples for DYSMF64 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF64 Record Definition COPYLIB(SMF64REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF64 COPY Parameters
Twelve parameters can be varied in the DYSMF64 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 231: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/231.jpg)
DYSMF64 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–223
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF64JBN SMF64DTE SMF64TME”.
For example, if you want to sort on the two fields, SMF64SID and SMF64UIF, you can specify #5 as equal to “SMF64SID SMF64UIF”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF64SID, SMF64DTE, SMF64TME, and SMF64RIN, you can specify #5 as equal to “SMF64SID SMF64DTE SMF64TME” and #6 as equal to “SMF64RIN”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF64SID, SMF64DTE, SMF64TME, SMF64JBN, SMF64UIF, SMF64RIN, and SMF64DTY, you can override all three parameters by specifying #5 as equal to “SMF64SID SMF64DTE SMF64TME”, #6 as equal to “SMF64JBN SMF64UIF SMF64RIN”, and #7 as equal to “SMF64DTY”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 232: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/232.jpg)
DYSMF64 COPY Function
1–224 SMF/RMF Reporting Guide
Invoking the DYSMF64 COPY Function
DYSMF64 COPY Function: Example 1
Print all records with SMF buffer date and time between 10:00 P.M. and 12:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF64LNG ;RECORD LENGTH
STATUS SMF64FIN ;END OF FILE
COPY SMF64REC
COPY DYSMF64
#1=”'08/04/97'” #2=”'22:00:00'”
#3=”'08/04/97'” #4=”'24:00:00'”
#L=YES #S=NULL
FIN
DYSMF64 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF64JBN), SMF buffer date (SMF64DTE), and SMF buffer time (SMF64TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF64LNG ;RECORD LENGTH
STATUS SMF64END ;END OF FILE
COPY SMF64REC
COPY DYSMF64 #5='SMF64JBN SMF64DTE SMF64TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF64REC statement and the COPY DYSMF64 statement. For instance, in the example shown above the following code:
IF SMF64JBN NE 'IEESYSAS'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 233: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/233.jpg)
DYSMF64 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–225
DYSMF64 Short Formatted Report
08/10/97 17.39.56 SMF RECORD TYPE 64 VSAM COMPONENT OR CLUSTER STATUS SHORT REPORT PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 23:59:13.86 DATE RECORD MOVED TO SMF BUFFER 08/04/97
JOBNAME IEESYSAS READER START TIME 18:48:25.73
SYSTEM IDENTIFICATION BEP1
READER START DATE 08/04/97 USER IDENTIFICATION FIELD
RECORD WRITTEN BY CLOSE
DATA SET TYPE DATA SET
CATALOG NAME CATALOG.MVSICFM.VMVSCAT
DATA SET NAME SYS1.TA4BBD28.VDD86098.T9ABF600
NUMBER OF TRACKS REQUIRED 0 CURRENT HIGH RBA 24,576,000
NUMBER OF EXTENT SEGMENTS 1
STATISTICS SECTION AT OPEN TIME
*******************************
STATISTICS SEGMENT LENGTH 196
DATA SET CHARACTERISTICS SECTION
********************************
PHYSICAL BLOCK SIZE 4,096 CONTROL INTERVAL SIZE 4,096
MAX. LOGICAL RECORD LNG. 32,767 KEY LENGTH 0
DD NAME SYS00003
CLUSTER NAME FROM JCL SYS1.MAN1
HYPERBATCH I/O STATISTICS
*************************
ATTEMPTS TO FIND REQUESTED DATA 0 REQUESTS SATISFIED DATA MOVED FROM 0
REQUESTS TEMPORARILY SUSPENDED 0 REQUESTS SATISFIED BY DOING DASD I/O 0
NUMBER OF DASD I/O (HYPERBATCH DATA, BUFFERS) 0
![Page 234: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/234.jpg)
DYSMF64 COPY Function
1–226 SMF/RMF Reporting Guide
DYSMF64 Long Formatted Report (Page 1 of 2)
08/10/97 17.40.30 SMF RECORD TYPE 64 VSAM COMPONENT OR CLUSTER STATUS LONG REPORT PAGE 1
HEADER SECTION
**************
TIME RECORD MOVED TO SMF BUFFER 23:59:13.86 DATE RECORD MOVED TO SMF BUFFER 08/04/97
JOBNAME IEESYSAS READER START TIME 18:48:25.73
SYSTEM IDENTIFICATION BEP1
READER START DATE 08/04/97 USER IDENTIFICATION FIELD
RECORD WRITTEN BY CLOSE
DATA SET TYPE DATA SET
CATALOG NAME CATALOG.MVSICFM.VMVSCAT
DATA SET NAME SYS1.TA4BBD28.VDD86098.T9ABF600
NUMBER OF TRACKS REQUIRED 0 CURRENT HIGH RBA 24,576,000
NUMBER OF EXTENT SEGMENTS 1
EXTENT SEGMENT NUMBER 1
BEGINNING CYLINDER NUMBER 149 BEGINNING TRACK NUMBER 0
ENDING CYLINDER NUMBER 188 ENDING TRACK NUMBER 14
VOLUME SERIAL NUMBER MVSCAT
DEVICE NUMBER 1,068
MODULE/SPINDLE ID 12
UNIT TYPE - UCBTYPE 3010 200E
STATISTICS SECTION AT OPEN TIME
*******************************
STATISTICS SEGMENT LENGTH 196 NUMBER OF LEVELS IN THE INDEX 0
NUMBER OF EXTENTS 1 NUMBER OF LOGICAL RECORDS 0
NUMBER OF DELETED RECORDS 0 NUMBER OF INSERTED RECORDS 0
NUMBER OF UPDATES 0 NUMBER OF RETRIEVES 0
NUMBER OF UNUSED CONTROL INTERVALS MULTIPLIED
BY THE CONTROL INTERVAL SIZE 24,576,000 NUMBER OF CONTROL INTERVALS SPLITS 0
NUMBER OF CONTROL AREA SPLITS 0 NUMBER EXCPS COUNT 6,000
CHANGE IN STATISTICS FROM OPEN TO TIME OF EOV AND CLOSE
*******************************************************
CHANGE IN NUMBER OF LEVELS IN THE INDEX 0 CHANGE IN NUMBER OF EXTENTS 0
CHANGE IN NUMBER OF LOGICAL RECORDS 0 CHANGE IN NUMBER OF DELETES 0
CHANGE IN NUMBER OF INSERTS 0 CHANGE IN NUMBER OF UPDATES 0
CHANGE IN NUMBER OF RETRIEVES 0 CHANGE IN NUMBER CI SPLITS 0
CHANGE IN NUMBER OF UNUSED CONTROL INTERVALS
TIMES THE CONTROL INTERVAL SIZE 0
CHANGE IN NUMBER CA SPLITS 0 CHANGE IN NUMBER OF EXCPS COUNT 0
![Page 235: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/235.jpg)
DYSMF64 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–227
DYSMF64 Long Formatted Report (Page 2 of 2)
08/10/97 17.40.30 SMF RECORD TYPE 64 VSAM COMPONENT OR CLUSTER STATUS LONG REPORT PAGE 2
DATA SET CHARACTERISTICS SECTION
********************************
PHYSICAL BLOCK SIZE 4,096 CONTROL INTERVAL SIZE 4,096
MAX. LOGICAL RECORD LNG. 32,767 KEY LENGTH 0
DD NAME SYS00003 STRING NUMBER 1
ACTUAL NUMBER OF BUFFERS 1 BUFFER SPACE 0
NUMBER OF DATA BUFFERS 0 NUMBER OF INDEX BUFFERS 0
CLUSTER NAME FROM JCL SYS1.MAN1 ACTUAL NUMBER OF CONCURRENT STRINGS 1
FIRST ACB MACRF FLAG BYTE CONTROL INTERVAL PROCESSING
DIRECT PROCESSING
INPUT PROCESSING
OUTPUT PROCESSING
USER SUPPLIED BUFFER SPACE
SECOND ACB MACRF FLAG BYTE
THIRD EACB MACRF FLAG BYTE IMPROVED CONTROL INTERVAL PROCESS
HYPERBATCH I/O STATISTICS
*************************
ATTEMPTS TO FIND REQUESTED DATA 0 REQUESTS SATISFIED DATA MOVED FROM 0
REQUESTS TEMPORARILY SUSPENDED 0 REQUESTS SATISFIED BY DOING DASD I/O 0
NUMBER OF DASD I/O (HYPERBATCH DATA, BUFFERS) 0
![Page 236: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/236.jpg)
DYSMF64 COPY Function
1–228 SMF/RMF Reporting Guide
DYSMF64 Record Definition COPYLIB(SMF64REC)
SMFRCD64 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD64
SMF64FLG 1 1 BI ;HEADER FLAG BYTE
SMF64RTY 1 2 BI ;RECORD TYPE 64
SMF64TME 4 3 BI ;TOD, USING FORMAT FROM TIME
* MACRO WITH BIN INTERVAL
SMF64DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
* 00YYDDDF (F IS THE SIGN)
SMF64SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF64JBN 8 15 CH ;JOBNAME
SMF64RST 4 23 BI ;READER START TIME (IN 100THS
* SECONDS)
SMF64RSD 4 27 PD ;READER START DATE
SMF64UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF64RIN 1 39 BI ;RECORDING INDICATORS
* BIT MEANING WHEN SET
* BIT 0 — RECORD WRITTEN BY CLOSE
* BIT 1 — RECORD WRITTEN BY EOV-
* VOLUME SWITCH
* BIT 2 — RECORD WRITTEN BY EOV-
* OUT OF SPACE
* BITS 3-7 RESERVED
SMF64DTY 1 40 BI ;DATA SET TYPE
* BIT MEANING WHEN SET
* BIT 0 — DATA SET
* BIT 1 — INDEX
* BITS 2-7 — RESERVED
SMF64CNM 44 41 CH ;CATALOG NAME
SMF64DNM 44 85 CH ;DATA SET NAME
SMF64NTR 2 129 BI ;NUMBER OF TRACKS REQUIRED
SMF64CHR 4 131 BI ;CURRENT HIGH RBA
SMF64ESL 2 135 BI ;EXTENT SEGMENT LENGTH
SMF64FEX 1 CH ;EXTENT TABLE — ONE PER VOLUME
REDEFINE AT SMF64FEX
* ONLINE AT TIME RECORD WRITTEN
SMF64FCC 4 137 BI ;FROM CCHH
SMF64TCC 4 141 BI ;TO CCHH
SMF64VSN 6 145 CH ;VOLUME SERIAL NUMBER
SMF64CUU 2 151 BI ;DEVICE NUMBER
SMF64IND 2 153 BI ;MODULE/SPINDLE ID
SMF64UTY 4 155 BI ;UNIT TYPE — UCBTYPE
SMF64RV1 4 159 CH ;RESERVED
REDEFINE AT SMF64FEX
SMF64STS 1 CH ;DATA SET STATISTICS AT OPEN
REDEFINE AT SMF64STS
* TIME
SMF64SLN 4 137 BI ;STATISTICS SEGMENT LENGTH
![Page 237: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/237.jpg)
DYSMF64 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–229
SMF64NIL 4 141 BI ;NUMBER INDEX LEVEL
SMF64NEX 4 145 BI ;NUMBER EXTENTS
SMF64NLR 4 149 BI ;NUMBER LOGICAL RECORDS
SMF64NDE 4 153 BI ;NUMBER DELETES
SMF64NIN 4 157 BI ;NUMBER INSERTS
SMF64NUP 4 161 BI ;NUMBER UPDATES
SMF64NRE 4 165 BI ;NUMBER RETRIEVES
SMF64NFS 4 169 BI ;NUMBER FREE SPACE-UNUSED CI'S
SMF64NCS 4 173 BI ;NUMBER CI SPLITS
SMF64NAS 4 177 BI ;NUMBER CA SPLITS
SMF64NEP 4 181 BI ;NUMBER EXCPS COUNT
* DATA SET STATISTICS FOR THIS OPEN
SMF64DIL 4 185 BI ;NUMBER INDEX LEVEL
SMF64DEX 4 189 BI ;NUMBER EXTENTS
SMF64DLR 4 193 BI ;NUMBER LOGICAL RECORDS
SMF64DDE 4 197 BI ;NUMBER DELETES
SMF64DIN 4 201 BI ;NUMBER INSERTS
SMF64DUP 4 205 BI ;NUMBER UPDATES
SMF64DRE 4 209 BI ;NUMBER RETRIEVES
SMF64DFS 4 213 BI ;NUMBER FREE SPACE
SMF64DCS 4 217 BI ;NUMBER CI SPLITS
SMF64DAS 4 221 BI ;NUMBER CA SPLITS
SMF64DEP 4 225 BI ;NUMBER EXCPS COUNT
SMF64DBS 4 229 BI ;PHYSICAL BLOCK SIZE
SMF64DCI 4 233 BI ;CONTROL INTERVAL SIZE
SMF64DLS 4 237 BI ;MAX. LOGICAL RECORD LNG.
SMF64DKL 2 241 BI ;KEY LENGTH
SMF64DDN 8 243 CH ;DD NAME
SMF64STR 1 251 BI ;ACBSTRNO — STRING NUMBER
SMF64BNO 1 252 BI ;BUFDRNO — ACTUAL NUMBER OF
* BUFFERS
SMF64BSP 4 253 BI ;ACBBUFSP — BUFFER SPACE
SMF64BFD 2 257 BI ;ACBBUFND — NO. DATA BUFFERS
SMF64BFI 2 259 BI ;ACBBUFNI — NO. INDEX BUFFERS
SMF64CLN 44 261 CH ;CLUSTER NAME (JFCBDSN)
SMF64PLH 2 305 BI ;PLHCNT — ACTUAL NUMBER OF
* CONCURRENT STRINGS
SMF64MAC 3 307 BI ;ACBMACRF FIELDS
REDEFINE AT SMF64MAC
SMF64MC1 1 307 BI ;ACBMACR1 FIELD
SMF64MC2 1 308 BI ;ACBMACR2 FIELD
SMF64MC3 1 309 BI ;ACBMACR3 FIELD
;*
HIPER_HDR 1 310 CH ;HYPERBATCH REQUESTS FOR I/O STATISTICS
REDEFINE AT HIPER_HDR
SMF64SIO 4 310 BI ;HYPERBATCH ATTEMPTS TO FIND REQUESTED DATA
SMF64HIT 4 314 BI ;HYPERBATCH SATISFIED REQUEST FOR DATA
SMF64WTS 4 318 BI ;HYPERBATCH SUSPENDED REQUEST FOR DATA
SMF64MIS 4 322 BI ;REQUESTS SATISFIED BY USING DASD I/O
![Page 238: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/238.jpg)
DYSMF65 COPY Function
1–230 SMF/RMF Reporting Guide
SMF64IOS 4 326 BI ;HYPERBATCH COPIED DATA TO ITS BUFFERS
*
DYSMF65 COPY Function The DYSMF65 COPY function can be used to print SMF type 65 records in two report formats — a long format and a short format. SMF type 65 records contain information that is pertinent to INTEGRATED CATALOG FACILITY DELETE ACTIVITY. The examples for DYSMF65 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF65 Record Definition COPYLIB(SMF65REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF65 COPY Parameters
Twelve parameters can be varied in the DYSMF65 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 239: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/239.jpg)
DYSMF65 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–231
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF65DTE SMF65TME”.
For example, if you want to sort on the two fields, SMF65CPU and SMF65SUB, you can specify #5 as equal to “SMF65CPU SMF65SUB”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF65CPU, SMF65DTE, SMF65TME, and SMF65TYP, you can specify #5 as equal to “SMF65CPU SMF65DTE SMF65TME” and #6 as equal to “SMF65TYP”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF65CPU, SMF65DTE, SMF65TME, SMF65JBN, SMF65UID, SMF65TYP, and SMF65PNM, you can override all three parameters by specifying #5 as equal to “SMF65CPU SMF65DTE SMF65TME”, #6 as equal to “SMF65JBN SMF65UID SMF65TYP”, and #7 as equal to “SMF65PNM”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 240: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/240.jpg)
DYSMF65 COPY Function
1–232 SMF/RMF Reporting Guide
Invoking the DYSMF65 COPY Function
DYSMF65 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF65LNG ;RECORD LENGTH
STATUS SMF65END1 ;END OF FILE
COPY SMF65REC
COPY DYSMF65 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF65 COPY Function: Example 2
Print all records regardless of date and time in SMF buffer date (SMF65DTE) and SMF buffer time (SMF65TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF65LNG ;RECORD LENGTH
STATUS SMF65END1 ;END OF FILE
COPY SMF65REC
COPY DYSMF65 #5='SMF65DTE SMF65TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF65REC statement and the COPY DYSMF65 statement. For instance, in the example shown above the following code:
IF SMF65CPU NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 241: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/241.jpg)
DYSMF65 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–233
DYSMF65 Short Formatted Report
08/10/97 11.56.35 SMF RECORD 65 SHORT REPORT I. C. F. DELETE ACTIVITY PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:36.97 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED SYSTEM IDENTIFICATION IPO1
NUMBER OF PRODUCT SECTIONS 1 NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
*************
JOBNAME T105O05 USER IDENTIFICATION FIELD
READER START TIME 13:03:49.87 READER START DATE 08/04/97
ENTRY NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:38.62 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED SYSTEM IDENTIFICATION IPO1
NUMBER OF PRODUCT SECTIONS 1 NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
*************
JOBNAME T105O05 USER IDENTIFICATION FIELD
READER START TIME 13:03:49.87 READER START DATE 08/04/97
ENTRY NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0216V00
![Page 242: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/242.jpg)
DYSMF65 COPY Function
1–234 SMF/RMF Reporting Guide
DYSMF65 Long Formatted Report
08/10/97 11.57.21 SMF RECORD 65 LONG REPORT I. C. F. DELETE ACTIVITY PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:19:36.97 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED SYSTEM IDENTIFICATION IPO1
OFFSET TO PRODUCT SECTION 40 LENGTH OF PRODUCT SECTION 10
NUMBER OF PRODUCT SECTIONS 1
OFFSET OF DATA SECTION 50 LENGTH OF DATA SECTION 158
NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
*************
JOBNAME T105O05 USER IDENTIFICATION FIELD
READER START TIME 13:03:49.87 READER START DATE 08/04/97
CATALOG NAME ICFCAT.VSTR001
ENTRY TYPE -----
FUNCTION INDICATOR ENTRY UNCATALOGED & SCRATCHED
ENTRY NAME NP1B0100.RR.CROSSSET.EMPLIDAT.G0215V00
![Page 243: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/243.jpg)
DYSMF65 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–235
DYSMF65 Record Definition COPYLIB(SMF65REC)
SMFRCD65 1 CH ;SMF RECORD 65
REDEFINE AT S MFRCD65
SMF65HDR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF65HDR
SMF65SYS 1 1 BI ;HEADER FLAG BYTE
SMF65RTY 1 2 BI ;RECORD TYPE 65
SMF65TME 4 3 BI ;TOD, USING FORMAT FROM TIME
* MACRO WITH BIN INTERVAL
SMF65DTE 4 7 PD ;DATE IN PACKED DECIMAL FORM
* 00YYDDDF (F IS THE SIGN)
SMF65CPU 4 11 CH ;SYSTEM IDENTIFICATION
SMF65SBS 4 15 CH ;SUBSYSTEM ID (NOT USED)
SMF65SUB 2 19 CH ;RECORD SUBTYPE
SMF65SLF 1 CH ;SELF-DEFINING SECTION
REDEFINE AT SMF65SLF
SMF65POF 4 21 BI ;OFFSET TO PRODUCT SECTION
SMF65PLN 2 25 BI ;LENGTH OF PRODUCT SECTION
SMF65PNO 2 27 BI ;NUMBER OF PRODUCT SECTIONS
SMF65DOF 4 29 BI ;OFFSET TO DATA SECTION
SMF65DLN 2 33 BI ;LENGTH OF DATA SECTION
SMF65DNO 2 35 BI ;NUMBER OF DATA SECTIONS
SMF65PRD 1 CH ;PRODUCT SECTION
REDEFINE AT SMF65PRD
SMF65VER 2 37 CH ;PRODUCT VERSION
SMF65PNM 8 39 CH ;PRODUCT NAME
SMF65DAT 1 CH ;DATA SECTION
REDEFINE AT SMF65DAT
SMF65JNM 8 47 CH ;JOBNAME
SMF65RST 4 55 BI ;READER START TIME (IN 100THS
* SECONDS)
SMF65RDT 4 59 PD ;READER START DATE
SMF65UID 8 63 CH ;USER IDENTIFICATION FIELD
SMF65FNC 1 71 CH ;FUNCTION INDICATOR
* MEANING WHEN SET
* 'U' — ENTRY UNCATALOGED
* 'S' — ENTRY UNCATALOGED & SCRATCHED
SMF65CNM 44 72 CH ;CATALOG NAME
SMF65TYP 1 116 CH ;ENTRY TYPE
SMF65ENM 44 117 CH ;ENTRY NAME
SMF65NNM 44 161 CH ;NEW ENTRY NAME (NOT USED)
SMF65END 1 CH ;END SMF RECORD 65 FIXED FIELDS
REDEFINE AT SMF65END
SMF65CRC 1 205 CH ;CATALOG RECORD
![Page 244: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/244.jpg)
DYSMF66 COPY Function
1–236 SMF/RMF Reporting Guide
DYSMF66 COPY Function The DYSMF66 COPY function can be used to print SMF type 66 records in two report formats — a long format and a short format. SMF type 66 records contain information that is pertinent to INTEGRATED CATALOG FACILITY ALTER ACTIVITY. The examples for DYSMF66 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF66 Record Definition COPYLIB(SMF66REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by system identification and by the date and time the record was moved to the SMF buffer.
DYSMF66 COPY Parameters
Twelve parameters can be varied in the DYSMF66 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 245: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/245.jpg)
DYSMF66 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–237
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF66DTE SMF66TME”.
For example, if you want to sort on the two fields, SMF66SID and SMF66SUB, you can specify #5 as equal to “SMF66SID SMF66SUB”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF66SID, SMF66DTE, SMF66TME, and SMF66TYP, you can specify #5 as equal to “SMF66SID SMF66DTE SMF66TME” and #6 as equal to “SMF66TYP”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields SMF66SID, SMF66DTE, SMF66TME, SMF66JNM, SMF66UID, SMF66TYP, and SMF66PNM, you can override all three parameters by specifying #5 as equal to “SMF66SID SMF66DTE SMF66TME”, #6 as equal to “SMF66JNM SMF66UID SMF66TYP”, and #7 as equal to “SMF66PNM”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 246: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/246.jpg)
DYSMF66 COPY Function
1–238 SMF/RMF Reporting Guide
Invoking the DYSMF66 COPY Function
DYSMF66 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF66LNG ;RECORD LENGTH
STATUS SMF66END1 ;END OF FILE
COPY SMF66REC
COPY DYSMF66 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF66 COPY Function: Example 2
Print all records regardless of date and time on SMF buffer date (SMF66DTE) and SMF buffer time (SMF66TME) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF66LNG ;RECORD LENGTH
STATUS SMF66END1 ;END OF FILE
COPY SMF66REC
COPY DYSMF66 #5='SMF66DTE SMF66TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF66REC statement and the COPY DYSMF66 statement. For instance, in the example shown above the following code:
IF SMF66SID NE 'IP'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 247: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/247.jpg)
DYSMF66 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–239
DYSMF66 Short Formatted Report
08/10/97 12.11.23 SMF RECORD 66 SHORT REPORT I. C. F. ALTER ACTIVITY PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:20:35.13 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED
SYSTEM IDENTIFICATION IP SYSTEM MODEL INDENTIFIER O1
NUMBER OF PRODUCT SECTIONS 1 NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
*************
JOBNAME CICSPRD1 USER IDENTIFICATION FIELD
READER START TIME 09:47:45.87 READER START DATE 08/04/97
ENTRY NAME VP1C1400.AMS.P325AIX.DATA
NEW ENTRY NAME ------
HEADER SECTION
**************
TOD RECORD WRITTEN 14:20:35.29 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED
SYSTEM IDENTIFICATION IP SYSTEM MODEL INDENTIFIER O1
NUMBER OF PRODUCT SECTIONS 1 NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
*************
JOBNAME CICSPRD1 USER IDENTIFICATION FIELD
READER START TIME 09:47:45.87 READER START DATE 08/04/97
ENTRY NAME VP1C1400.AMS.P325AIX.DATA
NEW ENTRY NAME ------
![Page 248: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/248.jpg)
DYSMF66 COPY Function
1–240 SMF/RMF Reporting Guide
DYSMF66 Long Formatted Report
08/10/97 12.10.56 SMF RECORD 66 LONG REPORT I. C. F. ALTER ACTIVITY PAGE 1
HEADER SECTION
**************
TOD RECORD WRITTEN 14:20:35.13 DATE RECORD WRITTEN 08/04/97
VVR INFORMATION VVR IS UPDATED
SYSTEM IDENTIFICATION IP SYSTEM MODEL INDENTIFIER O1
OFFSET TO PRODUCT SECTION 40 LENGTH OF PRODUCT SECTION 10
NUMBER OF PRODUCT SECTIONS 1
OFFSET OF DATA SECTION 50 LENGTH OF DATA SECTION 158
NUMBER OF DATA SECTIONS 1
PRODUCT SECTION
***************
PRODUCT VERSION 1 PRODUCT NAME CATMGMT
DATA SECTION
*************
JOBNAME CICSPRD1 USER IDENTIFICATION FIELD
READER START TIME 09:47:45.87 READER START DATE 08/04/97
CATALOG NAME ICFCAT.VSTR002
ENTRY TYPE DATA SET
FUNCTION INDICATOR -----
ENTRY NAME VP1C1400.AMS.P325AIX.DATA
NEW ENTRY NAME ------
![Page 249: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/249.jpg)
DYSMF66 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–241
DYSMF66 Record Definition COPYLIB(SMF66REC)
SMFRCD66 1 CH ;SMF RECORD 66
REDEFINE AT SMFRCD66
SMF66HDR 1 CH ;HEADER SEGMENT
REDEFINE AT SMF66HDR
SMF66SYS 1 1 BI ;HEADER FLAG BYTE
SMF66RTY 1 2 BI ;RECORD TYPE 66
SMF66TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN INTERVL
SMF66DTE 4 7 PD ;DATE IN PACKED DECIMAL FORMAT: 00YYDDDF
SMF66SID 2 11 CH ;SYSTEM IDENTIFICATION
SMF66MOD 2 13 CH ;SYSTEM MODEL IDENTIFIER
SMF66SBS 4 15 CH ;SUBSYSTEM ID (NOT USED)
SMF66SUB 2 19 CH ;RECORD SUBTYPE
SMF66SLF 1 CH ;SELF-DEFINING SECTION
REDEFINE AT SMF66SLF
SMF66POF 4 21 BI ;OFFSET TO PRODUCT SECTION
SMF66PLN 2 25 BI ;LENGTH OF PRODUCT SECTION
SMF66PNO 2 27 BI ;NUMBER OF PRODUCT SECTIONS
SMF66DOF 4 29 BI ;OFFSET TO DATA SECTION
SMF66DLN 2 33 BI ;LENGTH OF DATA SECTION
SMF66DNO 2 35 BI ;NUMBER OF DATA SECTIONS
SMF66PRD 1 CH ;PRODUCT SECTION
REDEFINE AT SMF66PRD
SMF66VER 2 37 CH ;RECORD VERSION
SMF66PNM 8 39 CH ;PRODUCT NAME
SMF66DAT 1 CH ;DATA SECTION
REDEFINE AT SMF66DAT
SMF66JNM 8 47 CH ;JOB NAME
SMF66RST 4 55 BI ;READER START TIME (IN 100THS SECONDS)
SMF66RDT 4 59 PD ;READER START DATE
SMF66UID 8 63 CH ;USER IDENTIFICATION FIELD
SMF66FNC 1 71 CH ;FUNCTION INDICATOR
* MEANING WHEN SET
* 'R' — ENTRY RENAMED
SMF66CNM 44 72 CH ;NAME OF CATALOG IN WHICH ENTRY WAS DEFINED
SMF66TYP 1 116 CH ;ENTRY TYPE
SMF66ENM 44 117 CH ;NAME OF ENTRY THAT WAS ALTERED
SMF66NNM 44 161 CH ;NEW ENTRY NAME IF RENAMED
SMF66END 1 CH ;END SMF RECORD 66 FIXED FIELDS
REDEFINE AT SMF66END
SMF66CRC 1 205 CH ;CATALOG RECORD
![Page 250: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/250.jpg)
DYSMF67 COPY Function
1–242 SMF/RMF Reporting Guide
DYSMF67 COPY Function The DYSMF67 COPY function can be used to print SMF type 67 records in two report formats — a long format and a short format. SMF type 67 records contain information that is pertinent to VSAM ENTRY DELETED. The examples for DYSMF67 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF67 Record Definition COPYLIB(SMF67REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name, catalog name, and entry name.
DYSMF67 COPY Parameters
Twelve parameters can be varied in the DYSMF67 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF67JBN SMF67CNM SMF67DEN”.
![Page 251: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/251.jpg)
DYSMF67 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–243
Parameter Description
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
#7 #7 contains additional sort fields 7 through 9. The value of the field cannot exceed 30 characters. The default value is NULL.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF67 COPY Function
DYSMF67 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF67LNG ;RECORD LENGTH
STATUS SMF67FIN ;END OF FILE
COPY SMF67REC
COPY DYSMF67
#L=YES #S=NULL
#1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
FIN
![Page 252: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/252.jpg)
DYSMF67 COPY Function
1–244 SMF/RMF Reporting Guide
DYSMF67 COPY Function: Example 1
Print all records regardless of date and time in system identification (SMF67SID), SMF buffer date (SMF67DTE), and SMF buffer time (SMF67TME) sequence. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF67LNG ;RECORD LENGTH
STATUS SMF67FIN ;END OF FILE
COPY SMF67REC
COPY DYSMF67 #5='SMF67SID SMF67DTE SMF67TME'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF67REC statement and the COPY DYSMF67 statement. For instance, in the example shown above the following code:
IF SMF67SID NE 'IP'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 253: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/253.jpg)
DYSMF67 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–245
DYSMF67 Short Formatted Report
08/10/97 14.01.05 SMF RECORD 67 SHORT REPORT VSAM ENTRY DELETED PAGE 1
TIME DATE SYSTEM SYSTEM TYPE 1.- NAME OF CATALOG IN WHICH
RECORD RECORD ID MODEL OF ENTRY IS DELETED
WRITTEN WRITTEN ID ENTRY 2.- ENTRY NAME
-----------------------------------------------------------------------------------------------------------
14:26:53.08 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T101G04
14:26:42.87 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR001
2.-T105O03
14:19:36.97 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR001
2.-T105O05
14:19:38.62 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR001
2.-T105O05
14:21:44.82 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSYSLB2
2.-T107S01
14:19:57.16 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:20:11.06 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:23:49.59 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:24:59.39 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
14:26:31.02 08/04/97 IP O1 NON-VSAM DATA SET 1.-ICFCAT.VSTR002
2.-T109P46
NUMBER OF RECORDS PRINTED: 10
![Page 254: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/254.jpg)
DYSMF67 COPY Function
1–246 SMF/RMF Reporting Guide
DYSMF67 Long Formatted Report
08/10/97 14.06.27 SMF RECORD 67 LONG REPORT VSAM ENTRY DELETED PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:26:53.08 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
READER START DATE 08/04/97 READER START TIME 13:11:40.74
JOB NAME T101G04 USER IDENTIFICATION FIELD CATMGMT
FUNCTION AND DATA SET TYPE INDICATOR ALTERNATE INDEX ALTERED
ENTRY TYPE INDICATOR NON-VSAM DATA SET
SIZE OF NEW CATALOG RECORD 60
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR002
ENTRY NAME T101G04
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:26:42.87 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
READER START DATE 08/04/97 READER START TIME 14:02:59.99
JOB NAME T105O03 USER IDENTIFICATION FIELD CATMGMT
FUNCTION AND DATA SET TYPE INDICATOR ALTERNATE INDEX ALTERED
ENTRY TYPE INDICATOR NON-VSAM DATA SET
SIZE OF NEW CATALOG RECORD 60
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR001
ENTRY NAME T105O03
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:36.97 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
SYSTEM IDENTIFICATION IP SYSTEM MODEL IDENTIFIER O1
READER START DATE 08/04/97 READER START TIME 13:03:49.87
JOB NAME T105O05 USER IDENTIFICATION FIELD CATMGMT
FUNCTION AND DATA SET TYPE INDICATOR ALTERNATE INDEX ALTERED
ENTRY TYPE INDICATOR NON-VSAM DATA SET
SIZE OF NEW CATALOG RECORD 60
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR001
ENTRY NAME T105O05
![Page 255: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/255.jpg)
DYSMF67 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–247
DYSMF67 Record Definition COPYLIB(SMF67REC)
SMFRCD67 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD67
SMF67SYS 1 1 BI ;HEADER FLAG BYTE
SMF67RTY 1 2 BI ;RECORD TYPE 67
SMF67TME 4 3 BI ;TOD, USING FORMAT FROM TIME MACRO W/BIN INTERVL
SMF67DTE 4 7 PD ;DATE IN PACKED DECIMAL FORMAT: 00YYDDDF
SMF67SID 2 11 CH ;SYSTEM IDENTIFICATION
SMF67SMI 2 13 CH ;SYSTEM MODEL IDENTIFIER
SMF67JBN 8 15 CH ;JOB NAME
SMF67RST 4 23 BI ;READER START TIME (IN 100THS SECONDS)
SMF67RSD 4 27 PD ;READER START DATE
SMF67UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF67FDT 1 39 BI ;FUNCTION AND DATA SET TYPE INDICATOR
* BIT0 — UNCATALOGED
* BIT1 — SCRATCHED
* BIT2-7 — RESERVED
SMF67IOD 1 40 BI ;INDICATOR OF OBJECT DELETED
* BIT0 — CLUSTER
* BIT1 — DATA COMPONENT
* BIT2 — INDEX COMPONENT
* BIT3 — CATALOG
* BIT4 — NON-VSAM DATA SET
* BIT5 — GENERATION DATA GROUP
* BIT6 — ALIAS
* BIT7 — RESERVED
SMF67CNM 44 41 CH ;NAME OF CATALOG IN WHICH ENTRY WAS DEFINED
SMF67DEN 44 85 CH ;NAME OF ENTRY THAT WAS DELETED
SMF67RSZ 2 129 BI ;SIZE OF CATALOG RECORD THAT DEFINED THE ENTRY
SMF67CRC 2 131 BI ;CATALOG RECORD
![Page 256: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/256.jpg)
DYSMF68 COPY Function
1–248 SMF/RMF Reporting Guide
DYSMF68 COPY Function The DYSMF68 COPY function can be used to print SMF type 68 records in two report formats — a long format and a short format. SMF type 68 records contain information that is pertinent to VSAM ENTRY RENAMED. The examples for DYSMF68 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF68 Record Definition COPYLIB(SMF68REC). Records can be selected for printing information depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by job name.
DYSMF68 COPY Parameters
Twelve parameters can be varied in the DYSMF68 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF68JBN”.
![Page 257: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/257.jpg)
DYSMF68 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–249
Parameter Description
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
#7 #7 contains additional sort fields 7 through 9. The value of the field cannot exceed 30 characters. The default value is NULL.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF68 COPY Function
DYSMF68 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF68LNG ;RECORD LENGTH
STATUS SMF68FIN ;END OF FILE
COPY SMF68REC
COPY DYSMF68 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 258: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/258.jpg)
DYSMF68 COPY Function
1–250 SMF/RMF Reporting Guide
DYSMF68 COPY Function: Example 2
Print all records regardless of date and time in job name (SMF68JBN) and SMF buffer date (SMF68DTE) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF68LNG ;RECORD LENGTH
STATUS SMF68FIN ;END OF FILE
COPY SMF68REC
COPY DYSMF68 #5='SMF68JBN SMF68DTE'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF68REC statement and the COPY DYSMF68 statement. For instance, in the example shown above the following code:
IF SMF68SID NE 'IPO1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 259: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/259.jpg)
DYSMF68 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–251
DYSMF68 Short Formatted Report
08/10/97 14.34.12 SMF RECORD 68 SHORT REPORT VSAM ENTRY RENAMED PAGE 1
TIME DATE SYSTEM JOB USER 1.- NAME OF CATALOG IN WHICH
RECORD RECORD ID NAME IDENTIFICATION ENTRY IS DEFINED
WRITTEN WRITTEN 2.- OLD NAME OF THE ENTRY
3.- NEW NAME OF THE ENTRY
---------------------------------------------------------------------------------------------------------
14:26:53.08 08/04/97 IPO1 T101G04 CATMGMT 1.-ICFCAT.VSTR002
2.-IP
3.-O1
14:26:42.87 08/04/97 IPO1 T105O03 CATMGMT 1.-ICFCAT.VSTR001
2.-IP
3.-O1
14:19:36.97 08/04/97 IPO1 T105O05 CATMGMT 1.-ICFCAT.VSTR001
2.-IP
3.-O1
14:19:38.62 08/04/97 IPO1 T105O05 CATMGMT 1.-ICFCAT.VSTR001
2.-IP
3.-O1
14:21:44.82 08/04/97 IPO1 T107S01 CATMGMT 1.-ICFCAT.VSYSLB2
2.-IP
3.-O1
14:19:57.16 08/04/97 IPO1 T109P46 CATMGMT 1.-ICFCAT.VSTR002
2.-IP
3.-O1
14:20:11.06 08/04/97 IPO1 T109P46 CATMGMT 1.-ICFCAT.VSTR002
2.-IP
3.-O1
14:23:49.59 08/04/97 IPO1 T109P46 CATMGMT 1.-ICFCAT.VSTR002
2.-IP
3.-O1
14:24:59.39 08/04/97 IPO1 T109P46 CATMGMT 1.-ICFCAT.VSTR002
2.-IP
3.-O1
14:26:31.02 08/04/97 IPO1 T109P46 CATMGMT 1.-ICFCAT.VSTR002
2.-IP
3.-O1
NUMBER OF RECORDS PRINTED: 10
![Page 260: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/260.jpg)
DYSMF68 COPY Function
1–252 SMF/RMF Reporting Guide
DYSMF68 Long Formatted Report
08/10/97 14.33.14 SMF RECORD 68 LONG REPORT VSAM ENTRY RENAMED PAGE 1
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:26:53.08 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
JOB NAME T101G04 USER IDENTIFICATION FIELD CATMGMT
READER START DATE 08/04/97 READER START TIME 13:11:40.74
SYSTEM IDENTIFICATION IPO1
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR002
OLD NAME OF THE ENTRY IP
NEW NAME OF THE ENTRY O1
******************************************************************************************************************************
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:26:42.87 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
JOB NAME T105O03 USER IDENTIFICATION FIELD CATMGMT
READER START DATE 08/04/97 READER START TIME 14:02:59.99
SYSTEM IDENTIFICATION IPO1
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR001
OLD NAME OF THE ENTRY IP
NEW NAME OF THE ENTRY O1
******************************************************************************************************************************
HEADER SECTION
**************
TIME RECORD WAS MOVED TO SMF BUFFER 14:19:36.97 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
JOB NAME T105O05 USER IDENTIFICATION FIELD CATMGMT
READER START DATE 08/04/97 READER START TIME 13:03:49.87
SYSTEM IDENTIFICATION IPO1
NAME OF CATALOG IN WHICH ENTRY IS DEFINED ICFCAT.VSTR001
OLD NAME OF THE ENTRY IP
NEW NAME OF THE ENTRY O1
******************************************************************************************************************************
![Page 261: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/261.jpg)
DYSMF68 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–253
DYSMF68 Record Definition COPYLIB(SMF68REC)
SMFRCD68 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD68
SMF68FLG 1 1 BI ;HEADER FLAG BYTE
SMF68RTY 1 2 BI ;RECORD TYPE 68
SMF68TME 4 3 BI ;TOD USING FORMAT FROM TIME
* MACRO WITH BIN INTERVAL
SMF68DTE 4 7 PD ;DATE IN PACKED DECIMAL FORMAT
* 00YYDDDF (F IS THE SIGN)
SMF68SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF68JBN 8 15 CH ;JOBNAME
SMF68RST 4 23 BI ;READER START TIME (IN 100THS
* SECONDS)
SMF68RSD 4 27 PD ;READER START DATE
SMF68UIF 8 31 CH ;USER IDENTIFICATION FIELD
SMF68CNM 44 39 CH ;CATALOG NAME
SMF68ONM 44 83 CH ;OLD DATA SET NAME
SMF68NNM 44 127 CH ;NEW DATA SET NAME
![Page 262: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/262.jpg)
DYSMF70 COPY Function
1–254 SMF/RMF Reporting Guide
DYSMF70 COPY Function The DYSMF70 COPY function can be used to print SMF (MF1) type 70 records in two report formats — a long format and a short format. SMF (MF1) type 70 records contain information that is pertinent to SMF (MF1) CPU ACTIVITY. The examples for DYSMF70 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF70 Record Definition COPYLIB(SMF70REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF70 COPY Parameters
Nine parameters can be varied in the DYSMF70 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the MF1 record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 263: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/263.jpg)
DYSMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–255
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF70 COPY Function
DYSMF70 COPY Function: Example 1
Print all SMF (MF1) type 70 records with SMF buffer date and time between 00:05 A.M. and 7:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF70LNG ;RECORD LENGTH
TATUS SMF70END ;END OF FILE
COPY SMF70REC
COPY DYSMF70 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'07:00:00'”
#L=YES #S=NULL
FIN
DYSMF70 COPY Function: Example 2
Print all SMF (MF1) type 70 records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF70LNG ;RECORD LENGTH
STATUS SMF70END ;END OF FILE
COPY SMF70REC
COPY DYSMF70
#S=YES #L=NULL
FIN
![Page 264: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/264.jpg)
DYSMF70 COPY Function
1–256 SMF/RMF Reporting Guide
Record selection logic can be placed between the COPY SMF70REC statement and the COPY DYSMF70 statement. For instance, in the example above the following code:
IF SMF70SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF70 Short Formatted Report
08/10/97 10.43.54 SMF RECORD TYPE 70 MF1 CPU ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.01 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 6
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------
RMF PRODUCT 76 52 1
CPU CONTROL 128 8 1
CPU DATA 136 32 2
ASID DATA 200 520 1
PR/SM PARTITION DATA 720 16 4
PR/SM LOGICAL PROCESSOR 784 32 5
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
CPU CONTROL SECTION
*******************
CPU MODEL NUMBER 3090 CPU VERSION NUMBER 35
NUMBER OF PHYSICAL PROCESSORS ASSIGNED FOR 2 PR/SM - GLOBAL TIME SLICE 0
PR/SM INDICATOR BITS NO INFORMATION
![Page 265: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/265.jpg)
DYSMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–257
DYSMF70 Long Formatted Report (Page 1 of 4)
08/10/97 10.46.38 SMF RECORD TYPE 70 MF1 CPU ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.01 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 6
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 76 52 1
CPU CONTROL 128 8 1
CPU DATA 136 32 2
ASID DATA 200 520 1
PR/SM PARTITION DATA 720 16 4
PR/SM LOGICAL PROCESSOR 784 32 5
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
DURATION OF RMF MEASUREMENT INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
CPU CONTROL SECTION
*******************
CPU MODEL NUMBER 3090 CPU VERSION NUMBER 35
NUMBER OF PHYSICAL PROCESSORS ASSIGNED FOR 2 PR/SM - GLOBAL TIME SLICE 0
PR/SM INDICATOR BITS NO INFORMATION
CPU DATA SECTION
*****************
CPU WAIT TIME IN MICROSECONDS (HEX) 0000000000000000
CPU SERIAL #(6 HEX DIGITS) 172078 NUMBER OF ENTRIES TO THE I/O SLIH 91,508
NUMBER OF TPI WITH CC=1 658 SAMPLES, VECTOR BIT IN PSA IMAGE WAS ON 0
CPU IDENTIFICATION (HEX) 0001
VECTOR CONFIGURATION NO INFORMATION
CONFIGURATION ACTIVITY CPU ONLINE AT END OF INTERVAL
CPU DATA SECTION
****************
CPU WAIT TIME IN MICROSECONDS (HEX) 0000000000000000
CPU SERIAL #(6 HEX DIGITS) 272078 NUMBER OF ENTRIES TO THE I/O SLIH 78,119
NUMBER OF TPI WITH CC=1 2,098 SAMPLES, VECTOR BIT IN PSA IMAGE WAS ON 0
![Page 266: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/266.jpg)
DYSMF70 COPY Function
1–258 SMF/RMF Reporting Guide
CPU IDENTIFICATION (HEX) 0002
VECTOR CONFIGURATION NO INFORMATION
CONFIGURATION ACTIVITY CPU ONLINE AT END OF INTERVAL
DYSMF70 Long Formatted Report (Page 2 of 4)
08/10/97 10.46.38 SMF RECORD TYPE 70 MF1 CPU ACTIVITY LONG FORM PAGE 2
ASID DATA AREA SEC.
*******************
READY VALUES OVER INTERVAL MINIMUM: 1 MAXIMUM: 10 TOTAL: 5,105
THE TIME READYING VALUES WERE 0, 1, 2, 3, .. 15 ARE
0: 0 1: 1,235 2: 962 3: 280 4: 124
5: 49 6: 37 7: 11 8: 7 9: 0
10: 1 11: 0 12: 0 13: 0 14: 0 14+: 0
IN USERS VALUES INTERVAL MINIMUM: 44 MAXIMUM: 54 TOTAL: 130,150
THE COUNT OF TIMES IN USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 706
OUT USERS VALUES INTERVAL MINIMUM: 0 MAXIMUM: 1 TOTAL: 8
THE COUNT OF TIMES OUT USERS WAS:
0 : 2,698 1 -2 : 8 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
WAIT USERS VALUES INTERVAL MINIMUM: 24 MAXIMUM: 32 TOTAL: 75,522
THE COUNT OF TIMES WAIT USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 720 26-30: 1,878 31-35: 108 35+ : 0
BATCH USERS VALUES INTERVAL MINIMUM: 0 MAXIMUM: 9 TOTAL: 12,068
THE COUNT OF TIMES BATCH USERS WAS:
0 : 136 1 -2 : 626 3 -4 : 218 5 -6 : 1,129
7 -8 : 571 9 -10: 26 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
STARTED USERS VALUES INTERVAL MINIMUM: 71 MAXIMUM: 80 TOTAL: 204,530
THE COUNT OF TIMES STARTED USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 2,706
TSO USERS VALUES INTERVAL MINIMUM: 4 MAXIMUM: 5 TOTAL: 12,282
THE COUNT OF TIMES TSO USERS WAS:
![Page 267: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/267.jpg)
DYSMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–259
0 : 0 1 -2 : 0 3 -4 : 1,248 5 -6 : 1,458
7 -8 : 0 9 -10: 0 11-15: 0 16- 0
21-25: 0 26-30: 0 31-35: 0 35+ 0
DYSMF70 Long Formatted Report (Page 3 of 4)
08/10/97 10.46.38 SMF RECORD TYPE 70 MF1 CPU ACTIVITY LONG FORM PAGE 3
L. RDY USERS VALUES INTERVAL MINIMUM: 0 MAXIMUM: 1 TOTAL: 94
THE COUNT OF TIMES LOGICAL RDY USERS WAS:
0 : 2,612 1 -2 : 94 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
L. WAIT USERS VALUES INTERVAL MINIMUM: 1 MAXIMUM: 15 TOTAL: 22,921
THE COUNT OF TIMES LOGICAL WAIT USERS WAS:
0 : 0 1 -2 : 34 3 -4 : 232 5 -6 : 258
7 -8 : 634 9 -10: 1,038 11-15: 510 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME MVSPROD LOGICAL PARTITION NUMBER 1
LOGICAL PROCESSORS ASSIGNED TO PARTITION 2 START OF DATA SECTION BLOCK NUMBER 0
PARTITION FLAGS
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME MVSTEST LOGICAL PARTITION NUMBER 2
LOGICAL PROCESSORS ASSIGNED TO PARTITION 0 START OF DATA SECTION BLOCK NUMBER 2
PARTITION FLAGS
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME VMPROD LOGICAL PARTITION NUMBER 3
LOGICAL PROCESSORS ASSIGNED TO PARTITION 1 START OF DATA SECTION BLOCK NUMBER 2
PARTITION FLAGS
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME PHYSICAL LOGICAL PARTITION NUMBER 0
LOGICAL PROCESSORS ASSIGNED TO PARTITION 2 START OF DATA SECTION BLOCK NUMBER 3
PARTITION FLAGS
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000001851E1C3
VIRTUAL PROCESSOR ADDRESS 1 PROCESSOR RELATIVE SHARE 500
![Page 268: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/268.jpg)
DYSMF70 COPY Function
1–260 SMF/RMF Reporting Guide
VIRTUAL PROCESSOR FLAGS NO INFORMATION
DYSMF70 Long Formatted Report (Page 4 of 4)
08/10/97 10.46.38 SMF RECORD TYPE 70 MF1 CPU ACTIVITY LONG FORM PAGE 4
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000000EF52C8B
VIRTUAL PROCESSOR ADDRESS 2 PROCESSOR RELATIVE SHARE 500
VIRTUAL PROCESSOR FLAGS NO INFORMATION
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000000420C2DD
VIRTUAL PROCESSOR ADDRESS 1 PROCESSOR RELATIVE SHARE 500
VIRTUAL PROCESSOR FLAGS NO INFORMATION
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000000093CDEB
VIRTUAL PROCESSOR ADDRESS 1 PROCESSOR RELATIVE SHARE 0
VIRTUAL PROCESSOR FLAGS NO INFORMATION
DYSMF70 Record Definition COPYLIB(SMF70REC)
SMF70HDR 1 CH ;
REDEFINE AT SMF70HDR
SMF70FLG 1 1 BI ;HEADER FLAG BYTE
* SMF70RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
* SMF70SUT EQU X'40' SUBTYPE UTILIZED IF ON
* SMF70VXA EQU X'04' MVS/XA VERSION IF ON
* SMF70OS EQU X'02' OPERATING SYSTEM IS OS/VS2
* SMF70BFY EQU X'01' PR/SM MACHINE
SMF70RTY 1 2 BI ;RECORD TYPE
SMF70TME 4 3 BI ;TOD RECORD WRITTEN
SMF70DTE 4 7 PD ;DATE RECORD WRITTEN
SMF70SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF70SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF70STY 2 19 BI ;SUBTYPE
SMF70TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF70PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF70PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF70PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF70CCS 4 33 BI ;OFFSET TO CPU CONTROL SECTION
![Page 269: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/269.jpg)
DYSMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–261
SMF70CCL 2 37 BI ;LENGTH OF CPU CONTROL SECTION
SMF70CCN 2 39 BI ;NUMBER OF CPU CONTROL SECTIONS
SMF70CPS 4 41 BI ;OFFSET TO CPU DATA SECTION
SMF70CPL 2 45 BI ;LENGTH OF CPU DATA SECTION
SMF70CPN 2 47 BI ;NUMBER OF CPU DATA SECTIONS
SMF70ASS 4 49 BI ;OFFSET TO ASID DATA SECTION
SMF70ASL 2 53 BI ;LENGTH OF ASID DATA SECTION
SMF70ASN 2 55 BI ;NUMBER OF ASID DATA SECTIONS
SMF70BCS 4 57 BI ;OFFSET TO PR/SM PARTITION DATA SECTION
SMF70BCL 2 61 BI ;LENGTH OF PR/SM PARTITION DATA SECTION
SMF70BCN 2 63 BI ;NUMBER OF PR/SM PARTITION DATA SECTIONS
SMF70BVS 4 65 BI ;OFFSET TO PR/SM PROCESSOR DATA SECTION
SMF70BVL 2 69 BI ;LENGTH OF PR/SM PROCESSOR DATA SECTION
SMF70BVN 2 71 BI ;NUMBER OF PR/SM PROCESSOR DATA SECTIONS
*WORKAREA
SMF70PRO 1 1 CH ;
REDEFINE AT SMF70PRO
SMF70MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF70PRD 8 3 CH ;PRODUCT NAME
SMF70IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF70DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF70INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF70MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF70SAM 4 25 BI ;NUMBER OF SAMPLES
SMF70RV2 2 29 BI ;RESV
SMF70FLA 2 31 BI ;FLAGS
*SMF70CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF70ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF70RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF70CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF70MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF70IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF70PRF 1 50 BI ;PROCESSOR FLAGS
*SMF70QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF70PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF70SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
![Page 270: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/270.jpg)
DYSMF70 COPY Function
1–262 SMF/RMF Reporting Guide
*WORKAREA
SMF70CTL 1 1 CH ;
REDEFINE AT SMF70CTL
SMF70MOD 2 1 CH ;CPU MODEL NUMBER
SMF70VER 1 3 CH ;CPU VERSION NUMBER
REDEFINE AT SMF70VER
SMF70BNP 1 4 CH ;NUMBER OF PHYSICAL PROCESSORS ASSIGNED FOR
* USE BY PR/SM
SMF70INB 1 5 CH ;PR/SM INDICATOR BITS
*SMF70DIF EQU X'80' PR/SM — DIAGNOSE X'204' FAILURE
*SMF70NPC EQU X'40' PR/SM — NUMBER OF PHYS PROCRS HAS CHANGED
*SMF70TSC EQU X'20' PR/SM — GLOBAL TIME SLICE VALUE HAS CHANGED
FILLER 1 6 CH ;RESERVED
SMF70GTS 2 7 CH ;PR/SM — GLOBAL TIME SLICE
*WORKAREA
SMF70CPU 1 1 CH ;
REDEFINE AT SMF70CPU
SMF70WAT 8 1 CH ;CPU WAIT IN TOD FORMAT (BIT 51=1 MICRO)
SMF70CID 2 9 BI ;CPU ID
SMF70CNF 1 11 BI ;CONFIGURATION ACTIVITY
*SMF70PAR EQU 4 CPU WAS VARIED DURING POST PROCESSOR
* DURATION
*SMF70VAC EQU 2 DATA INVALID, CPU VARIED ON OR OFF
*SMF70STA EQU 1 CPU IS CURRENTLY ONLINE
SMF70RV3 1 12 BI ;RES
SMF70SER 3 13 CH ;CPU SERIAL # (6 HEX DIGITS)
SMF70RV4 1 16 BI ;RES
SMF70SLH 4 17 BI ;NUMBER OF ENTRIES TO THE I/O SLIH
SMF70TPI 4 21 BI ;NUMBER OF TPI WITH CC=1
SMF70VFS 4 25 BI ;NUMBER OF SAMPLES WHERE THE BIT
* WAS TURNED ON
SMF70V 1 29 BI ;CONFIGURATION INDICATOR
*SMF70VON EQU X'80' ONLINE INDICATOR
SMF70AL1 3 30 BI ;FOR ALIGNMENT ONLY
*WORKAREA
SMF70AID 1 1 CH ;
REDEFINE AT SMF70AID
SMF70RMN 2 1 BI ;READY MINIMUM VALUE OVER INTERVAL
SMF70RMM 2 3 BI ;READY MAXIMUM VALUE OVER INTERVAL
SMF70RTT 4 5 BI ;READY TOTAL VALUE OVER INTERVAL
SMF70R00 4 9 BI ;COUNT OF TIMES READY VALUE WAS 0
SMF70R01 4 13 BI ;COUNT OF TIMES READY VALUE WAS 1
SMF70R02 4 17 BI ;COUNT OF TIMES READY VALUE WAS 2
SMF70R03 4 21 BI ;COUNT OF TIMES READY VALUE WAS 3
SMF70R04 4 25 BI ;COUNT OF TIMES READY VALUE WAS 4
SMF70R05 4 29 BI ;COUNT OF TIMES READY VALUE WAS 5
SMF70R06 4 33 BI ;COUNT OF TIMES READY VALUE WAS 6
SMF70R07 4 37 BI ;COUNT OF TIMES READY VALUE WAS 7
SMF70R08 4 41 BI ;COUNT OF TIMES READY VALUE WAS 8
![Page 271: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/271.jpg)
DYSMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–263
SMF70R09 4 45 BI ;COUNT OF TIMES READY VALUE WAS 9
SMF70R10 4 49 BI ;COUNT OF TIMES READY VALUE WAS 10
SMF70R11 4 53 BI ;COUNT OF TIMES READY VALUE WAS 11
SMF70R12 4 57 BI ;COUNT OF TIMES READY VALUE WAS 12
SMF70R13 4 61 BI ;COUNT OF TIMES READY VALUE WAS 13
SMF70R14 4 65 BI ;COUNT OF TIMES READY VALUE WAS 14
SMF70R15 4 69 BI ;COUNT OF TIMES READY VALUE WAS 14+
SMF70IMN 2 73 BI ;IN USERS MINIMUM OVER INTERVAL
SMF70IMM 2 75 BI ;IN USERS MAXIMUM OVER INTERVAL
SMF70ITT 4 77 BI ;IN USERS TOTAL VALUE OVER INTERVAL
SMF70I00 4 81 BI ;COUNT OF TIMES IN USERS WAS 0
SMF70I01 4 85 BI ;COUNT OF TIMES IN USERS WAS 1-2
SMF70I02 4 89 BI ;COUNT OF TIMES IN USERS WAS 3-4
SMF70I03 4 93 BI ;COUNT OF TIMES IN USERS WAS 5-6
SMF70I04 4 97 BI ;COUNT OF TIMES IN USERS WAS 7-8
SMF70I05 4 101 BI ;COUNT OF TIMES IN USERS WAS 9-10
SMF70I06 4 105 BI ;COUNT OF TIMES IN USERS WAS 11-15
SMF70I07 4 109 BI ;COUNT OF TIMES IN USERS WAS 16-20
SMF70I08 4 113 BI ;COUNT OF TIMES IN USERS WAS 21-25
SMF70I09 4 117 BI ;COUNT OF TIMES IN USERS WAS 26-30
SMF70I10 4 121 BI ;COUNT OF TIMES IN USERS WAS 31-35
SMF70I11 4 125 BI ;COUNT OF TIMES IN USERS WAS 35+
SMF70OMN 2 129 BI ;OUT USERS MINIMUM OVER INTERVAL
SMF70OMM 2 131 BI ;OUT USERS MAXIMUM OVER INTERVAL
SMF70OTT 4 133 BI ;OUT USERS TOTAL VALUE OVER INTERVAL
SMF70O00 4 137 BI ;COUNT OF TIMES OUT USERS WAS 0
SMF70O01 4 141 BI ;COUNT OF TIMES OUT USERS WAS 1-2
SMF70O02 4 145 BI ;COUNT OF TIMES OUT USERS WAS 3-4
SMF70O03 4 149 BI ;COUNT OF TIMES OUT USERS WAS 5-6
SMF70O04 4 153 BI ;COUNT OF TIMES OUT USERS WAS 7-8
SMF70O05 4 157 BI ;COUNT OF TIMES OUT USERS WAS 9-10
SMF70O06 4 161 BI ;COUNT OF TIMES OUT USERS WAS 11-15
SMF70O07 4 165 BI ;COUNT OF TIMES OUT USERS WAS 16-20
SMF70O08 4 169 BI ;COUNT OF TIMES OUT USERS WAS 21-25
SMF70O09 4 173 BI ;COUNT OF TIMES OUT USERS WAS 26-30
SMF70O10 4 177 BI ;COUNT OF TIMES OUT USERS WAS 31-35
SMF70O11 4 181 BI ;COUNT OF TIMES OUT USERS WAS 35+
SMF70WMN 2 185 BI ;WAIT USERS MINIMUM OVER INTERVAL
SMF70WMM 2 187 BI ;WAIT USERS MAXIMUM OVER INTERVAL
SMF70WTT 4 189 BI ;WAIT USERS TOTAL VALUE OVER INTERVAL
SMF70W00 4 193 BI ;COUNT OF TIMES WAIT USERS WAS 0
SMF70W01 4 197 BI ;COUNT OF TIMES WAIT USERS WAS 1-2
SMF70W02 4 201 BI ;COUNT OF TIMES WAIT USERS WAS 3-4
SMF70W03 4 205 BI ;COUNT OF TIMES WAIT USERS WAS 5-6
SMF70W04 4 209 BI ;COUNT OF TIMES WAIT USERS WAS 7-8
SMF70W05 4 213 BI ;COUNT OF TIMES WAIT USERS WAS 9-10
SMF70W06 4 217 BI ;COUNT OF TIMES WAIT USERS WAS 11-15
SMF70W07 4 221 BI ;COUNT OF TIMES WAIT USERS WAS 16-20
SMF70W08 4 225 BI ;COUNT OF TIMES WAIT USERS WAS 21-25
![Page 272: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/272.jpg)
DYSMF70 COPY Function
1–264 SMF/RMF Reporting Guide
SMF70W09 4 229 BI ;COUNT OF TIMES WAIT USERS WAS 26-30
SMF70W10 4 233 BI ;COUNT OF TIMES WAIT USERS WAS 31-35
SMF70W11 4 237 BI ;COUNT OF TIMES WAIT USERS WAS 35+
SMF70BMN 2 241 BI ;BATCH USERS MINIMUM OVER INTERVAL
SMF70BMM 2 243 BI ;BATCH USERS MAXIMUM OVER INTERVAL
SMF70BTT 4 245 BI ;BATCH USERS TOTAL VALUE OVER INTERVAL
SMF70B00 4 249 BI ;COUNT OF TIMES BATCH USERS WAS 0
SMF70B01 4 253 BI ;COUNT OF TIMES BATCH USERS WAS 1-2
SMF70B02 4 257 BI ;COUNT OF TIMES BATCH USERS WAS 3-4
SMF70B03 4 261 BI ;COUNT OF TIMES BATCH USERS WAS 5-6
SMF70B04 4 265 BI ;COUNT OF TIMES BATCH USERS WAS 7-8
SMF70B05 4 269 BI ;COUNT OF TIMES BATCH USERS WAS 9-10
SMF70B06 4 273 BI ;COUNT OF TIMES BATCH USERS WAS 11-15
SMF70B07 4 277 BI ;COUNT OF TIMES BATCH USERS WAS 16-20
SMF70B08 4 281 BI ;COUNT OF TIMES BATCH USERS WAS 21-25
SMF70B09 4 285 BI ;COUNT OF TIMES BATCH USERS WAS 26-30
SMF70B10 4 289 BI ;COUNT OF TIMES BATCH USERS WAS 31-35
SMF70B11 4 293 BI ;COUNT OF TIMES BATCH USERS WAS 35+
SMF70SMN 2 297 BI ;STARTED USERS MINIMUM OVER INTERVAL
SMF70SMM 2 299 BI ;STARTED USERS MAXIMUM OVER INTERVAL
SMF70STT 4 301 BI ;STARTED USERS TOTAL VALUE OVER INTERVAL
SMF70S00 4 305 BI ;COUNT OF TIMES STARTED USERS WAS 0
SMF70S01 4 309 BI ;COUNT OF TIMES STARTED USERS WAS 1-2
SMF70S02 4 313 BI ;COUNT OF TIMES STARTED USERS WAS 3-4
SMF70S03 4 317 BI ;COUNT OF TIMES STARTED USERS WAS 5-6
SMF70S04 4 321 BI ;COUNT OF TIMES STARTED USERS WAS 7-8
SMF70S05 4 325 BI ;COUNT OF TIMES STARTED USERS WAS 9-10
SMF70S06 4 329 BI ;COUNT OF TIMES STARTED USERS WAS 11-15
SMF70S07 4 333 BI ;COUNT OF TIMES STARTED USERS WAS 16-20
SMF70S08 4 337 BI ;COUNT OF TIMES STARTED USERS WAS 21-25
SMF70S09 4 341 BI ;COUNT OF TIMES STARTED USERS WAS 26-30
SMF70S10 4 345 BI ;COUNT OF TIMES STARTED USERS WAS 31-35
SMF70S11 4 349 BI ;COUNT OF TIMES STARTED USERS WAS 35+
SMF70TMN 2 353 BI ;TSO USERS MINIMUM OVER INTERVAL
SMF70TMM 2 355 BI ;TSO USERS MAXIMUM OVER INTERVAL
SMF70TTT 4 357 BI ;TSO USERS TOTAL VALUE OVER INTERVAL
SMF70T00 4 361 BI ;COUNT OF TIMES TSO USERS WAS 0
SMF70T01 4 365 BI ;COUNT OF TIMES TSO USERS WAS 1-2
SMF70T02 4 369 BI ;COUNT OF TIMES TSO USERS WAS 3-4
SMF70T03 4 373 BI ;COUNT OF TIMES TSO USERS WAS 5-6
SMF70T04 4 377 BI ;COUNT OF TIMES TSO USERS WAS 7-8
SMF70T05 4 381 BI ;COUNT OF TIMES TSO USERS WAS 9-10
SMF70T06 4 385 BI ;COUNT OF TIMES TSO USERS WAS 11-15
SMF70T07 4 389 BI ;COUNT OF TIMES TSO USERS WAS 16-20
SMF70T08 4 393 BI ;COUNT OF TIMES TSO USERS WAS 21-25
SMF70T09 4 397 BI ;COUNT OF TIMES TSO USERS WAS 26-30
SMF70T10 4 401 BI ;COUNT OF TIMES TSO USERS WAS 31-35
SMF70T11 4 405 BI ;COUNT OF TIMES TSO USERS WAS 35+
SMF70LMN 2 409 BI ;LOGICAL RDY USERS MINIMUM
![Page 273: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/273.jpg)
DYSMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–265
SMF70LMM 2 411 BI ;LOGICAL RDY USERS MAXIMUM
SMF70LTT 4 413 BI ;LOGICAL RDY USERS TOTAL
SMF70L00 4 417 BI ;# TIMES LOGICAL RDY USERS WAS 0
SMF70L01 4 421 BI ;# TIMES LOGICAL RDY USERS WAS 1-2
SMF70L02 4 425 BI ;# TIMES LOGICAL RDY USERS WAS 3-4
SMF70L03 4 429 BI ;# TIMES LOGICAL RDY USERS WAS 5-6
SMF70L04 4 433 BI ;# TIMES LOGICAL RDY USERS WAS 7-8
SMF70L05 4 437 BI ;# TIMES LOGICAL RDY USERS WAS 9-10
SMF70L06 4 441 BI ;# TIMES LOGICAL RDY USERS WAS 11-15
SMF70L07 4 445 BI ;# TIMES LOGICAL RDY USERS WAS 16-20
SMF70L08 4 449 BI ;# TIMES LOGICAL RDY USERS WAS 21-25
SMF70L09 4 453 BI ;# TIMES LOGICAL RDY USERS WAS 26-30
SMF70L10 4 457 BI ;# TIMES LOGICAL RDY USERS WAS 31-35
SMF70L11 4 461 BI ;# TIMES LOGICAL RDY USERS WAS 35+
SMF70AMN 2 465 BI ;LOGICAL WAIT USERS MINIMUM
SMF70AMM 2 467 BI ;LOGICAL WAIT USERS MAXIMUM
SMF70ATT 4 469 BI ;LOGICAL WAIT USERS TOTAL
SMF70A00 4 473 BI ;# TIME LOGICAL WAIT USERS WAS 0
SMF70A01 4 477 BI ;# TIME LOGICAL WAIT USERS WAS 1-2
SMF70A02 4 481 BI ;# TIME LOGICAL WAIT USERS WAS 3-4
SMF70A03 4 485 BI ;# TIME LOGICAL WAIT USERS WAS 5-6
SMF70A04 4 489 BI ;# TIME LOGICAL WAIT USERS WAS 7-8
SMF70A05 4 493 BI ;# TIME LOGICAL WAIT USERS WAS 9-10
SMF70A06 4 497 BI ;# TIME LOGICAL WAIT USERS WAS 11-15
SMF70A07 4 501 BI ;# TIME LOGICAL WAIT USERS WAS 16-20
SMF70A08 4 505 BI ;# TIME LOGICAL WAIT USERS WAS 21-25
SMF70A09 4 509 BI ;# TIME LOGICAL WAIT USERS WAS 26-30
SMF70A10 4 513 BI ;# TIME LOGICAL WAIT USERS WAS 31-35
SMF70A11 4 517 BI ;# TIME LOGICAL WAIT USERS WAS 35+
*
SMF70PMN 2 521 BI ;MINIMUM NUMBER OF ASCH ADDRESS SPACES
SMF70PMM 2 523 BI ;MAXIMUM NUMBER OF ASCH ADDRESS SPACES
SMF70PTT 4 525 BI ;TOTAL NUMBER OF ASCH ADDRESS SPACES
SMF70P00 4 529 BI ;TIMES WHEN 0 ASCH ADDRESS SPACES WERE FOUND
SMF70P01 4 533 BI ;TIMES WHEN 1 - 2 ASCH ADDRESS SPACES WERE FOUND
SMF70P02 4 537 BI ;TIMES WHEN 3 - 4 ASCH ADDRESS SPACES WERE FOUND
SMF70P03 4 541 BI ;TIMES WHEN 5 - 6 ASCH ADDRESS SPACES WERE FOUND
SMF70P04 4 545 BI ;TIMES WHEN 7 - 8 ASCH ADDRESS SPACES WERE FOUND
SMF70P05 4 549 BI ;TIMES WHEN 9 -10 ASCH ADDRESS SPACES WERE FOUND
SMF70P06 4 553 BI ;TIMES WHEN 11-15 ASCH ADDRESS SPACES WERE FOUND
SMF70P07 4 557 BI ;TIMES WHEN 16-20 ASCH ADDRESS SPACES WERE FOUND
SMF70P08 4 561 BI ;TIMES WHEN 21-25 ASCH ADDRESS SPACES WERE FOUND
SMF70P09 4 565 BI ;TIMES WHEN 26-30 ASCH ADDRESS SPACES WERE FOUND
SMF70P10 4 569 BI ;TIMES WHEN 31-35 ASCH ADDRESS SPACES WERE FOUND
SMF70P11 4 573 BI ;TIMES WHEN 36-- ASCH ADDRESS SPACES WERE FOUND
**
WORKAREA
SMF70BCT 1 1 CH ;
REDEFINE AT SMF70BCT
![Page 274: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/274.jpg)
DYSMF70 COPY Function
1–266 SMF/RMF Reporting Guide
SMF70LPM 8 1 CH ;LOGICAL PARTITION NAME
SMF70LPN 1 9 CH ;LOGICAL PARTITION NUMBER
SMF70PFG 1 10 CH ;PARTITION FLAGS
*SMF70PDV EQU X'80' PARTITION DEACTIVATED DURING INTERVAL
*SMF70NVC EQU X'40' NUMBER OF LOGICAL PROCRS HAS CHANGED
SMF70BDN 2 11 CH ;NUMBER OF BFY DATA SECTIONS FOR PARTITION
SMF70BDS 4 13 CH ;START OF DATA SECTION BLOCK NUMBER
*WORKAREA
SMF70BPD 1 1 CH ;
REDEFINE AT SMF70BPD
SMF70PDT 8 1 CH ;VIRTUAL PROCESSOR DISPATCH TIME
SMF70VPA 2 9 CH ;VIRTUAL PROCESSOR ADDRESS
SMF70BPS 2 11 CH ;PROCESSOR RELATIVE SHARE
SMF70VPF 1 13 CH ;VIRTUAL PROCESSOR FLAGS
*SMF70WSA EQU X'80' WAIT STATE ASSIST STATE ENABLED
*SMF70WSC EQU X'40' WAIT STATE ASSIST STATE CHANGED DURING INTV
*SMF70RSC EQU X'20' RELATIVE SHARE CHANGED DURING INTERVAL
FILLER 3 14 CH ;RESERVED
SMF70EDT 8 17 CH ;LOGICAL PROCESSOR EFFECTIVE DISPATCH TIME
![Page 275: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/275.jpg)
DYSMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–267
DYSMF71 COPY Function The DYSMF71 COPY function can be used to print SMF (MF1) type 71 records in two report formats — a long format and a short format. SMF (MF1) type 71 records contain information that is pertinent to SMF (MF1) PAGING ACTIVITY. The examples for DYSMF71 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF71 Record Definition COPYLIB(SMF71REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF71 COPY Parameters
Nine parameters can be varied in the DYSMF71 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF (MF1) record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 276: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/276.jpg)
DYSMF71 COPY Function
1–268 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF71 COPY Function
DYSMF71 COPY Function: Example 1
Print all SMF (MF1) type 71 records with SMF buffer date and time between 00:05 A.M. and 7:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF71LNG ;RECORD LENGTH
STATUS SMF71END ;END OF FILE
COPY SMF71REC
COPY DYSMF71 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'07:00:00'”
#L=YES #S=NULL
FIN
DYSMF71 COPY Function: Example 2
Print all SMF (MF1) type 71 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF71LNG ;RECORD LENGTH
STATUS SMF71END ;END OF FILE
COPY SMF71REC
COPY DYSMF71
#S=YES #L=NULL
FIN
![Page 277: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/277.jpg)
DYSMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–269
Record selection logic can be placed between the COPY SMF71REC statement and the COPY DYSMF71 statement. For instance, in the example shown above the following code:
IF SMF71SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF71 Short Formatted Report
08/10/97 14.07.17 SMF RECORD TYPE 71 PAGING ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:09:06.02 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
----------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
PAGING DATA 104 536 1
SWAP PLACEMENT 640 24 11
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
PAGING DATA SECTION
*******************
NON-VIO, NON-SWAP PAGE-INS 1,526 NON-VIO PAGE-OUTS PERFORMED IN COMMON AREA 0
NON-VIO, NON-SWAP PAGE-OUTS 0 NON-VIO PAGE RECLAIMS IN COMMON AREA 5
NON-VIO, NON-SWAP PAGE RECLAIMS 771 NON-VIO NON-SWAP, LPA PAGE-INS 12
ADDRESS SPACE SWAP SEQUENCES 25 NON-VIO NON-SWAP, LPA PAGE RECLAIMS 5
SWAP PLACEMENT SECTION
**********************
SWAP TOTAL PHYSICAL SWAPS LOGICAL SWAPS LOGICAL SWAPS PHYSICAL SWAPS TOTAL PHYSICAL SWAPS
PLACEMENT NUMBER DIRECTED TO PHYSICALLY PHYSICALLY DIRECTED TO THAT MIGRATED FROM
SECTION OF SWAP AUXILIARY SWAPPED TO SWAPPED TO EXPANDED STORAGE EXPANDED STORAGE
NUMBER CANDIDATES STORAGE EXPANDED STORAGE AUXILIARY STORAGE TO AUXILIARY STORAGE
-----------------------------------------------------------------------------------------------------------------------------
![Page 278: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/278.jpg)
DYSMF71 COPY Function
1–270 SMF/RMF Reporting Guide
01 533 0 0 0 0 0
02 136 0 4 0 2 0
03 1,286 0 3 0 1 0
04 0 0 0 0 0 0
05 0 0 0 0 0 0
06 311 0 8 0 3 0
07 0 0 0 0 0 0
08 0 0 0 0 0 0
09 0 0 0 0 0 0
10 2 0 0 0 0 0
11 4 0 0 0 4 0
DYSMF71 Long Formatted Report (Page 1 of 4)
08/10/97 14.20.20 SMF RECORD TYPE 71 PAGING ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:09:06.02 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
PAGING DATA 104 536 1
SWAP PLACEMENT 640 24 11
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
DURATION OF RMF MEASUREMENT INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 271
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 279: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/279.jpg)
DYSMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–271
DYSMF71 Long Formatted Report (Page 2 of 4)
08/10/97 14.20.20 SMF RECORD TYPE 71 PAGING ACTIVITY LONG FORM PAGE 2
PAGING DATA SECTION
*******************
NON-VIO, NON-SWAP PAGE-INS 1,526 NON-VIO PAGE-OUTS PERFORMED IN COMMON AREA 0
NON-VIO, NON-SWAP PAGE-OUTS 0 NON-VIO PAGE RECLAIMS IN COMMON AREA 5
NON-VIO, NON-SWAP PAGE RECLAIMS 771 NON-VIO NON-SWAP, LPA PAGE-INS 12
ADDRESS SPACE SWAP SEQUENCES 25 NON-VIO NON-SWAP, LPA PAGE RECLAIMS 5
PAGES SWAPPED IN 283 PAGE FRAMES AVAILABLE IN REAL STORAGE 193
PAGES SWAPPED OUT 0 PAGE FRAMES DEFINED IN REAL STORAGE 18,390
VIO PAGES IN 0 TOTAL NUMBER OF LOCAL PAGE DATA SET SLOTS 10,000
VIO PAGES OUT 0 NUMBER OF LOCAL PAGE DATA SET SLOTS
VIO PAGE RECLAIMS 3 ALLOCATED TO VIO PRIVATE AREA PAGES 60
NUMBER OF STORAGE PAGE SLOTS THAT NUMBER OF LOCAL PAGE DATA SET SLOTS
HAVE NOT BEEN ALLOCATED 170,742 ALLOCATED TO VIO NON-PRIVATE AREA PAGES 39,198
NON-VIO PAGE-INS PERFORMED IN COMMON AREA 28
NUMBER OF FRAMES IN NUCLEUS 810 MINIMUM TOTAL NUMBER OF PAGEABLE FRAMES 18,390
MINIMUM NUMBER OF UNUSED PAGE FRAMES 36 MAXIMUM TOTAL NUMBER OF PAGEABLE FRAMES 18,390
MAXIMUM NUMBER OF UNUSED PAGE FRAMES 1,622 AVERAGE TOTAL NUMBER OF PAGEABLE FRAMES 18,390
AVERAGE NUMBER OF UNUSED PAGE FRAMES 353 MINIMUM NUMBER OF SQA FIXED FRAMES 1,160
MINIMUM NUMBER OF CSA PAGEABLE FRAMES 896 MAXIMUM NUMBER OF SQA FIXED FRAMES 1,167
MAXIMUM NUMBER OF CSA PAGEABLE FRAMES 1,049 AVERAGE NUMBER OF SQA FIXED FRAMES 1,164
AVERAGE NUMBER OF CSA PAGEABLE FRAMES 1,001 MINIMUM NUMBER OF CSA FIXED FRAMES 129
![Page 280: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/280.jpg)
DYSMF71 COPY Function
1–272 SMF/RMF Reporting Guide
DYSMF71 Long Formatted Report (Page 3 of 4)
08/10/97 14.20.20 SMF RECORD TYPE 71 PAGING ACTIVITY LONG FORM PAGE 3
MIN ADDR SPACE PAGEABLE FRAMES 10,796 MAXIMUM NUMBER OF CSA FIXED FRAMES 136
MAX ADDR SPACE PAGEABLE FRAMES 2,533 AVERAGE NUMBER OF CSA FIXED FRAMES 129
AVG ADDR SPACE PAGEABLE FRAMES 2,059 MIN ADDRESS SPACE FIXED FRAMES (W/O LSQA) 454
MAX ADDRESS SPACE FIXED FRAMES (W/O LSQA) 1,322 AVG USER VIO AUXILIARY SLOTS 60
AVG ADDRESS SPACE FIXED FRAMES (W/O LSQA) 509 MIN USER MEMORY AUXILIARY SLOTS 39,211
MINIMUM TOTAL NUMBER OF FIXED FRAMES 4,280 MAX USER MEMORY AUXILIARY SLOTS 42,189
MAXIMUM TOTAL NUMBER OF FIXED FRAMES 5,249 AVG USER MEMORY AUXILIARY SLOTS 40,665
AVERAGE TOTAL NUMBER OF FIXED FRAMES 4,485 MINIMUM UNAVAILABLE(BAD) USER SLOTS 0
MIN AVAILABLE USER AUXILIARY SLOTS 167,751 MAXIMUM UNAVAILABLE(BAD) USER SLOTS 0
MAX AVAILABLE USER AUXILIARY SLOTS 170,729 AVERAGE UNAVAILABLE(BAD) USER SLOTS 0
AVG AVAILABLE USER AUXILIARY SLOTS 169,274 MIN TOTAL USER AUXILIARY SLOTS 210,000
MIN USER VIO AUXILIARY SLOTS 60 MAX TOTAL USER AUXILIARY SLOTS 210,000
MAX USER VIO AUXILIARY SLOTS 60 MIN LPA FIXED FRAMES 95
INVALID SAMPLES SKIPPED BECAUSE OF INVALID SAMPLES SKIPPED BECAUSE OF
ERRORS AT THE RSM FIXED FRAMES NEGATIVE VALUES AT THE CALCULATION
COUNTING INTERFACE (IARXCNTF) 0 OF THE FIXED CSA FRAMES COUNT 0
TOTAL VIO PAGES WRITTEN TO EXT STORAGE 16 MAX LPA FIXED FRAMES 96
TOTAL VIO PAGES MIGRATED FROM EXT STORAGE 0 AVG LPA FIXED FRAMES 95
TOTAL VIO PAGES READ FROM EXT STORAGE 10 MIN LSQA FIXED FRAMES 2,422
MIN NUMBER OF VIO PAGES IN EXPANDED STORAGE MAX LSQA FIXED FRAMES 2,715
MAX NUMBER OF VIO PAGES IN EXPANDED STORAGE AVG LSQA FIXED FRAMES 2,587
AVG NUMBER OF VIO PAGES IN EXPANDED STORAGE MIN NUMBER OF FIXED FRAMES BELOW 16 MEG 711
MIN LPA PAGEABLE FRAMES 997 MAX NUMBER OF FIXED FRAMES BELOW 16 MEG 1,517
MAX LPA PAGEABLE FRAMES 1,336 AVG NUMBER OF FIXED FRAMES BELOW 16 MEG 769
![Page 281: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/281.jpg)
DYSMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–273
DYSMF71 Long Formatted Report (Page 4 of 4)
08/10/97 14.20.20 SMF RECORD TYPE 71 PAGING ACTIVITY LONG FORM PAGE 4
SWAP PLACEMENT SECTION
**********************
AVG LPA PAGEABLE FRAMES 1,173 TOTAL PAGE MOVES 1,190
SRM OPT MEMBER NAME IEAOPT00 MAX VALUE HIGH UIC 255
TOTAL PAGE MOVES TO ES 11,960 AVG VALUE HIGH UIC. SCALE FACTOR IS -1 2,529
TOTAL MIGRATIONS ES TO AUX 0 MIN VALUE MIGRATION AGE 26,218
MIN ES SLOTS AVAILABLE 2,088 MAX VALUE MIGRATION AGE 26,218
MAX ES SLOTS AVAILABLE 10,838 AVG VALUE MIGRATION AGE. SCALE FACTOR IS -1 262,180
AVG ES SLOTS AVAILABLE 7,470 NUMBER ES SLOTS INSTALLED 20,480
MIN VALUE HIGH UIC 215 NUMBER ES SLOTS ONLINE AT END OF INTERVAL 20,480
TOTAL PAGES READ FROM EXT STORAGE 14,457
SWAP TOTAL PHYSICAL SWAPS LOGICAL SWAPS LOGICAL SWAPS PHYSICAL SWAPS TOTAL PHYSICAL SWAPS
PLACEMENT NUMBER DIRECTED TO PHYSICALLY PHYSICALLY DIRECTED TO THAT MIGRATED FROM
SECTION OF SWAP AUXILIARY SWAPPED TO SWAPPED TO EXPANDED STORAGE EXPANDED STORAGE
NUMBER CANDIDATES STORAGE EXPANDED STORAGE AUXILIARY STORAGE TO AUXILIARY STORAGE
------------------------------------------------------------------------------------------------------------------------------
01 533 0 0 0 0 0
02 136 0 4 0 2 0
03 1,286 0 3 0 1 0
04 0 0 0 0 0 0
05 0 0 0 0 0 0
06 311 0 8 0 3 0
07 0 0 0 0 0 0
08 0 0 0 0 0 0
09 0 0 0 0 0 0
10 2 0 0 0 0 0
11 4 0 0 0 4 0
![Page 282: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/282.jpg)
DYSMF71 COPY Function
1–274 SMF/RMF Reporting Guide
DYSMF71 Record Definition COPYLIB(SMF71REC)
SMF71HDR 1 CH ;
REDEFINE AT SMF71HDR
SMF71FLG 1 1 BI ;HEADER FLAG BYTE
*SMF71RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF71SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF71VXA EQU X'04' MVS/XA VERSION IF ON
*SMF71OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF71BFY EQU X'01' PR/SM MACHINE
SMF71RTY 1 2 BI ;RECORD TYPE
SMF71TME 4 3 BI ;TOD RECORD WRITTEN
SMF71DTE 4 7 PD ;DATE RECORD WRITTEN
SMF71SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF71SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF71STY 2 19 BI ;SUBTYPE
SMF71TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF71PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF71PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF71PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF71PDS 4 33 BI ;OFFSET TO PAGING DATA SECTION
SMF71PDL 2 37 BI ;LENGTH OF PAGING DATA SECTION
SMF71PDN 2 39 BI ;NUMBER OF PAGING DATA SECTIONS
SMF71SWS 4 41 BI ;OFFSET TO SWAP PLACEMENT DATA SECTION
SMF71SWL 2 45 BI ;LENGTH OF SWAP PLACEMENT DATA SECTION
SMF71SWN 2 47 BI ;NUMBER OF SWAP PLACEMENT DATA SECTIONS
SMF71PRO 1 1 CH ;
REDEFINE AT SMF71PRO
SMF71MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF71PRD 8 3 CH ;PRODUCT NAME
SMF71IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF71DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF71INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF71MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF71SAM 4 25 BI ;NUMBER OF SAMPLES
SMF71RV2 2 29 BI ;RESV
SMF71FLA 2 31 BI ;FLAGS
*SMF71CNV EQU X'80' DATA CONVERT FROM VER.2
*SMF71ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
![Page 283: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/283.jpg)
DYSMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–275
SMF71RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF71CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF71MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF71IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF71PRF 1 50 BI ;PROCESSOR FLAGS
*SMF71QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF71PTN 1 51 BI ;PR/SM — PARTITION NUMBER
FILLER 1 52 BI ;RESERVED
SMF71PAG 1 1 CH ;
REDEFINE AT SMF71PAG
SMF71PIN 4 1 BI ;PAGE-INS EXCLUDING VIO AND SWAP
SMF71POT 4 5 BI ;PAGE-OUTS EXCLUDING VIO AND SWAP
SMF71PRC 4 9 BI ;PAGE RECLAIMS EXCLUDING VIO
SMF71SSQ 4 13 BI ;# OF MEMORY SWAP SEQUENCES
SMF71SIN 4 17 BI ;SWAP-IN PAGES
SMF71SOT 4 21 BI ;SWAP-OUT PAGES
SMF71VIN 4 25 BI ;VIO PAGE-INS
SMF71VOT 4 29 BI ;VIO PAGE-OUTS
SMF71VRC 4 33 BI ;VIO PAGE RECLAIMS
SMF71SNI 4 37 BI ;SYSTEM PAGEABLE AREAS NON-VIO PAGE-INS
SMF71SNO 4 41 BI ;SPA NON-VIO PAGE-OUTS
SMF71SNR 4 45 BI ;SPA NON-VIO PAGE RECLAIMS
SMF71LNI 4 49 BI ;LPA PAGE-INS, NON-VIO AND NON-SWAP
SMF71LNR 4 53 BI ;LPA PAGE-RECLAIMS, NON-VIO AND NON-SWAP
SMF71AFC 4 57 BI ;MAIN STORAGE AVAILABLE FRAME COUNT
SMF71TFC 4 61 BI ;MAIN STORAGE TOTAL FRAME COUNT
SMF71TSC 4 65 BI ;AUX TOTAL SLOT COUNT
SMF71DSC 4 69 BI ;AUX DATA SET SLOT COUNT
SMF71VSC 4 73 BI ;AUX VIRTUAL MEMORY SLOT COUNT
SMF71NSC 4 77 BI ;AUX UNALLOCATED SLOT COUNT
SMF71FIN 4 81 BI ;NUMBER FRAMES IN NUCLEUS
SMF71MNF 4 85 BI ;MIN AVAILABLE PAGE FRAMES
SMF71MXF 4 89 BI ;MAX AVAILABLE PAGE FRAMES
SMF71AVF 4 93 BI ;AVG AVAILABLE PAGE FRAMES
SMF71MNP 4 97 BI ;MIN CSA PAGEABLE FRAMES
SMF71MXP 4 101 BI ;MAX CSA PAGEABLE FRAMES
SMF71AVP 4 105 BI ;AVG CSA PAGEABLE FRAMES
SMF71MNS 4 109 BI ;MIN ADDR SPACE PAGEABLE FRAMES
SMF71MXS 4 113 BI ;MAX ADDR SPACE PAGEABLE FRAMES
SMF71AVS 4 117 BI ;AVG ADDR SPACE PAGEABLE FRAMES
SMF71MNT 4 121 BI ;MIN TOTAL PAGEABLE FRAMES
SMF71MXT 4 125 BI ;MAX TOTAL PAGEABLE FRAMES
SMF71AVT 4 129 BI ;AVG TOTAL PAGEABLE FRAMES
SMF71MNQ 4 133 BI ;MIN SQA FIXED FRAMES
SMF71MXQ 4 137 BI ;MAX SQA FIXED FRAMES
![Page 284: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/284.jpg)
DYSMF71 COPY Function
1–276 SMF/RMF Reporting Guide
SMF71AVQ 4 141 BI ;AVG SQA FIXED FRAMES
SMF71MNC 4 145 BI ;MIN CSA FIXED FRAMES
SMF71MXC 4 149 BI ;MAX CSA FIXED FRAMES
SMF71AVC 4 153 BI ;AVG CSA FIXED FRAMES
SMF71MNR 4 157 BI ;MIN ADDRESS SPACE FIXED FRAMES (W/O LSQA)
SMF71MXR 4 161 BI ;MAX ADDRESS SPACE FIXED FRAMES (W/O LSQA)
SMF71AVR 4 165 BI ;AVG ADDRESS SPACE FIXED FRAMES (W/O LSQA)
SMF71MNX 4 169 BI ;MIN TOTAL FIXED FRAMES
SMF71MXX 4 173 BI ;MAX TOTAL FIXED FRAMES
SMF71AVX 4 177 BI ;AVG TOTAL FIXED FRAMES
SMF71MNU 4 181 BI ;MIN AVAILABLE USER AUXILIARY SLOTS
SMF71MXU 4 185 BI ;MAX AVAILABLE USER AUXILIARY SLOTS
SMF71AVU 4 189 BI ;AVG AVAILABLE USER AUXILIARY SLOTS
SMF71MNV 4 193 BI ;MIN USER VIO AUXILIARY SLOTS
SMF71MXV 4 197 BI ;MAX USER VIO AUXILIARY SLOTS
SMF71AVV 4 201 BI ;AVG USER VIO AUXILIARY SLOTS
SMF71MNM 4 205 BI ;MIN USER MEMORY AUXILIARY SLOTS
SMF71MXM 4 209 BI ;MAX USER MEMORY AUXILIARY SLOTS
SMF71AVM 4 213 BI ;AVG USER MEMORY AUXILIARY SLOTS
SMF71MNB 4 217 BI ;MINIMUM UNAVAILABLE (BAD) USER SLOTS
SMF71MXB 4 221 BI ;MAXIMUM UNAVAILABLE (BAD) USER SLOTS
SMF71AVB 4 225 BI ;AVERAGE UNAVAILABLE (BAD) USER SLOTS
SMF71MNA 4 229 BI ;MIN TOTAL USER AUXILIARY SLOTS
SMF71MXA 4 233 BI ;MAX TOTAL USER AUXILIARY SLOTS
SMF71IS1 2 237 BI ;INVALID SAMPLE TO BE SKIPPED BECAUSE THERE WERE
* ERRORS AT THE RSM FIXED FRAMES COUNTING
* INTERFACE (IARXCNTF)
SMF71IS2 2 239 BI ;INVALID SAMPLE TO BE SKIPPED BECAUSE THERE WERE
* NEGATIVE VALUES AT THE CALCULATION OF THE
* FIXED CSA FRAMES COUNT
SMF71VME 4 241 BI ;TOTAL VIO PAGES WRITTEN TO EXT STORAGE
SMF71VMG 4 245 BI ;TOTAL VIO PAGES MIGRATED FROM EXT STORAGE
*S
MF71VRE 4 249 BI ;TOTAL VIO PAGES READ FROM EXT STORAGE
SMF71MVE 4 253 BI ;MINIMUM NUMBER OF VIO PAGES IN EXP. STR.
*S
MF71XVE 4 257 BI ;MAXIMUM NUMBER OF VIO PAGES IN EXP. STR.
*S
MF71AVE 4 261 BI ;AVERAGE NUMBER OF VIO PAGES IN EXP. STR.
*
SMF71RSS 4 265 BI ;NUMBER REAL STORAGE SWAPS
* NOT USED AS OF RMF330
SMF71EXS 4 269 BI ;NUMBER OF EXCHANGE SWAPS BASED
* ON RECOMMENDATION VALUE
* NOT USED AS OF RMF330
SMF71EES 4 273 BI ;NUMBER OF ENQUEUE EXCHANGE SWAPS
* NOT USED AS OF RMF330
SMF71TOS 4 277 BI ;NO. TERMINAL WAITS (OUTPUT) CANDIDATES
* NOT USED AS OF RMF330
![Page 285: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/285.jpg)
DYSMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–277
SMF71TXS 4 281 BI ;NUMBER OF TRANSITION SWAPS
* NOT USED AS OF RMF330
SMF71LGS 4 285 BI ;NUMBER OF LOGICAL SWAPS
* NOT USED AS OF RMF330
SMF71LFS 4 289 BI ;NUMBER OF DETECTED LONG THINK TIME SWAPS
* NOT USED AS OF RMF330
SMF71LSS 4 293 BI ;NO. OF LOGICAL SWAPS OUTSTANDING AT START
* OF INTERVAL
* NOT USED AS OF RMF330
SMF71LSE 4 297 BI ;NO. OF LOGICAL SWAPS OUTSTANDING AT END
* OF INTERVAL
* NOT USED AS OF RMF330
SMF71NLP 4 301 BI ;MIN LPA PAGEABLE FRAMES
SMF71XLP 4 305 BI ;MAX LPA PAGEABLE FRAMES
SMF71ALP 4 309 BI ;AVG LPA PAGEABLE FRAMES
SMF71NLF 4 313 BI ;MIN LPA FIXED FRAMES
SMF71XLF 4 317 BI ;MAX LPA FIXED FRAMES
SMF71ALF 4 321 BI ;AVG LPA FIXED FRAMES
SMF71NLS 4 325 BI ;MIN LSQA FIXED FRAMES
SMF71XLS 4 329 BI ;MAX LSQA FIXED FRAMES
SMF71ALS 4 333 BI ;AVG LSQA FIXED FRAMES
SMF71MNL 4 337 BI ;MIN NUMBER OF FIXED FRAMES BELOW 16 MEG
SMF71MXL 4 341 BI ;MAX NUMBER OF FIXED FRAMES BELOW 16 MEG
SMF71AVL 4 345 BI ;AVG NUMBER OF FIXED FRAMES BELOW 16 MEG
SMF71PMV 4 349 BI ;TOTAL PAGE MOVES
SMF71OPT 8 353 CH ;SRM OPT MEMBER NAME
SMF71PES 4 361 BI ;TOTAL PAGE MOVES TO ES
SMF71PEA 4 365 BI ;TOTAL MIGRATIONS ES TO AUX
SMF71AMN 4 369 BI ;MIN ES SLOTS AVAILABLE
SMF71AMX 4 373 BI ;MAX ES SLOTS AVAILABLE
SMF71ASA 4 377 BI ;AVG ES SLOTS AVAILABLE
SMF71LIC 4 381 BI ;MIN VALUE HIGH UIC
SMF71HIC 4 385 BI ;MAX VALUE HIGH UIC
SMF71ACA 4 389 BI ;AVG VALUE HIGH UIC
* SCALE FACTOR IS -1
SMF71LMA 4 393 BI ;MIN VALUE MIGRATION AGE
SMF71HMA 4 397 BI ;MAX VALUE MIGRATION AGE
SMF71AMA 4 401 BI ;AVG VALUE MIGRATION AGE
* SCALE FACTOR IS -1
SMF71CF 4 405 BI ;NUMBER ES SLOTS INSTALLED
SMF71OLE 4 409 BI ;NUMBER ES SLOTS ONLINE AT END OF INTERVAL
SMF71RES 4 413 BI ;TOTAL PAGES READ FROM EXT STORAGE
SMF71MSR 4 417 BI ;MINIMUM NUMBER SQA PAGES IN CENTRAL (REAL) STR.
SMF71XSR 4 421 BI ;MAXIMUM NUMBER SQA PAGES IN CENTRAL (REAL) STR.
SMF71ASR 4 425 BI ;AVERAGE NUMBER SQA PAGES IN CENTRAL (REAL) STR.
SMF71MSE 4 429 BI ;MINIMUM NUMBER SQA PAGES IN EXPANDED STORAGE
SMF71XSE 4 433 BI ;MAXIMUM NUMBER SQA PAGES IN EXPANDED STORAGE
SMF71ASE 4 437 BI ;AVERAGE NUMBER SQA PAGES IN EXPANDED STORAGE
SMF71LME 4 441 BI ;MINIMUM NUMBER OF LPA PAGES IN EXP. STR.
![Page 286: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/286.jpg)
DYSMF71 COPY Function
1–278 SMF/RMF Reporting Guide
SMF71LXE 4 445 BI ;MAXIMUM NUMBER OF LPA PAGES IN EXP. STR.
SMF71LAE 4 449 BI ;AVERAGE NUMBER OF LPA PAGES IN EXP. STR.
SMF71CME 4 453 BI ;MINIMUM NUMBER OF CSA PAGES IN EXP. STR.
SMF71CXE 4 457 BI ;MAXIMUM NUMBER OF CSA PAGES IN EXP. STR.
SMF71CAE 4 461 BI ;AVERAGE NUMBER OF CSA PAGES IN EXP. STR.
SMF71MLR 4 465 BI ;MINIMUM NUMBER OF LSQA PAGES IN CENTRAL REAL S.
SMF71XLR 4 469 BI ;MAXIMUM NUMBER OF LSQA PAGES IN CENTRAL REAL S.
SMF71ALR 4 473 BI ;AVERAGE NUMBER OF LSQA PAGES IN CENTRAL REAL S.
SMF71MLE 4 477 BI ;MINIMUM NUMBER OF LSQA PAGES IN EXPANDED STR.
SMF71XLE 4 481 BI ;MAXIMUM NUMBER OF LSQA PAGES IN EXPANDED STR.
SMF71ALE 4 485 BI ;AVERAGE NUMBER OF LSQA PAGES IN EXPANDED STR.
SMF71RME 4 489 BI ;MINIMUM REG + SWA PAGES IN EXPANDED STORAGE
SMF71RXE 4 493 BI ;MAXIMUM REG + SWA PAGES IN EXPANDED STORAGE
SMF71RAE 4 497 BI ;AVERAGE REG + SWA PAGES IN EXPANDED STORAGE
SMF71ISC 4 501 BI ;NUMBER OF INCORRECT SAMPLES RETURNED FROM C. S.
SMF71HME 4 505 BI ;TOTAL HYPERSPACE PAGES WRITTEN TO EXP. STR.
SMF71HRE 4 509 BI ;TOTAL HYPERSPACE PAGES READ FROM EXP. STR.
SMF71HMG 4 513 BI ;TOTAL HYPERSPACE PAGES MIGRATED FROM EXP. STR
;TO AUXILIARY STORAGE
SMF71HOT 4 517 BI ;NUMBER OF HYPERSPACE PAGE-OUTS
SMF71HIN 4 521 BI ;NUMBER OF HYPERSPACE PAGE-INS
SMF71MHE 4 525 BI ;MINIMUM NUMBER OF HYPERSPACE PAGES IN EXP. STR
SMF71XHE 4 529 BI ;MAXIMUM NUMBER OF HYPERSPACE PAGES IN EXP. STR
SMF71AHE 4 533 BI ;AVERAGE NUMBER OF HYPERSPACE PAGES IN EXP. STR.
SMF71BLP 4 537 BI ;NUMBER OF BLOCKED PAGES PAGED IN
SMF71BLK 4 541 BI ;NUMBER OF BLOCKS PAGED IN
SMF71PWS 4 545 BI ;NUMBER OF PRIMARY WORKING-SET PAGES MIGRATED
;FROM EXPANDED STORAGE
SMF71FNM 4 549 BI ;NUMBER OF EXPANDED STORAGE FRAMES FREED WITHOUT
;MIGRATION
SMF71SWP 1 1 CH ;
REDEFINE AT SMF71SWP
SMF71TOT 4 1 BI ;NUMBER OF TOTAL SWAP CANDIDATES
SMF71AXD 4 5 BI ;PHYSICAL SWAPS DIRECTLY TO AUX STORAGE
SMF71LES 4 9 BI ;OF LOGICALLY SWAPPED, TOTAL NUMBER PHYSI-
* CALLY SWAPPED TO EXTENDED STORAGE
SMF71LAX 4 13 BI ;OF LOGICALLY SWAPPED, TOTAL NUMBER PHYSI-
* CALLY SWAPPED TO AUX STORAGE
SMF71ESD 4 17 BI ;PHYSICAL SWAPS DIRECTLY TO EXTENDED STOR
SMF71MIG 4 21 BI ;NUMBER OF PHYSICALLY SWAPPED MIGRATED
* FROM EXTENDED TO AUX STORAGE
![Page 287: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/287.jpg)
DYSMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–279
DYSMF72 COPY Function The DYSMF72 COPY function can be used to print SMF (MF1) type 72 records in two report formats — a long format and a short format. SMF (MF1) type 72 records contain information that is pertinent to SMF (MF1) WORKLOAD ACTIVITY. The examples for DYSMF72 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF72 Record Definition COPYLIB(SMF72REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF72 COPY Parameters
Nine parameters can be varied in the DYSMF72 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF (MF1) record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 288: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/288.jpg)
DYSMF72 COPY Function
1–280 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF72 COPY Function
DYSMF72 COPY Function: Example 1
Print all SMF (MF1) type 72 records with SMF buffer date and time between 00:05 A.M. and 7:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF72LNG ;RECORD LENGTH
STATUS SMF72END ;END OF FILE
COPY SMF72REC
COPY DYSMF72 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'07:00:00'”
#L=YES #S=NULL
FIN
DYSMF72 COPY Function: Example 2
Print all SMF (MF1) type 72 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF72LNG ;RECORD LENGTH
STATUS SMF72END ;END OF FILE
COPY SMF72REC
COPY DYSMF72
#S=YES #L=NULL
FIN
![Page 289: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/289.jpg)
DYSMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–281
Record selection logic can be placed between the COPY SMF72REC statement and the COPY DYSMF72 statement. For instance, in the example shown above the following code:
IF SMF72SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF72 Short Formatted Report
08/10/97 14.41.15 SMF RECORD 72 WORKLOAD ACTIVITY AND STORAGE DATA SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION EXPR SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:48:26.14 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
----------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
WORKLOAD CONTROL 104 96 1
PERFORMANCE GROUP 200 68 1
RMF PRODUCT SECTION
*******************
RMF VERSION 3 RELEASE 5 MODIFICATION LEVEL 1 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP2.2.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:48:24 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
WORKLOAD CONTROL SECTION (SUBTYPE 2)
************************************
NAME OF IPS IEAIPS03 PERFORMANCE GROUP (PG) NUMBER 0
HIGHEST PG NO DEFINED IN IPS 350 IOC RESOURCE FACTOR COEFFICIENT 1.0
PERFORMANCE GROUP PERIOD DATA SECTION (SUBTYPE 1)
************************************************
PERFORMANCE NUMBER OF ACTIVE SERVICE MAIN I/O CPU DOMAIN
GROUP TRANSAC- TIME OF USED IN STORAGE TOTAL TOTAL NUMBER
PERIOD TIONS ALL TRAN- ALL TRAN- TOTAL SS. SERVICE SERVICE
NUMBER TERMINATED SACTIONS SACTIONS UNITS UNITS UNITS
----------------------------------------------------------------------------------------------------------
1 0 05:00:05.51 17,442 1,712 140 1,457 0
![Page 290: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/290.jpg)
DYSMF72 COPY Function
1–282 SMF/RMF Reporting Guide
DYSMF72 Long Formatted Report (Page 1 of 2)
08/10/97 14.52.18 SMF RECORD 72 WORKLOAD ACTIVITY AND STORAGE DATA LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:09:06.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
WORKLOAD CONTROL 104 96 1
PERFORMANCE GROUP 200 76 2
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
DURATION OF RMF MEASUREMENT INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
WORKLOAD CONTROL SECTION (SUBTYPE 1)
************************************
NAME OF IPS IEAIPS01 PERFORMANCE GROUP (PG) NUMBER 1
HIGHEST PG NO. DEFINED IN IPS 852 IOC RESOURCE FACTOR COEFFICIENT 0.1
CPU RESOURCE FACTOR COEFFICIENT 0.1 ERV RESOURCE MANAGER COEFFICIENT 500
IOC SERVICE DEFINITION COEFFICIENT 5.0 CPU SERVICE DEFINITION COEFFICIENT 10.0
MAIN STORAGE SERVICE DEFINITION COEF. SRB SERVICE DEFINITION COEFFICIENT 10.0
NAME OF IEAOPTXX MEMBER IEAOPT00 NAME OF IEAICSXX MEMBER IEAICS00
NAME OF SUBSYSTEM ASSOCIATED WITH THIS PGN JES2 USER IDENTIFIER ASSOCIATED WITH THIS PGN
NAME OF TRANSACTION ASSOCIATED WITH THIS PGN CPU TIME PER SERVICE UNTIL 00:00:00.23
![Page 291: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/291.jpg)
DYSMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–283
DYSMF72 Long Formatted Report (Page 2 of 2)
08/10/97 14.52.18 SMF RECORD 72 WORKLOAD ACTIVITY AND STORAGE DATA LONG FORM PAGE 2
PERFORMANCE GROUP PERIOD DATA SECTION (SUBTYPE 1)
************************************************
NUMBER OF TRANSACTIONS TERMINATED 4 ACTIVE TIME OF ALL TRANS 00:04:50.11
SERVICE USED IN ALL TRANSACTIONS 213,412 MAIN STORAGE TOTAL SERVICE UNITS 50,854
ELAPSED TIME ACCUMULATED BY ALL WORKLOAD LEVEL OF ALL TRANSACTIONS
TRANSACTIONS THAT ENDED IN THIS PG PERIOD 00:00:55.59 IN UNITS OF 1/256 OF A LEVEL 19,391
I/O TOTAL SERVICE UNITS 84,055 CPU TOTAL SERVICE UNITS 62,587
NUMBER OF SWAP SEQUENCES IN PER. 8 DOMAIN NUMBER 1
PERFORMANCE OBJECTIVE NUMBER 51 TIME SLICE GROUP NUMBER 255
SRB TOTAL SERVICE UNITS 15,916 NUMBER OF PAGE-INS 1
TRANSACTION RESIDENCE TIME 00:04:50.08
SUM OF THE SQUARES OF THE ELAPSED TIMES
ACCUMULATED BY ALL ENDED TRANSACTIONS (HEX) 8A17 7C1F
THE ACTIVE FRAME-TIME (HEX) 0219 3F4C
NUMBER OF PAGE-INS OF HYPERSPACES 0 NUMBER OF ESO HYPERSPACE READ MISSES 0
NUMBER OF BLOCKED PAGES PAGED IN 1,077,952,576 UNBLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576
BLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576 BLOCKS PAGED IN FROM AUXILIARY STORAGE 1,077,952,576
1ST FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0380 2ND FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0000
REGION CONTROL TASK (RCT) TIME (HEX) 0354 I/O INTERRUPT PROCESSING TIME (HEX) C1C9
HYPERSPACE SERVICE UNITS (HEX) F0F1 TOTAL SYSTEM TRAN. TIME OF ENDED TRANS. (HEX) F1F0
PERFORMANCE GROUP PERIOD DATA SECTION (SUBTYPE 1) 2
************************************************
NUMBER OF TRANSACTIONS TERMINATED 5 ACTIVE TIME OF ALL TRANS 00:12:54.74
SERVICE USED IN ALL TRANSACTIONS 744,118 MAIN STORAGE TOTAL SERVICE UNITS 188,861
ELAPSED TIME ACCUMULATED BY ALL WORKLOAD LEVEL OF ALL TRANSACTIONS
TRANSACTIONS THAT ENDED IN THIS PG PERIOD 00:08:43.98 IN UNITS OF 1/256 OF A LEVEL 17,325
I/O TOTAL SERVICE UNITS 335,170 CPU TOTAL SERVICE UNITS 180,585
NUMBER OF SWAP SEQUENCES IN PER. 3 DOMAIN NUMBER 2
PERFORMANCE OBJECTIVE NUMBER 52 TIME SLICE GROUP NUMBER 255
SRB TOTAL SERVICE UNITS 39,502 NUMBER OF PAGE-INS 0
TRANSACTION RESIDENCE TIME 00:12:52.08
SUM OF THE SQUARES OF THE ELAPSED TIMES
ACCUMULATED BY ALL ENDED TRANSACTIONS (HEX) 000E 6A6F C53A
THE ACTIVE FRAME-TIME (HEX) 07B2 841B
NUMBER OF PAGE-INS OF HYPERSPACES 0 NUMBER OF ESO HYPERSPACE READ MISSES 0
NUMBER OF BLOCKED PAGES PAGED IN 1,077,952,576 UNBLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576
BLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576 BLOCKS PAGED IN FROM AUXILIARY STORAGE 1,077,952,576
![Page 292: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/292.jpg)
DYSMF72 COPY Function
1–284 SMF/RMF Reporting Guide
1ST FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0380 2ND FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0000
REGION CONTROL TASK (RCT) TIME (HEX) 0354 I/O INTERRUPT PROCESSING TIME (HEX) C1C9
HYPERSPACE SERVICE UNITS (HEX) F0F1 TOTAL SYSTEM TRAN. TIME OF ENDED TRANS. (HX) F1F0
DYSMF72 Record Definition COPYLIB(SMF72REC)
SMF72HDR 1 CH ;
REDEFINE AT SMF72HDR
SMF72FLG 1 1 BI ;HEADER FLAG BYTE
*SMF72RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF72SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF72VXA EQU X'04' MVS/XA VERSION IF ON
*SMF72OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF72BFY EQU X'01' PR/SM MACHINE
SMF72RTY 1 2 BI ;RECORD TYPE
SMF72TME 4 3 BI ;TOD RECORD WRITTEN
SMF72DTE 4 7 PD ;DATE RECORD WRITTEN
SMF72SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF72SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF72STY 2 19 BI ;SUBTYPE
SMF72TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF72PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF72PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF72PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF72WLS 4 33 BI ;OFFSET TO WORKLOAD CONTROL SECTION
SMF72WLL 2 37 BI ;LENGTH OF WORKLOAD CONTROL SECTION
SMF72WLN 2 39 BI ;NUMBER OF WORKLOAD CONTROL SECTIONS
SMF72PGS 4 41 BI ;OFFSET TO PERFORMANCE GROUP PERIOD
* DATA SECTION
SMF72PGL 2 45 BI ;LENGTH OF PERFORMANCE GROUP PERIOD
* DATA SECTION
SMF72PGN 2 4 7 BI ;NUMBER OF PERFORMANCE GROUP PERIOD
* DATA SECTIONS
SMF72PRO 1 1 CH ;
REDEFINE AT SMF72PRO
SMF72MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF72PRD 8 3 CH ;PRODUCT NAME
SMF72IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF72DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF72INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF72MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
![Page 293: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/293.jpg)
DYSMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–285
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF72SAM 4 25 BI ;NUMBER OF SAMPLES
SMF72RV2 2 29 BI ;RESV
SMF72FLA 2 31 BI ;FLAGS
*SMF72CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF72ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF72RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF72CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF72MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF72IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF72PRF 1 50 BI ;PROCESSOR FLAGS
*SMF72QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF72PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF72SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
SMF72CTL 1 1 CH ;
REDEFINE AT SMF72CTL
SMF72FG1 1 1 BI ;FLAGS
*SMF72CHF EQU 1 CHANGE TO PERFORMANCE SENSITIVE
* VARIABLE WAS MADE
*SMF72RPT EQU 2 REPORT CLASS
*SMF72ACN EQU 4 ACCOUNT INFORMATION
SMF72RV3 1 2 BI ;RESERVED
SMF72SUB 2 3 BI ;SUB-CATEGORY CODE,PERF.GROUP #
SMF72HPG 2 5 BI ;HIGHEST PERF GROUP(PG) # DEFINED IN IPS
SMF72IPS 8 7 CH ;NAME OF INSTALLATION PERF SPEC
SMF72IRF 3 15 CH ;IOC RESOURCE FACTOR COEFFICIENT
SMF72CRF 3 18 CH ;CPU RESOURCE FACTOR COEFFICIENT
SMF72ERF 6 21 CH ;ERV RESOURCE MANAGER COEFFICIENT
SMF72ISD 4 27 CH ;IOC SERVICE DEFINITION COEFFICIENT
SMF72CSD 4 31 CH ;CPU SERVICE DEFINITION COEFFICIENT
SMF72RV4 4 35 CH ;RESERVED
SMF72SSD 39 CH ;SRB SERVICE DEFINITION COEFFICIENT
SMF72OPT 8 43 CH ;NAME OF OPT
SMF72ICS 8 51 CH ;NAME OF ICS
SMF72SYS 4 59 CH ;SUBSYSTEM FOR THIS PGN
SMF72CLS 10 63 CH ;CLASS
SMF72USR 10 73 CH ;USER ID
SMF72NAM 10 83 CH ;TRANSACTION NAME FOR THIS PGN
SMF72ADJ 4 93 BI ;VALUE RMCTADJC — ADJ. FACTOR FOR CPU RATE
SMF72MSD 8 97 ;MAIN STORAGE SERVICE DEFINITION COEFFICIENT
SMF72WKL 1 1 CH ;
REDEFINE AT SMF72WKL
SMF72TTX 4 1 BI ;# OF TERMINATED TRANSACTIONS
![Page 294: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/294.jpg)
DYSMF72 COPY Function
1–286 SMF/RMF Reporting Guide
SMF72ACT 4 5 BI ;ALL TRANSACTIONS ACTIVE TIME-1K MIC SEC
SMF72SER 4 9 BI ;ALL TRANSACTIONS SERVICE UNITS
SMF72TTM 4 13 BI ;TERM TRANS ELAPSED TIME-1K MIC SEC
SMF72LEV 4 17 BI ;WORKLOAD LEVEL (1/256 OF A LEVEL)
SMF72MTS 4 21 BI ;MSO TOTAL SERVICE
SMF72ITS 4 25 BI ;I/O TOTAL SERVICE
SMF72CTS 4 29 BI ;CPU TOTAL SERVICE
SMF72TAT 4 33 BI ;TRANSACTION ACTIVE TIME IN STORAGE
SMF72SPP 4 37 BI ;NO. SWAPS IN PERIOD
SMF72CDN 2 1 BI ;CURRENT DOMAIN NUMBER
SMF72PON 1 43 BI ;PERFORMANCE OBJECTIVE NUMBER
SMF72TSG 1 44 BI ;TIME SLICE GROUP NUMBER
SMF72STS 4 45 BI ;SRB TOTAL SERVICE
SMF72ET1 4 49 BI ;WORD1-SUM OF SQUARES OF ENDED TRANS
SMF72ET2 4 53 BI ;WORD2-SUM OF SQUARES OF ENDED TRANS
SMF72PIN 4 57 BI ;NUMBER OF PAGE-INS
SMF72FT1 4 61 BI ;WORD1-ACTIVE FRAME-TIME
SMF72FT2 4 65 BI ;WORD2-ACTIVE FRAME-TIME
SMF72HIN 4 69 BI ;NUMBER OF PAGE-INS OF HYPERSPACES
SMF72HRM 4 73 BI ;NUMBER OF ESO HYPERSPACE READ MISSES
SMF72BPI 4 77 BI ;NUMBER OF BLOCKED PAGES PAGED-IN
SMF72PIE 4 81 BI ;TOTAL NUMBER OF UNBLOCKED PAGES, FROM EXP. STR.
SMF72BPE 4 85 BI ;NUMBER OF BLOCKED PAGES PAGED IN FROM EXP. STR.
SMF72BKA 4 89 BI ;NUMBER OF BLOCKS PAGED IN FROM AUX. STO.
SMF72BKE 4 93 BI ;TOTAL NUMBER OF BLOCKS PAGED IN FROM EXP. STR.
SMF72ER1 4 97 BI ;1ST FOUR BYTES OF THE EXP. STR. FRAME R. TIME
SMF72ER2 4 101 BI ;2ND FOUR BYTES OF THE EXP. STR. FRAME R. TIME
SMF72RCT 4 105 BI ;REGION CONTROL TASK (RCT) TIME
SMF72IIT 4 109 BI ;I/O INTERRUPT PROCESSING TIME
SMF72HST 4 113 BI ;HYPERSPACE SERVICE TIME
SMF72TST 4 117 BI ;TOTAL SYSTEM TRANSACTION TIME OF ENDED TRANSAC.
*
S2_WCS_HDR 1 1 CH ;SUBTYPE 2 (WORKLOAD CONTROL SECTION)
REDEFINE AT S2_WCS_HDR
R722TSR 2 1 BI ;SMALL RECORDS WRITTEN DURING INTERVAL
FILLER 2 3 BI ;RESERVED
R722TOT 4 5 BI ;DATA SECTIONS RECORDED DURING INTERVAL
R722NXT 4 9 BI ;DATA SECTIONS IN FOLLOWING RECORDS
R722IPS 8 13 CH ;NAME OF IPS
*
S2_DC_HDR 1 1 CH ;SUBTYPE 2 (DATA SECTION)
REDEFINE AT S2_DC_HDR
R722PG 2 1 BI ;PERFORMANCE GROUP NUMBER
R722DMN 2 3 BI ;DOMAIN NUMBER
R722USER 4 5 BI ;AVERAGE USERS IN THIS PERFORMANCE GROUP
R722ACTV 4 9 BI ;AVERAGE ACTIVE USERS IN THIS PER. GRP.
R722PAGE 4 13 BI ;SUM OF ALL PAGING DELAYS SAMPLES
R722SWAP 4 17 BI ;SUM OF ALL SWAP-IN DELAYS SAMPLES
R722OUTR 4 21 BI ;SUM OF ALL OUT AND READY DELAY SAMPLES
![Page 295: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/295.jpg)
DYSMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–287
R722ACTF 4 25 BI ;SUM OF ALL FRAMES HELD BY ACTIVE USERS
R722ACTS 4 29 BI ;SUM OF SAMPLE COUNTS FOR ALL ACTIVE USERS
R722IDLE 4 33 BI ;SUM OF ALL FRAMES HELD FOR IDLE USERS
R722IDLS 4 37 BI ;SUM OF SAMPLE COUNTS FOR ALL IDLE USERS
R722PGIN 4 41 BI ;SUM OF ALL PAGE-INS
R722SLOT 4 45 BI ;SUM OF ALL AUXILIARY-STORAGE PAGING SLOTS
R722DIV 4 49 BI ;SUM OF ALL DATA-IN-VIRTUAL FRAMES
R722DIVS 4 53 BI ;SUM OF ALL DATA-IN-VIRTUAL SAMPLES
R722FIX 4 57 BI ;SUM OF ALL FIXED FRAMES HELD BY USERS
![Page 296: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/296.jpg)
DYSMF73 COPY Function
1–288 SMF/RMF Reporting Guide
DYSMF73 COPY Function The DYSMF73 COPY function can be used to print SMF (MF1) type 73 records in two report formats — a long format and a short format. SMF (MF1) type 73 records contain information that is pertinent to SMF (MF1) CHANNEL PATH ACTIVITY. The examples for DYSMF73 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF73 Record Definition COPYLIB(SMF73REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF73 COPY Parameters
Nine parameters can be varied in the DYSMF73 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and1 #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF (MF1) record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
![Page 297: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/297.jpg)
DYSMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–289
Parameter Description
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF73 COPY Function
DYSMF73 COPY Function: Example 1
Print all records with SMF (MF1) buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF73LNG ;RECORD LENGTH
STATUS SMF73END ;END OF FILE
COPY SMF73REC
COPY DYSMF73 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 298: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/298.jpg)
DYSMF73 COPY Function
1–290 SMF/RMF Reporting Guide
DYSMF73 COPY Function: Example 2
Print all SMF (MF1) type 73 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF73LNG ;RECORD LENGTH
STATUS SMF73END ;END OF FILE
COPY SMF73REC
COPY DYSMF73
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF73REC statement and the COPY DYSMF73 statement. For instance, in the example shown above the following code:
IF SMF73SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 299: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/299.jpg)
DYSMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–291
DYSMF73 Short Formatted Report
08/10/97 11.25.24 SMF RECORD TYPE 73 CHANNEL PATH ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
CHANNEL PATH CONTROL SECTION 104 72 1
CHANNEL PATH DATA SECTION 176 8 16
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
CHANNEL PATH CONTROL SECTION
****************************
COUNT OF STORE CHANNEL PATH STATUS 1,708,000
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:45:00.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
CHANNEL PATH CONTROL SECTION 104 72 1
CHANNEL PATH DATA SECTION 176 8 16
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:30:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
CHANNEL PATH CONTROL SECTION
****************************
COUNT OF STORE CHANNEL PATH STATUS 1,707,000
![Page 300: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/300.jpg)
DYSMF73 COPY Function
1–292 SMF/RMF Reporting Guide
DYSMF73 Long Formatted Report (Page 1 of 2)
08/10/97 11.24.43 SMF RECORD TYPE 73 CHANNEL PATH ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
CHANNEL PATH CONTROL SECTION 104 72 1
CHANNEL PATH DATA SECTION 176 8 16
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
CHANNEL PATH CONTROL SECTION
****************************
COUNT OF STORE CHANNEL PATH STATUS 1,708,000
![Page 301: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/301.jpg)
DYSMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–293
DYSMF73 Long Formatted Report (Page 2 of 2)
08/10/97 11.24.43 SMF RECORD TYPE 73 CHANNEL PATH ACTIVITY LONG FORM PAGE 2
CHANNEL PATH DATA SECTION
*************************
CHANNEL COUNT OF STORE CHANNEL PATH CHANNEL CHANNEL
PATH STATUS SAMPLES TAKEN BY SRM PATH FLAGS
DATA SECTION IN WHICH THE CHANNEL PATH IDENTIFICATION
NUMBER WAS FOUND BUSY (HEX)
------------------------------------------------------------------------------------------------------------------
1 0 00 BYTE MULTIPLEXOR
2 0 01 BLOCK MULTIPLEXOR
3 211,883 02 BLOCK MULTIPLEXOR
4 4,063 03 BLOCK MULTIPLEXOR
5 10,126 04 BLOCK MULTIPLEXOR
6 0 05 BLOCK MULTIPLEXOR
7 222,231 06 BLOCK MULTIPLEXOR
8 0 07 BLOCK MULTIPLEXOR
9 11,644 08 BLOCK MULTIPLEXOR
10 0 09 BLOCK MULTIPLEXOR
11 197,483 0A BLOCK MULTIPLEXOR
12 295,843 0B BLOCK MULTIPLEXOR
13 372,474 0C BLOCK MULTIPLEXOR
14 0 0D BLOCK MULTIPLEXOR
15 192,177 0E BLOCK MULTIPLEXOR
16 22,287 0F BLOCK MULTIPLEXOR
![Page 302: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/302.jpg)
DYSMF73 COPY Function
1–294 SMF/RMF Reporting Guide
DYSMF73 Record Definition COPYLIB(SMF73REC)
SMF73HDR 1 CH ;
REDEFINE AT SMF73HDR
SMF73FLG 1 1 BI ;HEADER FLAG BYTE
*SMF73RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF73SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF73VXA EQU X'04' MVS/XA VERSION IF ON
*SMF73OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF73BFY EQU X'01' PR/SM MACHINE
SMF73RTY 1 2 BI ;RECORD TYPE
SMF73TME 4 3 BI ;TOD RECORD WRITTEN
SMF73DTE 4 7 PD ;DATE RECORD WRITTEN
SMF73SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF73SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF73STY 2 19 BI ;SUBTYPE
SMF73TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF73PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF73PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF73PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF73HIS 4 33 BI ;OFFSET TO CHANNEL CONTROL SECTION
SMF73HIL 2 37 BI ;LENGTH OF CHANNEL CONTROL SECTION
SMF73HIN 2 39 BI ;NUMBER OF CHANNEL CONTROL SECTIONS
SMF73HPS 4 41 BI ;OFFSET TO CHANNEL DATA SECTION
SMF73HPL 2 45 BI ;LENGTH OF CHANNEL DATA SECTION
SMF73HPN 2 47 BI ;NUMBER OF CHANNEL DATA SECTIONS
* WORKAREA
SMF73PRO 1 1 CH ;
REDEFINE AT SMF73PRO
SMF73MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF73PRD 8 3 CH ;PRODUCT NAME
SMF73IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF73DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF73INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF73MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF73SAM 4 25 BI ;NUMBER OF SAMPLES
SMF73RV2 2 29 BI ;RESV
SMF73FLA 2 31 BI ;FLAGS
*SMF73CNV EQU X'80' DATA CONVERT.FROM VER.2
![Page 303: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/303.jpg)
DYSMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–295
*SMF73ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF73RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF73CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF73MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF73IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF73PRF 1 50 BI ;PROCESSOR FLAGS
*SMF73QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF73PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF73SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
* WORKAREA
SMF73CTL 1 1 CH ;
REDEFINE AT SMF73CTL
SMF73SMP 4 1 BI ;NUMBER OF SAMPLES, WEIGHTED BY SRM.
SMF73CFL 1 5 BI ;CONFIGURATION CHANGE FLAGS
FILLER 3 6 CH ;
SMF73TNM 44 9 CH ;IODF NAME
SMF73TSF 2 53 CH ;IODF NAME SUFFIX
FILLER 2 55 CH ;
SMF73TOK 16 57 CH ;PARTIAL TOKEN INFORMATION
SMF73TDT 8 73 CH ;IODF CREATION DATE
SMF73TTM 8 81 CH ;IODF CREATION TIME
* WORKAREA
SMF73CHA 1 1 CH ;
REDEFINE AT SMF73CHA
SMF73PID 1 1 BI ;CHANNEL PATH IDENTIFICATIONS
* THE RANGE OF VALUES IS 0 TO FF
SMF73FG2 1 2 BI ;CHANNEL FLAGS
*SMF73RV3 EQU X'C0' RESERVED
*SMF73BL EQU X'20' BLOCK MULTIPLEXOR
*SMF73BY EQU X'10' BYTE MULTIPLEXOR
*SMF73RV4 EQU X'08' RESERVED
*SMF73PAR EQU X'04' ONLY PARTIAL STATISTICS AVAILABLE
*SMF73VAC EQU X'02' DATA INVALID. CHANNEL PATH WAS VARIED DURING
* INTERVAL.
*SMF73STA EQU X'01' CHANNEL PATH IS CURRENTLY ONLINE
SMF73FG3 1 3 BI ;CHANNEL FLAGS EXTENSION
SMF73RV5 1 4 BI ;RESERVED
SMF73BSY 4 5 BI ;NUMBER OF SAMPLES IN WHICH THE CHANNEL PATH
* WAS BUSY. WEIGHTED BY SRM.
![Page 304: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/304.jpg)
DYSMF74 COPY Function
1–296 SMF/RMF Reporting Guide
DYSMF74 COPY Function The DYSMF74 COPY function can be used to print SMF (MF1) type 74 records in two report formats — a long format and a short format. SMF (MF1) type 74 records contain information that is pertinent to SMF (MF1) DEVICE ACTIVITY. The examples for DYSMF74 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF74 Record Definition COPYLIB(SMF74REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF74 COPY Parameters
Nine parameters can be varied in the DYSMF74 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 305: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/305.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–297
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF74 COPY Function
DYSMF74 COPY Function: Example 1
Print all records with SMF (MF1) buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF74LNG ;RECORD LENGTH
STATUS SMF74END ;END OF FILE
COPY SMF74REC
COPY DYSMF74 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF74 COPY Function: Example 2
Print all SMF (MF1) type 74 records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF74LNG ;RECORD LENGTH
STATUS SMF74END ;END OF FILE
COPY SMF74REC
COPY DYSMF74
#S=YES #L=NULL
FIN
![Page 306: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/306.jpg)
DYSMF74 COPY Function
1–298 SMF/RMF Reporting Guide
Record selection logic can be placed between the COPY SMF74REC statement and the COPY DYSMF74 statement. For instance, in the example shown above the following code:
IF SMF74SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF74 Short Formatted Report (Page 1 of 2)
08/10/97 15.35.18 SMF RECORD TYPE 74 DEVICE ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
DEVICE CONTROL DATA 104 94 1
DEVICE DATA 198 124 40
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
DEVICE CONTROL SECTION
**********************
TOTAL DEVICES SPECIFIED (ALL CLASSES) 88
DEVICE CLASS CODE DIRECT ACCESS DEVICES
![Page 307: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/307.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–299
DYSMF74 Short Formatted Report (Page 2 of 2)
08/10/97 15.35.18 SMF RECORD TYPE 74 DEVICE ACTIVITY SHORT FORM PAGE 2
DEVICE DATA SECTION
-------------------
DEVICE DEVICE LOGICAL UNIT VOLUME SERIAL MEASUREMENT DEVICE CONNECT NUMBER OR REQUESTS
DATA ADDRESS CONTROL TYPE NUMBER OF EVENT (IN 128 MICRO- QUEUED IN IOS FOR
SECTION NUMBER VOLUME COUNT SECONDS UNITS) THIS DEVICE
(HEX) (HEX) (HEX) MOUNTED
------------------------------------------------------------------------------------------------------------------------
01 0400 0001 3010200E CIC004 2,834 141,176 10
02 0401 0001 3010200E CIC009 950 51,502 4
03 0402 0001 3010200E HSM001 12 253 0
04 0403 0001 3010200E CIC003 5,730 126,894 6
05 0404 0001 3010200E CIC007 5,157 146,214 8
06 0405 0001 3010200E CIC008 829 23,016 0
07 0406 0001 3010200E SYSRSA 0 0 0
08 0407 0001 3010200E CIC010 239 33,190 5
09 0408 0001 3010200E STR004 2,802 38,199 0
10 0409 0001 3010200E VSM002 21,918 267,316 1
11 040A 0001 3010200E CIC011 917 116,584 12
12 040B 0001 3010200E CIC012 350 9,103 0
13 0410 0001 3010200E CIC001 1,203 51,710 0
14 0411 0001 3010200E CIC002 5,744 140,797 12
15 0412 0001 3010200E VSM001 7,743 1,417,377 210
16 0413 0001 3010200E STR001 1,496 91,220 0
17 0414 0001 3010200E STR002 1,248 36,721 0
18 0415 0001 3010200E CIC005 262 3,584 0
19 0416 0001 3010200E SYSRSB 494 19,738 0
20 0417 0001 3010200E CIC006 705 14,962 0
21 0418 0001 3010200E STR003 2,129 77,097 0
22 0419 0001 3010200E IBM419 1,474 29,193 0
23 041A 0001 3010200E IBM41A 9 774 0
24 041B 0001 3010200E CIC013 3,573 44,210 0
25 0420 0001 3010200E STR005 466 8,366 0
26 0421 0001 3010200E SYSLB2 2,313 70,060 4
27 0422 0001 3010200E SYSDA1 43 718 0
28 0423 0001 3010200E SYSDA3 1,600 25,881 0
29 0424 0001 3010200E VSM003 2 49 0
30 0425 0001 3010200E SYSDA2 48 1,081 0
31 0426 0001 3010200E STR006 507 9,769 0
32 0427 0001 3010200E HSM002 24 566 0
![Page 308: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/308.jpg)
DYSMF74 COPY Function
1–300 SMF/RMF Reporting Guide
33 0430 0001 3010200E SYSLB1 16,194 313,034 1
34 0431 0001 3010200E PAGE01 12 602 0
35 0432 0001 3010200E PAGE02 0 0 0
36 0433 0001 3010200E PAGE03 9 271 0
37 0434 0001 3010200E PAGE04 15 414 0
38 0435 0001 3010200E PAGE05 18 553 0
39 0436 0001 3010200E HSM003 0 0 0
40 0437 0001 3010200E SPOOL1 3,064 47,214 0
DYSMF74 Long Formatted Report (Page 1 of 6)
08/10/97 15.38.37 SMF RECORD TYPE 74 DEVICE ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
DEVICE CONTROL DATA 104 94 1
DEVICE DATA 198 124 9
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
DEVICE CONTROL SECTION
**********************
DEVICE DATA SECTIONS IN FOLLOWING RECORD 0 TOTAL DEVICE DATA SECTIONS IN ALL RECORDS 0
TOTAL DEVICES SPECIFIED (ALL CLASSES) 88 REG 15 AFTER SMS INTERFACE CALL (SSI RC) 0
DEVICE CLASS CODE MAGNETIC TAPE DEVICES
PROCESSING FLAGS FOR DASD DEVICE CLASS NO INFORMATION
MESSAGE FLAGS FOR DASD DEVICE CLASS NO INFORMATION
RETURN CODE FROM SMS INTERFACE (SSOB RC) 0 REASON CODE FROM SMS INTERFACE (SSOB RS) 0
![Page 309: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/309.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–301
DYSMF74 Long Formatted Report (Page 2 of 6)
08/10/97 15.38.37 SMF RECORD TYPE 74 DEVICE ACTIVITY LONG FORM PAGE 2
DEVICE DATA SECTION 1
--------------------
DEVICE ADDRESS (HEX) 0710 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 2
-------------------
DEVICE ADDRESS (HEX) 0712 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 310: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/310.jpg)
DYSMF74 COPY Function
1–302 SMF/RMF Reporting Guide
DYSMF74 Long Formatted Report (Page 3 of 6)
08/10/97 15.38.37 SMF RECORD TYPE 74 DEVICE ACTIVITY LONG FORM PAGE 3
DEVICE DATA SECTION 3
---------------------
DEVICE ADDRESS (HEX) 0713 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 4
-------------------
DEVICE ADDRESS (HEX) 0718 LOGICAL CONTROL (NUMBER) (HEX) 0007
![Page 311: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/311.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–303
DYSMF74 Long Formatted Report (Page 4 of 6)
08/10/97 15.38.37 SMF RECORD TYPE 74 DEVICE ACTIVITY LONG FORM PAGE 4
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED 004150 UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 9,371
MEASUREMENT EVENT COUNT 9,371 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 2,753,892
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 678,237 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 3,764,499
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 332,370 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 900 SAMPLES TAKEN, MOUNT PENDING CONDITION 350
SAMPLES TAKEN, DEVICE WAS NOT READY 351 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 64
CONTROL UNIT BUSY DELAY TIME 100 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 5
-------------------
DEVICE ADDRESS (HEX) 0719 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 6
-------------------
DEVICE ADDRESS (HEX) 071A LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
![Page 312: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/312.jpg)
DYSMF74 COPY Function
1–304 SMF/RMF Reporting Guide
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
DYSMF74 Long Formatted Report (Page 5 of 6)
08/10/97 15.38.37 SMF RECORD TYPE 74 DEVICE ACTIVITY LONG FORM PAGE 5
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 900 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 0 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 7
-------------------
DEVICE ADDRESS (HEX) 071B LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 313: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/313.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–305
DYSMF74 Long Formatted Report (Page 6 of 6)
08/10/97 15.38.37 SMF RECORD TYPE 74 DEVICE ACTIVITY LONG FORM PAGE 6
DEVICE DATA SECTION 8
-------------------
DEVICE ADDRESS (HEX) 0780 LOGICAL CONTROL (NUMBER) (HEX) 0008
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 32108003
MAGNETIC TAPE - 3400 SERIES MAGNETIC-TAPE UNIT
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 9
-------------------
DEVICE ADDRESS (HEX) 0781 LOGICAL CONTROL (NUMBER) (HEX) 0008
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 32108003
MAGNETIC TAPE - 3400 SERIES MAGNETIC-TAPE UNIT
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 314: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/314.jpg)
DYSMF74 COPY Function
1–306 SMF/RMF Reporting Guide
DYSMF74 Record Definition COPYLIB(SMF74REC)
SMF74HDR 1 CH ;
REDEFINE AT SMF74HDR
SMF74FLG 1 1 BI ;HEADER FLAG BYTE
*SMF74RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF74SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF74VXA EQU X'04' MVS/XA VERSION IF ON
*SMF74OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF74BFY EQU X'01' PR/SM MACHINE
SMF74RTY 1 2 BI ;RECORD TYPE
SMF74TME 4 3 BI ;TOD RECORD WRITTEN
SMF74DTE 4 7 PD ;DATE RECORD WRITTEN
SMF74SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF74SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF74STY 2 19 BI ;SUBTYPE
SMF74TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF74PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF74PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF74PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
********************** INDIVIDUAL HEADER EXTENSION (SUBTYPE 1) ******
SMF74DCS 4 33 BI ;OFFSET TO DEVICE CONTROL DATA SECTION
SMF74DCL 2 37 BI ;LENGTH OF DEVICE CONTROL DATA SECTION
SMF74DCN 2 39 BI ;NUMBER OF DEVICE CONTROL DATA SECTIONS
SMF74DDS 4 41 BI ;OFFSET TO DEVICE DATA SECTION
SMF74DDL 2 45 BI ;LENGTH OF DEVICE DATA SECTION
SMF74DDN 2 47 BI ;NUMBER OF DEVICE DATA SECTIONS
********************** INDIVIDUAL HEADER EXTENSION (SUBTYPE 2) ******
SMF742CO 4 33 BI ;OFFSET TO CONTROL DATA SECTION
SMF742CL 2 37 BI ;LENGTH OF CONTROL DATA SECTION
SMF742CN 2 39 BI ;NUMBER OF CONTROL DATA SECTIONS
SMF742SO 4 41 BI ;OFFSET TO SYSTEM DATA SECTION
SMF742SL 2 45 BI ;LENGTH OF SYSTEM DATA SECTION
SMF742SN 2 47 BI ;NUMBER OF SYSTEM DATA SECTIONS
SMF742PO 4 49 BI ;OFFSET TO PATH DATA SECTION
SMF742PL 2 53 BI ;LENGTH OF PATH DATA SECTION
SMF742PN 2 55 BI ;NUMBER OF PATH DATA SECTIONS
SMF742MO 4 57 BI ;OFFSET TO MEMBER DATA SECTION
SMF742ML 2 61 BI ;LENGTH OF MEMBER DATA SECTION
SMF742MN 2 63 BI ;NUMBER OF MEMBER DATA SECTIONS
********************** COMMON RMF PRODUCT SECTION *******************
SMF74PRO 1 1 CH ;
REDEFINE AT SMF74PRO
SMF74MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
![Page 315: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/315.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–307
* ... L = MODIFICATION LEVEL
SMF74PRD 8 3 CH ;PRODUCT NAME
SMF74IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF74DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF74INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF74MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF74SAM 4 25 BI ;NUMBER OF SAMPLES
SMF74RV2 2 29 BI ;RESV
SMF74FLA 2 31 BI ;FLAGS
*SMF74CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF74ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF74RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF74CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF74MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF74IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF74PRF 1 50 BI ;PROCESSOR FLAGS
*SMF74QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF74PTN 1 51 BI ;PR/SM — PARTITION NUMBER
FILLER 1 52 BI ;RESERVED
********************** DEVICE CONTROL SECTION ***********************
SMF74A 1 1 CH ;
REDEFINE AT SMF74A
SMF74NXT 2 1 BI ;NUMBER OF DEVICE DATA SECTIONS IN FOLLOWING
* RECORDS FOR THIS CLASS
SMF74TOT 2 3 BI ;NUMBER OF DEVICE DATA SECTIONS IN ALL
* RECORDS FOR THIS CLASS
SMF74GEN 2 5 BI ;TOTAL NUMBER OF DEVICES SPECIFIED FOR ALL
* CLASSES AT SYSTEM GENERATION
SMF74SUB 2 7 BI ;DEVICE CLASS CODE:
* '0080'X — MAGNETIC TAPE DEVICES
* '0040'X — COMMUNICATION EQUIPMENT
* '0020'X — DIRECT ACCESS DEVICES
* '0010'X — GRAPHICS DEVICES
* '0008'X — UNIT RECORD DEVICES
* '0004'X — CHARACTER READER DEVICES
SMF74DCF 1 9 BI ;PROCESSING FLAGS FOR DASD DEVICE CLASS
*SMF74NRF EQU X'80' 1... .... ON = CAUSES TWO REPORT AREAS
*SMF74SGF EQU X'40' .1.. .... ON = CAUSES SORT BY SG
* ..11 1111 NOT USED
SMF74DMS 1 10 BI ;MESSAGE FLAGS FOR DASD DEVICE CLASS
*SMF74429 EQU X'80' 1... .... ON = MESSAGE ERB429I
![Page 316: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/316.jpg)
DYSMF74 COPY Function
1–308 SMF/RMF Reporting Guide
*SMF74SME EQU X'40' 1... .... ON = SMS INTERFACE ERROR
* ..11 1111 NOT USED
FILLER 2 11 CH ;NOT USED
SMF74S15 4 13 BI ;REG 15 AFTER SMS INTERFACE CALL (SSI RC)
SMF74SRC 4 17 BI ;RETURN CODE FROM SMS INTERFACE (SSOB RC)
SMF74SRS 4 21 BI ;REASON CODE FROM SMS INTERFACE (SSOB RS)
********************** DEVICE DATA SECTION **************************
SMF74B 1 1 CH ;
REDEFINE AT SMF74B
SMF74NUM 2 1 BI ;DEVICE NUMBER IN THE RANGE X'0000' TO X'0FFF'
SMF74LCU 2 3 BI ;LOGICAL CONTROL UNIT NUMBER (00 TO FF)
SMF74RV3 1 5 BI ;INTERNALLY USED
SMF74CNF 1 6 BI ;DEVICE FLAGS:
*SMF74QUL EQU X'80' 1... .... ON= QUEUE LENGTH INVALID
*SMF74LCD EQU X'40' .1.. .... ON= NO LCU DATA
*SMF74CMB EQU X'20' ..1. .... ON= CMB DATA INVALID
* ...1 .... RESERVED
*SMF74PAR EQU X'08' .... 1... ON= ONLY PARTIAL STATISTICS
* AVAILABLE
*SMF74MXB EQU X'04' .... .1.. ON= DEVICE IS MULTIPLE EXPOSURE
* DEVICE; THIS IS BASE EXPOSURE
*SMF74VAC EQU X'02' .... ..1. ON= DATA RECORDED IS INVALID
* BECAUSE DEVICE WAS VARIED
* DURING INTERVAL
*SMF74STA EQU X'01' .... ...1 ON= DEVICE IS CURRENTLY ONLINE
SMF74SER 6 7 CH ;VOLUME SERIAL NUMBER OF MOUNTED VOLUME
SMF74TYP 4 13 BI ;UNIT TYPE
SMF74NUX 4 17 BI ;NUMBER OF EXPOSURES (IF MULTIPLE)
SMF74SSC 4 21 BI ;START SUBCHANNEL (SSCH) COUNT
SMF74MEC 4 25 BI ;MEASUREMENT EVENT COUNT (NUMBER OF SSCH
* FOR WHICH CONNECT, PENDING, AND ACTIVE
* TIMES WERE STORED
SMF74CNN 4 29 BI ;DEVICE CONNECT TIME
SMF74PEN 4 33 BI ;DEVICE PENDING TIME
SMF74ATV 4 37 BI ;DEVICE ACTIVE TIME
SMF74DIS 4 41 BI ;DEVICE DISCONNECT TIME
SMF74QUE 4 45 BI ;NUMBER OF REQUESTS QUEUED IN IOS FOR
* THIS DEVICE
SMF74UTL 4 49 BI ;NUMBER OF SAMPLES WHEN THE DEVICE WAS
* RESERVED, BUT AN SSCH HAD NOT BEEN ISSUED
SMF74RSV 4 53 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
* INTERVAL THAT INDICATED THAT THE DEVICE
* WAS RESERVED
SMF74DSO 4 57 BI ;NOT LONGER NEEDED, NEW FIELD IS SMF74NDA
* VARIABLE NAME IS NEEDED FOR CONVERSION
SMF74ALC 4 61 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
* INTERVAL THAT INDICATED THAT THE DEVICE
* WAS ALLOCATED
SMF74MTP 4 65 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
![Page 317: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/317.jpg)
DYSMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–309
* INTERVAL THAT INDICATED A MOUNT PENDING
* CONDITION
SMF74NRD 4 69 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
* INTERVAL THAT INDICATED THAT THE DEVICE
* WAS NOT READY
SMF74COF 2 73 BI ;NUMBER OF REQUESTS WITH CONNECT TIME
* OVERFLOW
SMF74ICT 2 75 BI ;INVALID SAMPLE COUNT
SMF74DVB 4 77 BI ;DEVICE BUSY DELAY TIME
SMF74CUB 4 81 BI ;CONTROL UNIT BUSY DELAY TIME
SMF74CLF 1 85 BI ;FLAGS FOR EACH DEVICE CLASS:
*SMF74RNR EQU X'80' 1... .... FLAG FOR NUMBER OPTION ACTIVE
*SMF74RSG EQU X'40' .1.. .... FLAG FOR SG OPTION ACTIVE
*SMF74RCS EQU X'20' ..1. .... FLAG FOR SG NAME CHANGED DURING
* THE INTERVAL
* ...1 1111 UNUSED
FILLER 3 86 BI ;UNUSED
SMF74SGN 8 89 CH ;STORAGE GROUP NAME
SMF74NDA 4 97 BI ;TOTAL NUMBER OF ALLOCATIONS IN EFFECT
* FOR THE DEVICE
SMF74DEV 8 101 CH ;DEVICE MODEL NAME
SMF74CU 8 109 CH ;CONTROL UNIT NAME
SMF74DPB 4 117 BI ;TIME DIRECTOR PORT WAS BUSY
SMF74CNX 1 121 BI ;DEVICE FLAG EXTENSIONS
;************* SUBTYPE 2 ********************
CDS_HDR 1 1 CH ;CONTROL DATA SECTION
REDEFINE AT CDS_HDR
R742TSR 2 1 BI ;RECORDS OF TYPE 74 SUBTYPE 2 WRITTEN
FILLER 2 3 CH ;RESERVED
R742STOT 4 5 BI ;SYSTEM DATA SECTIONS IN ALL SMF RECORDS
R742SNXT 4 9 BI ;SYSTEM DATA SECTIONS AFTER THIS RECORD
R742PTOT 4 13 BI ;PATH DATA SECTIONS IN ALL SMF RECORDS
R742PNXT 4 17 BI ;PATH DATA SECTIONS AFTER THIS RECORD
R742MTOT 4 21 BI ;MEMBER DATA SECTIONS IN ALL SMF RECORDS
R742MNXT 4 25 BI ;MEMBER DATA SECTIONS AFTER THIS RECORD
;*
SDS_HDR 1 1 CH ;SYSTEM DATA SECTION
REDEFINE AT SDS_HDR
R742SNME 8 1 CH ;SYSTEM NAME
R742SSTF 1 9 BI ;STATUS FLAGS
R742SDIR 1 10 BI ;DIRECTION OF THE MESSAGE TRAFFIC
FILLER 2 11 BI ;RESERVED
R742SPTH 4 13 BI ;NUMBER OF SIGNALLING PATHS IN SERVICE
R742SBSY 4 17 BI ;NUMBER OF NO BUFFER CONDITIONS
R742SNOP 4 21 BI ;NUMBER OF NO PATH CONDITIONS
R742SMXB 4 25 BI ;MAXIMUM 1K BLOCKS OF MESSAGE BUFFER SPACE
R742SBIG 4 29 BI ;NUMBER OF BIG MESSAGE CONDITIONS
R742SFIT 4 33 BI ;NUMBER OF MESSAGE FIT CONDITIONS
R742SSML 4 37 BI ;NUMBER OF SMALL MESSAGE CONDITIONS
![Page 318: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/318.jpg)
DYSMF74 COPY Function
1–310 SMF/RMF Reporting Guide
R742SOVR 4 41 BI ;MESSAGES THAT EXCEEDED THE MESSAGE LENGTH
R742STCL 4 45 BI ;MESSAGE LENGTH FOR TRANSPORT CLASS
R742STCN 8 49 CH ;TRANSPORT CLASS NAME
;*
PDS_HDR 1 1 CH ;PATH DATA SECTION
REDEFINE AT PDS_HDR
R742PNME 8 1 CH ;SYSTEM NAME
R742PDEV 4 9 CH ;DEVICE NUMBER
R742PSTF 1 13 BI ;STATUS FLAGS
R742PDIR 1 14 BI ;DIRECTION PATH
FILLER 2 15 CH ;RESERVED
R742PONA 8 17 CH ;NAME OF SYSTEM OF THE OTHER END
R742PODV 4 25 CH ;DEVICE NAME ON THE OTHER END
R742PSTA 1 29 BI ;PATH STATUS
FILLER 3 30 CH ;RESERVED
R742PRET 4 33 BI ;PATH RETRY LIMIT
R742PRST 4 37 BI ;NUMBER OF RESTARTS
R742PMXM 4 41 BI ;NUMBER OF 1K BLOCKS (MESSAGE BUFFER SPACE)
R742PSIG 4 45 BI ;OUTBOUND(INBOUND) SIGNALS SENT(RECEIVED)
R742PQLN 4 49 BI ;OUTBOUND SIGNALS PENDING TRANSFER ON PATH
R742PIBR 4 53 BI ;INBOUND SIGNALS REFUSED
R742PSUS 4 57 BI ;TIMES, PATH WAS NOT BUSY, WHEN SELECTED
R742PAPP 4 61 BI ;TIMES, PATH WAS BUSY, WHEN SELECTED
R742PTCN 8 65 CH ;TRANSPORT CLASS NAME
;*
MDS_HDR 1 1 CH ;MEMBER DATA SECTION
REDEFINE AT MDS_HDR
R742MSYS 8 1 CH ;SYSTEM NAME WHERE THE MEMBER RESIDES
R742MGRP 8 9 CH ;GROUP NAME
R742MMEM 16 17 CH ;MEMBER NAME
R742MSTF 1 33 BI ;STATUS FLAGS
FILLER 3 34 CH ;RESERVED
R742MSNT 4 37 BI ;NUMBER OF SIGNALS SENT BY MEMBER
R742MRCV 4 41 BI ;NUMBER OF SIGNALS RECEIVED BY MEMBER
![Page 319: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/319.jpg)
DYSMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–311
DYSMF75 COPY Function The DYSMF75 COPY function can be used to print SMF (MF1) type 75 records in two report formats — a long format and a short format. SMF (MF1) type 75 records contain information that is pertinent to SMF (MF1) PAGE/SWAP DATA SET ACTIVITY. The examples for DYSMF75 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF75 Record Definition COPYLIB(SMF75REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF75 COPY Parameters
Nine parameters can be varied in the DYSMF75 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF (MF1) record was written to the SMF buffer mustbe within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 320: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/320.jpg)
DYSMF75 COPY Function
1–312 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF75 COPY Function
DYSMF75 COPY Function: Example 1
Print all records with SMF (MF1) buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF75LNG ;RECORD LENGTH
STATUS SMF75END ;END OF FILE
COPY SMF75REC
COPY DYSMF75 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF75 COPY Function: Example 2
Print all SMF (MF1) type 75 records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF75LNG ;RECORD LENGTH
STATUS SMF75END ;END OF FILE
COPY SMF75REC
COPY DYSMF75
#S=YES #L=NULL
FIN
![Page 321: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/321.jpg)
DYSMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–313
Record selection logic can be placed between the COPY SMF75REC statement and the COPY DYSMF75 statement. For instance, in the example shown above the following code:
IF SMF75SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF75 Short Formatted Report
08/10/97 15.53.00 SMF RECORD 75 PAGE/SWAP DATA SET ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 2
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------------
RMF PRODUCT 44 52 1
PAGE SWAP DATA SET ACTIVITY 96 116 1
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
PAGE/SWAP DATA SET DATA SECTION
*******************************
PAGE/SWAP DATA SET NAME PAGE.PLPA.VPAGE01
PAGE SPACE TYPE PLPA
FLAG DATA SET NO INFORMATION
VOLUME SERIAL PAGE01
![Page 322: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/322.jpg)
DYSMF75 COPY Function
1–314 SMF/RMF Reporting Guide
DYSMF75 Long Formatted Report
08/10/97 15.55.16 SMF RECORD 75 PAGE/SWAP DATA SET ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 2
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------------
RMF PRODUCT 44 52 1
PAGE SWAP DATA SET ACTIVITY 96 116 1
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
PAGE/SWAP DATA SET DATA SECTION
*******************************
PAGE/SWAP DATA SET NAME PAGE.PLPA.VPAGE01
PAGE SPACE TYPE PLPA
FLAG DATA SET NO INFORMATION
DEVICE TYPE 3010200E DEVICE NUMBER - FROM UCBNAME 0431
VOLUME SERIAL PAGE01 SLOTS ALLOC OR SWAP SETS ALLOC 6,750
MAX SLOTS USED OR MAX SWAP SETS USED 5,658 MIN SLOTS USED OR MIN SWAP SETS USED 5,658
AVG SLOTS USED OR AVG SWAP SETS USED 5,658 BAD SLOTS OR BAD SWAP SETS 0
NO. TIMES DS IN USE BY ASM 1 NO. OF REQUESTS FOR THE DATA SET OBSERVED 1
NO. SIO(S) TO DATA SET 12 NO. PAGES TRANSFERRED TO DATA SET 39
![Page 323: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/323.jpg)
DYSMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–315
DYSMF75 Record Definition COPYLIB(SMF75REC)
SMF75HDR 1 CH ;
REDEFINE AT SMF75HDR
SMF75FLG 1 1 BI ;HEADER FLAG BYTE
*SMF75RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF75SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF75VXA EQU X'04' MVS/XA VERSION IF ON
*SMF75OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF75BFY EQU X'01' PR/SM MACHINE
SMF75RTY 1 2 BI ;RECORD TYPE
SMF75TME 4 3 BI ;TOD RECORD WRITTEN
SMF75DTE 4 7 PD ;DATE RECORD WRITTEN
SMF75SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF75SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF75STY 2 19 BI ;SUBTYPE
SMF75TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF75PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF75PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF75PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF75PSS 4 33 BI ;OFFSET TO PAGE/SWAP DATA SECTION
SMF75PSL 2 37 BI ;LENGTH OF PAGE/SWAP DATA SECTION
SMF75PSN 2 39 BI ;NUMBER OF PAGE/SWAP DATA SECTIONS
*WORKAREA
SMF75PRO 1 1 CH ;
REDEFINE AT SMF75PRO
SMF75MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF75PRD 8 3 CH ;PRODUCT NAME
SMF75IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF75DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF75INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*S
MF75MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF75SAM 4 25 BI ;NUMBER OF SAMPLES
SMF75RV2 2 29 BI ;RESV
SMF75FLA 2 31 BI ;FLAGS
*SMF75CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF75ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF75RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF75CYC 4 37 PD CYCLE IN PACKED DECIMAL 000TTTTF
![Page 324: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/324.jpg)
DYSMF75 COPY Function
1–316 SMF/RMF Reporting Guide
SMF75MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF75IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF75PRF 1 50 BI ;PROCESSOR FLAGS
*SMF75QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF75PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF75SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
*WORKAREA
SMF75PSD 1 1 CH ;
REDEFINE AT SMF75PSD
* PAGE/SWAP DATA SET DATA AREA
SMF75DSN 44 1 CH ;PAGE/SWAP DATA SET NAME
SMF75PST 1 45 BI ;PAGE SPACE TYPE
*SMF75LPA EQU X'80' PLPA
*SMF75COM EQU X'40' COMMON
*SMF75DPL EQU X'20' DUPLEX
*SMF75LOC EQU X'10' LOCAL
*SMF75SWP EQU X'08' SWAP
*SMF75DSB EQU X'04' DS BAD
*SMF75ONL EQU X'02' DS ONLINE DURING INTERVAL
SMF75FL2 1 46 BI ;
*SMF75VIO EQU X'80' DATA SET ACCEPTS VIO PAGES
*SMF75MXP EQU X'40' DATA SET IS ON A MULTIPLE EXPOSURE DEVICE
**
SMF75ACU EQU X'20' DATA SET IS ON A DEVICE WITH AN ALTERNATE
* CONTROL UNIT
SMF75RV5 1 47 BI ;RESERVED
SMF75TYP 4 48 BI ;DEVICE TYPE
SMF75CHA 2 52 CH ;DEVICE NUMBER (HHHF) — FROM UCBNAME
SMF75VOL 6 54 CH ;VOLUME SERIAL
SMF75RV3 5 60 CH ;RESERVED
SMF75SLA 4 65 BI ;SLOTS ALLOC OR SWAP SETS ALLOC
SMF75MXU 4 69 BI ;MAX SLOTS USED OR MAX SWAP SETS USED
SMF75MNU 4 73 BI ;MIN SLOTS USED OR MIN SWAP SETS USED
SMF75AVU 4 77 BI ;AVG SLOTS USED OR AVG SWAP SETS USED
SMF75BDS 4 81 BI ;BAD SLOTS OR BAD SWAP SETS
SMF75USE 4 85 BI ;NO. TIMES DS IN USE BY ASM
SMF75REQ 4 89 BI ;TOTAL NUMBER OF REQUESTS FOR THIS DATA SET SEEN
* BY ALL SAMPLES. EQUAL TO SMF75USE EXCEPT FOR
* MULTIPLE EXPOSURE DEVICES, WHERE EACH REQUEST
* SEEN ON EACH EXPOSURE IS ADDED.
SMF75SIO 4 93 BI ;NO. SIO(S) TO DATA SET
SMF75PGX 4 97 BI ;NO. PAGES TRANSFERRED TO DATA SET
SMF75DEV 8 101 ;DEVICE NAME
SMF75CU 8 109 ;CONTROL UNIT NAME
![Page 325: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/325.jpg)
DYSMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–317
DYSMF76 COPY Function The DYSMF76 COPY function can be used to print SMF (MF1) type 76 records in two report formats — a long format and a short format. SMF (MF1) type 76 records contain information that is pertinent to SMF (MF1) TRACE ACTIVITY. The examples for DYSMF76 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF (MF1) record is formatted as shown in DYSMF76 Record Definition COPYLIB(SMF76REC). Records can be selected for printing information depending on the date and time the SMF (MF1) record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF76 COPY Parameters
Nine parameters can be varied in the DYSMF76 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF (MF1) record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 326: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/326.jpg)
DYSMF76 COPY Function
1–318 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYSMF76 COPY Function
DYSMF76 COPY Function: Example 1
Print all records with SMF (MF1) buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF76LNG ;RECORD LENGTH
STATUS SMF76END ;END OF FILE
COPY SMF76REC
COPY DYSMF76 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
DYSMF76 COPY Function: Example 2
Print all SMF (MF1) type 76 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF76LNG ;RECORD LENGTH
STATUS SMF76END ;END OF FILE
COPY SMF76REC
COPY DYSMF76
#S=YES #L=NULL
FIN
![Page 327: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/327.jpg)
DYSMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–319
Record selection logic can be placed between the COPY SMF76REC statement and the COPY DYSMF76 statement. For instance, in the example shown above the following code:
IF SMF76SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYSMF76 Short Formatted Report
08/10/97 16.05.11 SMF RECORD 76 TRACE ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.07 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 4
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 60 52 1
TRACE CONTROL 112 4 1
TRACE DATA 116 48 1
VARIABLE TRACE DATA 164 10 15
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
TRACE CONTROL SECTION
*********************
NUMBER OF SET ENTRIES THAT FOLLOW 15
TRACE DATA SECTION
*********************
FIELD NAME MCVSTCRI
INFORMATION REGARDING THE FIELD
VARIABLE TRACE DATA SECTION
******************************
FOR VARIABLE FORMAT SETS OF LENGTH 2
![Page 328: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/328.jpg)
DYSMF76 COPY Function
1–320 SMF/RMF Reporting Guide
DYSMF76 Long Formatted Report (Page 1 of 2)
08/10/97 16.11.49 SMF RECORD 76 TRACE ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.07 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 4
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------
RMF PRODUCT 60 52 1
TRACE CONTROL 112 4 1
TRACE DATA 116 48 1
VARIABLE TRACE DATA 164 10 15
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
TRACE CONTROL SECTION
*********************
NUMBER OF SET ENTRIES THAT FOLLOW 15
TRACE DATA SECTION
*********************
FIELD NAME MCVSTCRI
TRACE OPTIONS
MINIMUM VALUE IS IN SMF REC.
MAXIMUM VALUE IS IN SMF REC.
VALUES TO FIND AVERAGE ARE IN SMF REC.
LPB TRACE (REQUESTED / REQUESTED ENDED) NO INFORMATION LENGTH OF A SET 10
LENGTH OF FIELD SAMPLED 2 STANDARD SAMPLES PER SET USED 60
SAMPLES PER SET FOR LAST SET IN INTERVAL 0 END VALUE OF CONTENTS OF FIELD 0
MIN. VALUE OF CONTENTS OF FIELD 203 MAX. VALUE OF CONTENTS OF FIELD 254
ACCUMULATED VALUE TO FIND AVERAGE (HEX) 0000000379ED
![Page 329: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/329.jpg)
DYSMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–321
DYSMF76 Long Formatted Report (Page 2 of 2)
08/10/97 16.11.49 SMF RECORD 76 TRACE ACTIVITY LONG FORM PAGE 2
VARIABLE TRACE DATA SECTION
******************************
FOR VARIABLE FORMAT SETS OF LENGTH 2
COL 1 COL 2 COL 3 COL 4 COL 5
LINE DATA: 1 203 0 0 15,074 254
LINE DATA: 2 254 0 0 15,240 254
LINE DATA: 3 254 0 0 15,240 254
LINE DATA: 4 254 0 0 15,240 254
LINE DATA: 5 254 0 0 15,240 254
LINE DATA: 6 254 0 0 15,240 254
LINE DATA: 7 254 0 0 15,240 254
LINE DATA: 8 254 0 0 15,240 254
LINE DATA: 9 254 0 0 15,240 254
LINE DATA: 10 254 0 0 15,240 254
LINE DATA: 11 254 0 0 15,240 254
LINE DATA: 12 254 0 0 15,240 254
LINE DATA: 13 203 0 0 15,179 254
LINE DATA: 14 203 0 0 15,739 254
LINE DATA: 15 203 0 0 15,189 254
![Page 330: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/330.jpg)
DYSMF76 COPY Function
1–322 SMF/RMF Reporting Guide
DYSMF76 Record Definition COPYLIB(SMF76REC)
SMF76HDR 1 CH ;
REDEFINE AT SMF76HDR
SMF76FLG 1 1 BI ;HEADER FLAG BYTE
*SMF76RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF76SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF76VXA EQU X'04' MVS/XA VERSION IF ON
*SMF76OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF76BFY EQU X'01' PR/SM MACHINE
SMF76RTY 1 2 BI ;RECORD TYPE
SMF76TME 4 3 BI ;TOD RECORD WRITTEN
SMF76DTE 4 7 PD ;DATE RECORD WRITTEN
SMF76SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF76SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF76STY 2 19 BI ;SUBTYPE
SMF76TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF76PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF76PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF76PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF76TCS 4 33 BI ;OFFSET TO TRACE CONTROL SECTION
SMF76TCL 2 37 BI ;LENGTH OF TRACE CONTROL SECTION
SMF76TCN 2 39 BI ;NUMBER OF TRACE CONTROL SECTIONS
SMF76TDS 4 41 BI ;OFFSET TO TRACE DATA ENTRY SECTION
SMF76TDL 2 45 BI ;LENGTH OF TRACE DATA ENTRY SECTION
SMF76TDN 2 47 BI ;NUMBER OF TRACE DATA ENTRY SECTIONS
SMF76VFS 4 49 BI ;OFFSET TO VARIABLE FORMAT SET
SMF76VFL 2 53 BI ;LENGTH OF VARIABLE FORMAT SET
SMF76VFN 2 55 BI ;NUMBER OF VARIABLE FORMAT SET
*WORKAREA
SMF76PRO 1 1 CH ;
REDEFINE AT SMF76PRO
SMF76MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF76PRD 8 3 CH ;PRODUCT NAME
SMF76IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF76DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF76INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF76MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF76SAM 4 25 BI ;NUMBER OF SAMPLES
![Page 331: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/331.jpg)
DYSMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–323
SMF76RV2 2 29 BI ;RESV
SMF76FLA 2 31 BI ;FLAGS
*SMF76CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF76ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF76RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF76CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF76MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF76IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF76PRF 1 50 BI ;PROCESSOR FLAGS
*SMF76QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF76PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF76SRL 1 52 BI ;RESERVED
* WORKAREA
SMF76A 1 1 CH ;
REDEFINE AT SMF76A
SMF76NUM 2 1 BI ;NUMBER OF SET ENTRIES THAT FOLLOW
* THE TOTAL VALUES
SMF76RV4 2 3 CH ;RESERVED
* TRACE DATA ENTRY
*WORKAREA
SMF76B 1 1 CH ;
REDEFINE AT SMF76B
SMF76NAM 8 1 CH ;FIELD NAME
SMF76OPT 1 9 BI ;FLAGS(OPTIONS SPECIFIED ON TRACE INPUT
* IN RMF PARMLIB MEMBER FOR THE FIELD
* NAME
* BIT MEANING WHEN SET
*SMF76MNB EQU X'80' 0 MINIMUM REQUESTED
*SMF76MXB EQU X'40' 1 MAXIMUM REQUESTED
*SMF76AVB EQU X'20' 2 AVERAGE REQUESTED
*SMF76STB EQU X'10' 3 STANDARD DEVIATION REQUESTED
*SMF76ENB EQU X'08' 4 END VALUE REQUESTED
*SMF76ALB EQU X'04' 5 ALL OPTIONS REQUESTED
*SMF76IPS EQU X'02' 6 IPS CHANGE OCCURRED (AFTER
* INITIALIZATION)
*SMF76DMB EQU X'01' 7 NAME IS A DOMAIN TABLE FIELD
SMF76OP1 1 10 BI ;FLAGS
* BIT MEANING WHEN SET
*SMF76LPB EQU X'80' 0 LPB — ID TRACE REQUESTED
*SMF76LPF EQU X'40' 1 LPB — ID TRACE REQUEST ENDED
*
SMF76SLN 1 11 BI ;LENGTH OF A SET
SMF76DLN 1 12 BI ;LENGTH OF FIELD SAMPLED
SMF76SSS 2 13 BI ;STANDARD SAMPLES PER SET USED
SMF76SSL 2 15 BI ;SAMPLES PER SET FOR LAST SET IN INTRVAL
![Page 332: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/332.jpg)
DYSMF76 COPY Function
1–324 SMF/RMF Reporting Guide
SMF76MIN 4 17 BI ;MIN. VALUE OF CONTENTS OF FIELD DURING
* INTERVAL(SMF26NAM HAS FIELD NAME)
SMF76MAX 4 21 BI ;MAX. VALUE OF CONTENTS OF FIELD DURING
* INTERVAL
SMF76AVG 8 25 CH ;ACCUMULATED VALUE USED TO COMPUTE THE
* AVERAGE AND STANDARD DEVIATION
SMF76STD 12 33 CH ;SUM OF SQUARES USED TO COMPUTE
* STANDARD DEVIATION
SMF76ENV 4 45 BI ;END VALUE OF CONTENTS OF FIELD
* WORKAREA
SMF76C 1 1 CH ;
REDEFINE AT SMF76C
FILLER 4 1 CH ;FOR VARIABLE FORMAT SETS OF LENGTH 4
REDEFINE AT SMF76C
SMF76D 2 1 CH ;FOR VARIABLE FORMAT SETS OF LENGTH 2
![Page 333: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/333.jpg)
DYSMF80 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–325
DYSMF80 COPY Function The DYSMF80 COPY function can be used to print SMF type 80 records in two report formats — a long format and a short format. SMF type 80 records contain information that is pertinent to RACF PROCESSING RECORD. The examples for DYSMF80 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF80 Record Definition COPYLIB(SMF80REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters. The report is sorted by identifier of the user, and the date and time the record was moved to the SMF buffer.
DYSMF80 COPY Parameters
Twelve parameters can be varied in the DYSMF80 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 through #7 control the sort sequence of the printed records. Parameters #8 and #9 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 334: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/334.jpg)
DYSMF80 COPY Function
1–326 SMF/RMF Reporting Guide
Parameter Description
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF80USR SMF80DTE SMF80TME”.
For example, if you want to sort on the two fields, SMF80GRP and SMF80DES, you can specify #5 as equal to “SMF80GRP SMF80DES”.
#6 #6 contains additional sort fields 4 through 6. The value of the field cannot exceed 30 characters. The default value is NULL.
For example, if you want to sort on the four fields, SMF80SID, SMF80EVT, SMF80ATH, and SMF80TLV, you can specify #5 as equal to “SMF80SID SMF80EVT SMF80ATH” and #6 as equal to “SMF80TLV”.
#7 #7 contains additional sort fields 7 through 9. The default value is NULL. The value of the field cannot exceed 30 characters.
For example, if you want to sort on the seven fields, SMF80USR, SMF80DTE, SMF80TME, SMF80EVQ, SMF80UID, SMF80TRM, and SMF80VER, you can override all three parameters by specifying #5 as equal to “SMF80USR SMF80DTE SMF80TME”, #6 as equal to “SMF80EVQ SMF80UID SMF80TRM”, and #7 as equal to “SMF80VER”.
#8 #8 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#9 #9 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
![Page 335: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/335.jpg)
DYSMF80 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–327
Invoking the DYSMF80 COPY Function
DYSMF80 COPY Function: Example 1
Print all records with SMF buffer date and time between 10:00 P.M. and 12:00 P.M. on August 04, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF80LNG ;RECORD LENGTH
STATUS SMF80FIN ;END OF FILE
COPY SMF80REC
COPY DYSMF80 #1=”'08/04/97'” #2=”'22:00:00'”
#3=”'08/04/97'” #4=”'24:00:00'”
#L=YES #S=NULL
FIN
DYSMF80 COPY Function: Example 2
Print all records regardless of date and time in users identifier (SMF80USR), and users connected group (SMF80GRP) sequence. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF80LNG ;RECORD LENGTH
STATUS SMF80FIN ;END OF FILE
COPY SMF80REC
COPY DYSMF80 #5='SMF80USR SMF80GRP'
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF80REC statement and the COPY DYSMF80 statement. For instance, in the example shown above the following code:
IF SMF80SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 336: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/336.jpg)
DYSMF80 COPY Function
1–328 SMF/RMF Reporting Guide
DYSMF80 Short Formatted Report
08/10/97 16.36.32 RECORD TYPE 80 SHORT REPORT RESOURCE ACCESS CONTROL FACILITY PAGE 1
USERS USERS USERS JOB RECORD RECORD RACF VERSION,
IDENTIFIER CONNECTED TERMINAL NAME MOVED TO MOVED TO RELEASE AND
GROUP ID SMF BUFFER SMF BUFFER MODIFICATION
TIME DATE LEVEL NUMBER
-------------------------------------------------------------------------------------------------------------------------------
OPUTIL OPER01 SLGSAVD 23:59:40.41 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGSAVD 23:59:40.62 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGSAVD 00:00:28.23 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGPRT 00:00:30.54 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 RMFPST 00:00:32.37 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 RMFPST 00:00:32.91 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGPRT 00:01:00.25 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGPRT 00:01:00.32 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 BKPWKY 00:01:20.93 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 LOGSAV 00:01:20.96 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 BKPWKY 00:01:22.76 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 BKPWKY 00:01:23.60 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 RACFCPY 00:01:24.82 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 LOGSAV 00:01:25.22 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 RACFCPY 00:01:25.42 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGSAVW 00:01:32.65 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
OPUTIL OPER01 SLGPRT 00:01:39.85 08/04/97 VERSION: 1 RELEASE: 09 MOD. LVL. : 0
NUMBER OF RECORDS PRINTED: 17
![Page 337: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/337.jpg)
DYSMF80 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–329
DYSMF80 Long Formatted Report (Page 1 of 2)
08/10/97 16.38.59 RECORD TYPE 80 LONG REPORT RESOURCE ACCESS CONTROL PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1
TIME RECORD WAS MOVED TO SMF BUFFER 23:59:40.41 DATE RECORD WAS MOVED TO SMF BUFFER 08/04/97
EVENT CODE 2 EVENT CODE QUALIFIER 0
ID OF THE USER ASSOCIATED WITH THE EVENT OPUTIL GROUP TO WHICH USER WAS CONNECTED OPER01
OFFSET OF FIRST RELOCATE SECTION 88 NUMBER OF RELOCATE SECTIONS 10
TERMINAL LEVEL NUMBER OF FOREGROUND USER 0 VERSION INDICATOR FROM RCVT
TERMINAL ID OF FOREGROUND USER JOB NAME SLGSAVD
TIME READER RECOGNIZED JOB CARD 23:59:09.68 DATE READER RECOGNIZED JOB CARD 08/04/97
USER ID FROM THE SMF COMMON EXIT PARAMETER SECURITY LABEL OF THE USER
RACF VERSION AND RELEASE INFORMATION RACF VERSION 1 RELEASE 09 MODIFICATION LEVEL NUMBER 0
DESCRIPTOR FLAGS THE EVENT IS WARNING
SPECIAL AUTHORITIES USED NORMAL AUTHORITY CHECK
REASON FOR LOGGING USER BEING AUDITED
COMMAND PROCESSING ERROR FLAG SPECIAL USERS AUDITED
ADDITIONAL REASONS FOR LOGGING ----------
RELOCATE SECTION
****************
RELOCATE SECTION NUMBER 1
------------------------
DATA TYPE 1 LENGTH OF DATA 11
DATA IPOSAV.LWTR
RELOCATE SECTION NUMBER 2
------------------------
DATA TYPE 3 LENGTH OF DATA 1
DATA
RELOCATE SECTION NUMBER 3
------------------------
DATA TYPE 4 LENGTH OF DATA 1
DATA
RELOCATE SECTION NUMBER 4
------------------------
DATA TYPE 5 LENGTH OF DATA 1
DATA
RELOCATE SECTION NUMBER 5
------------------------
DATA TYPE 15 LENGTH OF DATA 6
DATA MVSCAT
![Page 338: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/338.jpg)
DYSMF80 COPY Function
1–330 SMF/RMF Reporting Guide
DYSMF80 Long Formatted Report (Page 2 of 2)
08/10/97 16.38.59 RECORD TYPE 80 LONG REPORT RESOURCE ACCESS CONTROL PAGE 2
RELOCATE SECTION NUMBER 6
------------------------
DATA TYPE 17 LENGTH OF DATA 8
DATA DATASET
RELOCATE SECTION NUMBER 7
------------------------
DATA TYPE 33 LENGTH OF DATA 12
DATA IPOSAV.LWTR
RELOCATE SECTION NUMBER 8
------------------------
DATA TYPE 38 LENGTH OF DATA 8
DATA RACFADM
RELOCATE SECTION NUMBER 9
------------------------
DATA TYPE 49 LENGTH OF DATA 20
DATA ####################
RELOCATE SECTION NUMBER 10
------------------------
DATA TYPE 53 LENGTH OF DATA 80
DATA
![Page 339: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/339.jpg)
DYSMF80 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–331
DYSMF80 Record Definition COPYLIB(SMF80REC)
SMFRCD80 1 CH ;HEADER SEGMENT
REDEFINE AT SMFRCD80
SMF80FLG 1 1 BI ;HEADER FLAG BYTE — SYSTEM
* BIT MEANING WHEN SET
* BIT 6 — VS2
SMF80RTY 1 2 BI ;RECORD TYPE(80), ONLY HEADER FIELD SET
* BY GENERATOR OF RECORD
SMF80TME 4 3 BI ;TOD FROM TIME MACRO — BINARY
SMF80DTE 4 7 PD ;DATE FROM TIME MACRO
SMF80SID 4 11 CH ;SYSTEM IDENTIFICATION
SMF80DES 2 15 BI ;DESCRIPTOR FLAGS
* BIT MEANING WHEN SET
* BIT 0 — THIS EVENT IS A VIOLATION
* BIT 1 — USER NOT DEFINED TO RACF
* BIT 2 — RCD CONTAINS VERSION INDICATOR
* BIT 3 — THIS EVENT IS A WARNING
* BIT 4 — RECORD CONTAINS A VERSION,
* RELEASE, AND MODIFICATION
* NUMBER (VRRM)
* BITS 5-15 — RESERVED
SMF80EVT 1 17 BI ;EVENT CODE
* 1 — JOB INITIATION/TSO LOGON
* 2 — RESOURCE ACCESS
* 3 — END OF VOLUME
* 4 — RENAME DATA SET
* 5 — SCRATCH DATA SET OR TAPE VOLUME
* 6 — DELETE 1 VOLUME OF MULTIVOLUME
* DATA SET OR TAPE VOLUME SET
* 7 — DEFINE DATA SET OR TAPE VOLUME SET
* 8 — ADDSD
* 9 — ADDGROUP
* 10— ADDUSER
* 11— ALTDSD
* 12— ALTGROUP
* 13— ALTUSER
* 14— CONNECT
* 15— DELDSD
* 16— DELGROUP
* 17— DELUSER
* 18— PASSWORD
* 19— PERMIT
* 20— RALTER
* 21— RDEFINE
* 22— RDELETE
* 23— REMOVE
* 24— SETROPTS
* 25— RVARY
![Page 340: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/340.jpg)
DYSMF80 COPY Function
1–332 SMF/RMF Reporting Guide
* 26— APPCLU
SMF80EVQ 1 18 BI ;EVENT CODE QUALIFIER
SMF80USR 8 19 CH ;USER ID FOR WHICH THIS EVENT RECORDED
SMF80GRP 8 27 CH ;GROUP TO WHICH USER WAS CONNECTED
SMF80REL 2 35 BI ;OFFSET OF FIRST RELOCATE SECTION FROM
* BEGINNING OF THE RECORD HEADER
SMF80CNT 2 37 BI ;NUMBER OF RELOCATE SECTIONS
SMF80ATH 1 39 BI ;SPECIAL AUTHORITIES USED
* BIT MEANINGS WHEN SET —
* BIT 0 — NORMAL AUTHORITY CHECK
* BIT 1 — SPECIAL ATTRIBUTE
* BIT 2 — OPERATIONS ATTRIBUTE
* BIT 3 — AUDITOR ATTRIBUTE
* BIT 4 — INSTALLATION EXIT ACTION
* BIT 5 — FAILSOFT PROCESSING
* BIT 6 — BYPASSED — USER ID=*BYPASS*
* BIT 7 — RESERVED
SMF80REA 1 40 BI ;REASON FOR LOGGING
* BIT MEANINGS WHEN SET:
* BIT 0 — CHANGES TO THIS CLASS OF
* PROFILE BEING AUDITED
* BIT 1 — USER BEING AUDITED
* BIT 2 — SPECIAL USERS BEING AUDITED
* BIT 3 — ACCESS TO ENTITY BEING AUDITED
* DUE TO AUDIT OPTION
* OR RACHECK INSTALLATION EXIT
* REQUESTED LOGGING, OR TO
* FAILSOFT PROCESSING
* BIT 4 — *RACINIT* FAILURE
* BIT 5 — THIS COMMAND IS ALWAYS AUDITED
* BIT 6 — VIOLATION DETECTED AND CMDVIOL
* IN EFFECT
* BIT 7 — ACCESS TO ENTITY BEING AUDITED
* DUE TO GLOBAL AUDIT OPTION
SMF80TLV 1 41 BI ;TERMINAL LEVEL NUMBER OF FOREGROUND
* USER (ZERO IF NOT AVAILABLE OR NOT
* VERIFIED)
SMF80ERR 1 42 BI ;COMMAND PROCESSING ERROR FLAG
* BIT MEANINGS WHEN SET:
* BIT 0 — COMMAND HAD ERROR AND COULD
* NOT BACKOUT SOME CHANGES
* BIT 1 — NO PROFILE UPDATES MADE
* BECAUSE OF ERROR IN PROCESSING
* BIT 2-7 — RESERVED
SMF80TRM 8 43 CH ;TERMINAL ID OF FOREGROUND USER
* (ZEROES IF NOT AVAILABLE)
SMF80JBN 8 51 CH ;JOB NAME
SMF80RST 4 59 BI ;TIME READER RECOGNIZED JOB CARD
* IN HUNDREDTHS OF SECONDS
![Page 341: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/341.jpg)
DYSMF80 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–333
SMF80RSD 4 63 PD ;DATE READER RECOGNIZED JOB CARD
* 00YYDDDF FORMAT
SMF80UID 8 67 CH ;USER IDENTIFICATION
SMF80VER 1 75 BI ;VERSION INDICATOR FROM RCVT
SMF80RE2 1 76 BI ;REASON FOR LOGGING CONTINUED
* BIT MEANINGS WHEN SET:
* BIT 0 — AUDITING BY SECURITY LEVEL
* BIT 1 — VMEVENT AUDITING
* BIT 2 - 1 = CLASS BEING AUDITED
* DUE TO SETROPTS
* LOG OPTIONS
* BIT 3 - 1 = ENTITY AUDITED DUE TO
* SETROPTS SECLABEL AUDIT
* AND PROFILE INDICATES
* AUDIT
* BIT 4 - 1 = ENTITY AUDITED WHEN SETROPTS
* COMPATMODE IN EFFECT
* BITS 5-7 — RESERVED
SMF80VRM 4 77 CH ;RACF VERSION, RELEASE, AND MODIFICATION
* NUMBER (VRRM)
SMF80SEC 8 81 CH ;SECLABEL
***************************************************************
* RELOCATE SECTION
***************************************************************
SMF80DTP 1 89 BI ;DATA TYPE
SMF80DLN 1 90 BI ;LENGTH OF DATA THAT FOLLOWS
SMF80DTA 255 91 CH ;DATA
![Page 342: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/342.jpg)
DYSMF81 COPY Function
1–334 SMF/RMF Reporting Guide
DYSMF81 COPY Function The DYSMF81 COPY function can be used to print SMF type 81 records in two report formats — a long format and a short format. SMF type 81 records contain information that is pertinent to RACF INITIALIZATION. An example for DYSMF81 long formatted report is shown in this section.
Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF81 COPY Parameters
Twelve parameters can be varied in the DYSMF81 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #5,#6, and #7 control the sort sequence of the printed records. Parameters #8 and #9 define the "From" and "To" dates in 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 contains the name of the fields within the SMF record upon which the selected records are sorted in major to minor order. This applies only to sort fields 1 through 3. The value of the field cannot exceed 30 characters. The default value is “SMF81SID SMF81DTE SMF81TME” (system ID, date, and time).
![Page 343: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/343.jpg)
DYSMF81 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–335
Parameter Description
#6 and #7 Parameters #6 and #7 are additional sort fields that have a default value of NULL.
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF81 COPY Function
DYSMF81 COPY Function: Example 1
Print all type 81 records with SMF buffer date and time that are between the dates of 07/05/06 and 07/31/06. Print the records using the long format with the report sorted by initiator selected step date and time.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF81LNG ;RECORD LENGTH
STATUS SMF81EOF ;END-OF-FILE
COPY DYSMF81 #1="'07/05/06'" #3="'07/31/06'"
#5='SMF81DTE SMF81TME'
#L=YES #S=NULL #X=YES
FIN
![Page 344: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/344.jpg)
DYSMF90 COPY Function
1–336 SMF/RMF Reporting Guide
DYSMF90 COPY Function The DYSMF90 COPY function can be used to print SMF type 90 records in two report formats — a long format and a short format. SMF type 90 records contain information that is pertinent to SYSTEM STATUS. Record type 90 is written during initialization processing, and whenever certain operator commands are issued. The examples for DYSMF90 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF90 Record Definition COPYLIB(SMF90REC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF90 COPY Parameters
Nine parameters can be varied in the DYSMF90 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #8 and #9 define the "From" and "To" dates for a 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
![Page 345: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/345.jpg)
DYSMF90 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–337
Parameter Description
#L and #S #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
Invoking the DYSMF90 COPY Function
DYSMF90 COPY Function: Example 1
Print all type 90 records with SMF buffer date of 07/15/06 and a time value between 08:49:00 and 23:30:00. Print the records using the long report with a 2-digit year date format.
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF90LNG ;RECORD LENGTH
STATUS SMF90EOF ;END-OF-FILE
COPY SMF90REC
COPY DYSMF90 #1="'07/15/06'"
#3="'07/15/06'"
#2="'08:49:00'"
#4="'23:30:00'"
#L=YES #S=NULL #X=YES
DYSMF90 COPY Function: Example 2
Print all type 90 records where the SMF buffer date is between 07/01/06 and 07/15/06 and the time is between 08:49:00 and 23:30:00. Print the records using the short report with a 4-digit year date format.
OPTION STRUCTURED2
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF90LNG ;RECORD LENGTH
STATUS SMF90EOF ;END-OF-FILE
COPY SMF90REC
COPY DYSMF90 #8="'07/01/2006'"
#9="'07/15/2006'"
#2="'08:49:00'"
#4="'23:30:00'"
#L=NULL #S=YES #X=NULL
FIN
![Page 346: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/346.jpg)
DYSMF90 COPY Function
1–338 SMF/RMF Reporting Guide
DYSMF90 Long Formatted Report (Page 1 of 2)
An extract of SMF Type 90 long report is shown as follows.
09/10/06 11.53.44 SMF RECORD 90 LONG REPORT SYSTEM STATUS PAGE 1
FROM: 07/15/06 08:49:00
TO: 07/15/06 23:30:00
SWITCH SMF/HALT EOD SECTION
************************
TIME RECORD WAS MOVED TO SMF BUFFER: 09:58:41.52
DATE RECORD WAS MOVED TO SMF BUFFER: 07/15/06
SYSTEM ID: DVR78
ACTION IS: ** SWITCH SMF **
IPL TIME: 22:20:28.32
IPL DATE: 07/08/06
OLD RECORDING DATA SET NAME: SYS1.RCD1
NEW RECORDING DATA SET NAME:
SWITCH SMF/HALT EOD SECTION
************************
TIME RECORD WAS MOVED TO SMF BUFFER: 11:00:07.89
DATE RECORD WAS MOVED TO SMF BUFFER: 07/15/06
SYSTEM ID: DVR78
ACTION IS: ** SWITCH SMF **
IPL TIME: 22:20:28.32
IPL DATE: 07/08/06
OLD RECORDING DATA SET NAME: SYS1.RCD1
NEW RECORDING DATA SET NAME: SYS1.RCD2
SWITCH SMF/HALT EOD SECTION
************************
TIME RECORD WAS MOVED TO SMF BUFFER: 12:45:44.91
DATE RECORD WAS MOVED TO SMF BUFFER: 07/15/06
SYSTEM ID: DVR78
ACTION IS: ** SWITCH SMF **
IPL TIME: 22:20:28.32
IPL DATE: 07/08/06
OLD RECORDING DATA SET NAME: SYS1.RCD2
NEW RECORDING DATA SET NAME: SYS1.RCD1
![Page 347: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/347.jpg)
DYSMF90 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–339
SWITCH SMF/HALT EOD SECTION
************************
TIME RECORD WAS MOVED TO SMF BUFFER: 14:44:08.84
DATE RECORD WAS MOVED TO SMF BUFFER: 07/15/06
SYSTEM ID: DVR78
ACTION IS: ** SWITCH SMF **
IPL TIME: 22:20:28.32
IPL DATE: 07/08/06
OLD RECORDING DATA SET NAME: SYS1.RCD1
NEW RECORDING DATA SET NAME: SYS1.RCD2
SWITCH SMF/HALT EOD SECTION
************************
TIME RECORD WAS MOVED TO SMF BUFFER: 16:14:39.86
DATE RECORD WAS MOVED TO SMF BUFFER: 07/15/06
SYSTEM ID: DVR78
ACTION IS: ** SWITCH SMF **
DYSMF90 Long Formatted Report (Page 2 of 2)
09/10/06 11.53.44 SMF RECORD 90 LONG REPORT SYSTEM STATUS PAGE 2
FROM: 07/15/06 08:49:00
TO: 07/15/06 23:30:00
IPL TIME: 22:20:28.32
IPL DATE: 07/08/06
OLD RECORDING DATA SET NAME: SYS1.RCD2
NEW RECORDING DATA SET NAME: SYS1.RCD1
![Page 348: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/348.jpg)
DYSMF90 COPY Function
1–340 SMF/RMF Reporting Guide
DYSMF90 Short Formatted Report
09/10/2006 11.52.55 SMF RECORD 90 SHORT REPORT SYSTEM STATUS PAGE 1
FROM: 07/01/2006 08:49:00
TO: 07/15/2006 23:30:00 SYSTEM ID: DVR78
COMMAND COMMAND PERCENTAGE
TOTAL OF GRAND
TOTAL
---------------------------------------------------- -----------------------------
** SET TIME ** .00
** SET DATE ** .00
** SET DMN ** .00
** SET IPS ** .00
** SET SMF ** .00
** SWITCH SMF ** 79 84.95
** HALT EOD ** 1 1.08
** IPL PROMPT ** .00
** IPL SMF ** 1 1.08
** IPL SRM ** 1 1.08
** SET OPT ** .00
** SET ICS ** .00
** SETSMF ** .00
** SET MPF ** .00
** RESTART SMF ** .00
** SET DAE ** 1 1.08
** SET PFK ** .00
** SET GRSRNL ** .00
** SET APPC ** .00
** SET SCHPRM ** .00
** SET SCH ** .00
** SET CNGRP ** .00
** IPL WLM ** .00
** VARY WLM ** .00
** MODIFY WLM ** .00
** IPL LOGREC ** 1 1.08
** SETXCF START ** .00
** SETXCF STOP ** .00
** SET PROG ** .00
![Page 349: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/349.jpg)
DYSMF90 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–341
** WLM RESET ** .00
** LPALST ACTIVATION ** 9 9.68
** WLM POLICY CHANGE ** .00
<><> TOTAL COMMANDS <><> 93 100.00
DYSMF90 Record Definition COPYLIB(SMF90REC)
SMFRCD90 1 1 CH ;START OF RECORD
REDEFINE AT SMFRCD90
SMF90PTR 1 1 CH ;HEADER SEGMENT
REDEFINE AT SMF90PTR
*****************************************************
* R E C O R D: SMF90REC *
* *
* R E C O R D T Y P E 90 (5A) *
* S Y S T E M S T A T U S *
* *
*****************************************************
* THIS RECORD IS WRITTEN WHEN EVER AN OPERATOR COMMAND OR
* RESPONSE OF THE FOLLOWING TYPE IS RECEIVED:
* 1 SET TIME
* 2 SET DATE
* 3 SET DMN
* 4 SET IPS
* 5 SET SMF
* 6 SWITCH SMF
* 7 HALT EOD
* 8 IPL PROMPT (RESPONSE)
* 9 IPL SMF (RESPONSE)
* 10 IPL SRM (RESPONSE)
* 11 SET OPT
* 12 SET ICS
* 13 SETSMF
* 14 SET MPF
* 15 RESTART SMF
* 16 SET DAE
* 17 SET PFK
* 18 SET GRSRNL
* 19 SET APPC
* 20 SET SCHPRM
* 21 SET SCH
* 22 SET CNGRP
* 23 WLM Service Definition Install
* 24 WLM Service Policy Activation
* 25 Workload Management Mode Change
* 26 IPL LOGREC
![Page 350: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/350.jpg)
DYSMF101 COPY Function
1–342 SMF/RMF Reporting Guide
DYSMF101 COPY Function The DYSMF101 COPY function can be used to print SMF type 101 records in two reports formats — a long format and a short format. SMF type 101 records contain information that is pertinent to DB2 ACCOUNTING. The type 101 record captures detailed information about one or more significant events in a DB2 system. The volume of data that DB2 collects can be very large. This fact introduces the possibility that a large time interval specified for the Advantage VISION:Excel SMF type 101 report could produce hundreds or thousands of pages. Also note that this DB2 Accounting report does not include any statistics or data analysis.
The examples for DYSMF101 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the SMF record is formatted as shown in DYSMF101 Record Definition COPYLIB(SMF101RC). Records can be selected for printing depending on the date and time the SMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYSMF101 COPY Parameters
Nine parameters can be varied in the DYSMF101 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes.
Parameters #8 and #9 define the "From" and "To" dates for a 4-digit year format. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
![Page 351: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/351.jpg)
DYSMF101 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–343
Parameter Description
#L and #S The parameter #L causes the long formatted report to print when #L is set to a non-NULL value.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (#X=YES).
The date and time the SMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
Invoking the DYSMF101 COPY Function
DYSMF101 COPY Function: Example 1
The activity that occurs in a DB2 system in just a matter of minutes can be substantial. With respect to this fact, the following example takes a DB2 Accounting sample of just under 2 minutes. These specifications will list all type 101 records with a SMF buffer date of 02/15/06 and a time value between 08:00:00 and 08:01:55. The report will be printed with the long format using dates with a 4-digit year.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF101LNG ;RECORD LENGTH
STATUS SMF101EOF ;END-OF-FILE
COPY SMF101RC
COPY DYSMF101 #8="'02/15/2006'"
#9="'02/15/2006'"
#2="'08:00:00'"
#4="'08:01:55'"
#L=YES #S=NULL #X=NULL
FIN
![Page 352: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/352.jpg)
DYSMF101 COPY Function
1–344 SMF/RMF Reporting Guide
DYSMF101 COPY Function: Example 2
Print all type 101 records where the SMF buffer date is 02/15/06 and the time value is between 08:00:00 and 08:01:55. Print the records using the short report with a 2-digit year date format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF101LNG ;RECORD LENGTH
STATUS SMF101EOF ;END-OF-FILE
COPY SMF101RC
COPY DYSMF101 #1="'02/15/06'"
#3="'02/15/06'"
#2="'08:00:00'"
#4="'08:01:55'"
#L=NULL #S=YES #X=YES
FIN
DYSMF101 Long Formatted Report (Page 1 of 6)
Below is an excerpt of a Type 101 long report. Each DB2 Accounting record in the SMF file that meets the specified selection criteria will produce a listing that will include a Product Section and some or all of the following Data Sections: an Accounting Section, an SQL Accounting Section, a Buffer Manager Accounting Section, a Lock Manager Section, a DDF V2R2 Section, a DDF V2R3 Section, an IFI Accounting Section, a DBRM Accounting Section, a Buffer Manager Section, a Buffer Manager Data Share Accounting Section, a Data Share Accounting Section, a Global Data Share Accounting Section, or an Accounting Class 3 Overflow Section. Each successive DB2 accounting record read and presented in the report will again start with a Product Section and be followed by various Data Sections.
03/13/2006 13.03.35 SMF RECORD 101 LONG REPORT DATABASE 2 ACCOUNTING PAGE 1
FROM: 02/15/2006 08:00:00
TO: 02/15/2006 08:01:55
-----------------------------------------------------------
PRODUCT SECTION
------------------------------------------------------------
TIME RECORD WAS MOVED TO SMF BUFFER: 08:00:13.40
DATE RECORD WAS MOVED TO SMF BUFFER: 02/15/2006
LENGTH OF THE STANDARD HEADER: 76
HEADER TYPE: STANDARD HEADER
![Page 353: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/353.jpg)
DYSMF101 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–345
RESOURCE MANAGER ID: 26
IFCID: 3
NUMBER OF SELF DEFINING AREAS: 13
RELEASE NUMBER: 113
DISPATCH UNIT ADDRESS: 224361592
SYSTEM ID: DVR78
SUBSYSTEM NAME: ZX36
TIME HEADER RECORD WAS WRITTEN: 13:00:35.40
IFCID SEQ NUM: 5261
DEST SEQ NUM: 7909
TRACE NUM MASK: 2
LOCAL LOCATION NAME: Z6B0ADB2
NETWORK ID: GLOBDAZ8
LUNAME: ZX36DB2
COMMIT COUNT: 1
CORRELATION HEADER LENGTH: 142
HEADER TYPE: CORRELATION HEADER
AUTHORIZATION ID: SQAINTRN
CORRELATION ID: PRDSCHED
CONNECTION NAME: DB2CALL
PLAN NAME: VRECV224
ORIGINAL OPERATOR ID: SQAINTRN
SYSTEM TYPE: DB2 CALL ATTACH
ACCOUNTING TOKEN:
END USERS USERID:
END USERS TRANSACTION NAME:
------------------------------------------------------------
ACCOUNTING SECTION
------------------------------------------------------------
ELAPSED TIME IN DB2: 00:00:04.75
HOME TCB ASCB TIME WHILE IN DB2: 00:00:00.07
I/O ELAPSED WAIT TIME FOR database I/O: 00:00:00.00
WAIT TIME DUE TO LATCH OR LOCKS CONTENTION: 00:00:00.00
# OF DB2 ENTRY/EXIT EVENTS PROCESSED: 122
# OF WAIT TRACE EVENTS PROCESSED FOR DATABASE I/O:
WAIT TIME FOR READ I/O DONE UNDER ANOTHER THREAD: 00:00:00.00
WAIT TIME FOR WRITE I/O DONE UNDER ANOTHER THREAD: 00:00:00.00
![Page 354: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/354.jpg)
DYSMF101 COPY Function
1–346 SMF/RMF Reporting Guide
DYSMF101 Long Formatted Report (Page 2 of 6)
03/13/2006 13.03.35 SMF RECORD 101 LONG REPORT DATABASE 2 ACCOUNTING PAGE 2
FROM: 02/15/2006 08:00:00
TO: 02/15/2006 08:01:55
WAIT TIME DUE TO SYNCHRONOUS EXECUTION UNIT
SWITCH for DB2 commit, abort, or deallocation: 00:00:00.00
# OF WAIT TRACE EVENTS PROCESSED FOR
WAITS FOR LATCH OR LOCAL CONTENTION FOR LOCKS:
# OF WAIT TRACE EVENTS PROCESSED FOR
WAITS FOR READ I/O UNDER ANOTHER THREAD:
# OF WAIT TRACE EVENTS PROCESSED FOR
WAITS FOR WRITE I/O UNDER ANOTHER THREAD:
# OF WAIT TRACE EVENTS PROCESSED FOR SYNCHRONOUS
EXECUTION UNIT SWITCHING FOR COMMIT/ABORT:
----------- ACTIVATION DEPENDENT VALUES
CLASS 2 DATA IS ACTIVE?: YES
CLASS 3 DATA IS ACTIVE?: NO
ROLLUP DATA FOR PARALLEL CHILD TASK IS ACTIVE NO
# OF PACKAGES/DBRMs WHERE
PACKAGE/DBRM LEVEL ACCOUNTING WAS PERFORMED:
----------- STORED PROCEDURE VALUES
TOTAL TCB TIME TO SATISFY STORED PROC REQUESTS
PROCESSED IN A DB2 STORED PROC/WLM SPACE: 00:00:00.00
ACCUMULATED TCB TIME CONSUMED IN DB2 PROCESSING
SQL STATEMENTS ISSUED BY STORED PROCEDURES: 00:00:00.00
# OF SQL ENTRY/EXIT
EVENTS PERFORMED BY STORED PROCEDURES:
----------- QUERY PARALLELISM EXECUTION VALUES
SU CONVERSION FACTOR: 797
MVS WORKLOAD MANAGER SERVICE CLASS NAME:
----------- LOG RECORD VALUES
# OF LOG RECORDS WRITTEN: 12
----------- USER DEFINED FUNCTION VALUES
TCB TIME IN DB2 PROCESSING
SQL STATEMENTS INCLUDED IN MUDCP: 00:00:00.00
# OF SQL ENTRY/EXIT EVENTS PERFORMED:
THE TOTAL ELAPSED
TIME SPENT FOR EXECUTING SQL: 00:00:00.00
----------- TRIGGER VALUES
![Page 355: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/355.jpg)
DYSMF101 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–347
TCB TIME CONSUMED PRIOR TO ENCLAVE CREATION TIME: 00:00:00.00
TIME SPENT IN STORED PROCEDURES INCLUDING EXECUTING SQL: 00:00:00.00
TIME SPENT FOR STORED PROCEDURES EXECUTING SQL: 00:00:00.00
----------- EXTERNAL SAVEPOINT REQUEST VALUES
# OF SAVEPOINT REQUESTS:
# OF RELEASE SVPT REQUESTS:
# OF ROLLBACK TO SVPT REQUESTS:
------------------------------------------------------------
SQL ACCOUNTING SECTION
------------------------------------------------------------
CONTROL BLOCK ID: 8341
DYSMF101 Long Formatted Report (Page 3 of 6)
03/13/2006 13.03.35 SMF RECORD 101 LONG REPORT DATABASE 2 ACCOUNTING PAGE 3
FROM: 02/15/2006 08:00:00
TO: 02/15/2006 08:01:55
CONTROL BLOCK LENGTH: 440
CONTROL BLOCK EYE CATCHER: QXST
# OF INSERTS:
# OF SELECTS:
# OF UPDATES: 2
# OF DELETES:
# OF DESCRIBES:
# OF PREPARES: 13
# OF OPENS: 13
# OF CLOSES: 13
# OF CREATE TABLE:
# OF CREATE INDEX:
# OF CREATE TABLESPACE:
# OF CREATE SYNONYM:
# OF CREATE DATABASE:
# OF CREATE STORAGE GROUP:
# OF CREATE VIEW:
# OF DROP INDEX:
# OF DROP TABLE:
![Page 356: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/356.jpg)
DYSMF101 COPY Function
1–348 SMF/RMF Reporting Guide
# OF DROP TABLESPACE:
# OF DROP DATABASE:
# OF DROP SYNONYM:
# OF DROP STORAGE GROUP:
# OF DROP VIEW:
# OF ALTER STORAGE GROUP:
# OF FETCHES: 16
# OF ALTER TABLESPACE:
# OF ALTER TABLE:
# OF ALTER INDEX:
# OF COMMENT ON:
# OF LOCK TABLE:
# OF GRANT:
# OF REVOKE:
# OF INCREMENTAL BINDS EXCLUDING PREPARES:
# OF LABEL ON:
# OF Set Current SQLID:
# OF CREATE ALIAS:
# OF DROP ALIAS:
# OF times RID LIST processing used: 3
# OF times a RID LIST was not used:
# OF times one or more RID not USED:
# OF Set Host-Variable statements:
# OF ALTER DATABASE:
# OF DROP PACKAGE STATEMENTS:
# OF DESCRIBE TABLE STATEMENTS:
Maximum degree of parallelism:
# OF parallel groups executed:
# OF parallel to sequential DUE to cursor:
# OF parallel TO sequential DUE TO NO ESASORT SUPPORT:
DYSMF101 Long Formatted Report (Page 4 of 6)
03/13/2006 13.03.35 SMF RECORD 101 LONG REPORT DATABASE 2 ACCOUNTING PAGE 4
FROM: 02/15/2006 08:00:00
TO: 02/15/2006 08:01:55
# OF PARALLEL TO SEQUENTIAL DUE TO STORAGE OR BUFFER:
# OF PARALLEL DEGREE LESS THAN PLANNED DUE TO STORAGE OR BU
# OF PARALLEL DEGREE AS PLANNED DUE TO STORAGE OR BUFFER:
![Page 357: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/357.jpg)
DYSMF101 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–349
# OF CONNECT type 1 statements executed:
# OF CONNECT type 2 statements executed:
# OF RELEASE statements executed:
# OF SET CONNECTION statements executed:
# OF SET CURRENT DEGREE statements executed:
# OF SET CURRENT RULES statements:
# OF SQL CALL statements executed:
# OF times a stored procedure ABENDed:
# OF times an SQL CALL statement timed out:
# OF times an SQL CALL statement was rejected:
# OF parallel TO SEQUENTIAL DUE TO UNAVAILABLE ENCLAVE:
Query Parallelism is disabled by the RLF:
# OF PARALLEL TO SINGLE DUE TO COORDINATOR PARM = NO:
# OF PARALLEL TO SINGLE DUE TO repeatable-read
or read-stability isolation:
# OF CREATE GLOBAL TEMPORARY TABLE:
# of times reoptimization occurs:
# OF parallel groups to run across data sharing GROUP:
# OF TIMES there was not enough buffer pool storage:
# OF ASSOCIATE LOCATOR statements executed:
# OF ALLOCATE CURSOR statements executed:
# OF PREPARE request satisfied by copy from cache: 3840
# OF TIMES PREPARE request not found IN cache:
# OF TIMES implicit prepare DUE TO KEEPDYNAMIC(YES) option:
# OF TIMES a prepare was avoided DUE TO KEEPDYNAMIC(YES):
# OF TIMES a statement was discarded due to MAXKEEPD:
# OF TIMES a prepared statement was purged from the cache
DUE TO DROP, ALTER, or REVOKE on a dependent object:
# OF RENAME TABLE:
# OF CREATE TRIGGER:
# OF DROP TRIGGER:
# OF SET CURRENT PATH statements:
# OF DROP USER DEFINED FUNCTION:
# OF DROP PROCEDURE:
# OF CREATE DISTINCT TYPE statements:
# OF DROP DISTINCT TYPE statements:
# OF CREATE FUNCTION statements:
# OF CREATE PROCEDURE statements:
# OF HOLD LOCATOR statements:
# OF FREE LOCATOR statements:
# of parallel groups WHERE PARALLEL PORTION OF ACCESS PATH
WAS reformulated DUE TO CHANGE IN SYSPLEX configuration:
![Page 358: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/358.jpg)
DYSMF101 COPY Function
1–350 SMF/RMF Reporting Guide
# OF parallel groups WHERE PARALLEL PORTION OF ACCESS PATH
WAS reformulated DUE TO not enough buffer pool resource:
# OF CREATE AUX TABLE statements:
Max storage used for LOB values
DYSMF101 Long Formatted Report (Page 5 of 6)
03/13/2006 13.03.35 SMF RECORD 101 LONG REPORT DATABASE 2 ACCOUNTING PAGE 5
FROM: 02/15/2006 08:00:00
TO: 02/15/2006 08:01:55
In KB for accounting, in MB for statistics:
# OF ALTER FUNCTION statements:
# OF ALTER PROCEDURE statements:
# OF times that direct row access was successful:
# OF times an attempt to use direct row
access reverted TO using an index to locate a record:
# OF times an attempt to use direct row access reverted
to using a table space scan to locate a record:
# OF times a statement trigger was activated:
# OF times a row trigger was activated:
# OF times an SQL error occurred
during execution of a triggered action:
The maximum level of nested SQL cascading:
# OF user defined functions executed:
# OF times a UDF ABENDed:
# OF times a UDF timed out waiting to be scheduled:
# OF times a UDF was rejected:
# SET CURRENT PRECISION statements executed:
# OF DECLARE GLOBAL TEMPORARY TABLE stmts:
# of parallel groups that are part of a query
block using a UDF ON A SINGLE DB2 DUE TO TEMP TABLE: 64
------------------------------------------------------------
BUFFER MANAGER SECTION
------------------------------------------------------------
BUFFER POOL ID:
# OF GET PAGE REQUESTS ISSUED: 18
# OF SETW ISSUED FOR SYSTEM PAGES: 12
# OF SYNCHRONOUS READ I/O:
# OF SEQ PREFETCH REQUESTED: 3
# OF IMMEDIATE (SYNCHRONOUS) WRITE I/O:
![Page 359: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/359.jpg)
DYSMF101 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–351
# OF LIST PREFETCH REQUESTED:
# OF DYNAMIC PREFETCH REQUESTED:
# OF SUCCESSFUL HIPERPOOL READ:
# OF UNSUCCESSFUL HIPERPOOL READ:
# OF SUCCESSFUL HIPERPOOL WRITE:
# OF UNSUCCESSFUL HIPERPOOL WRITE:
# OF UNSUCCESSFUL GET PAGE OPERATIONS:
# OF ASYNCHRONOUS PAGES READ BY PREFETCH: 8
# OF PAGES HIPERPOOL TO A VIRTUAL BUFFER:
BUFFER POOL ID: 1
# OF GET PAGE REQUESTS ISSUED: 7507
# OF SETW ISSUED FOR SYSTEM PAGES: 2
# OF SYNCHRONOUS READ I/O:
# OF SEQ PREFETCH REQUESTED: 9
# OF IMMEDIATE (SYNCHRONOUS) WRITE I/O:
# OF LIST PREFETCH REQUESTED: 21
# OF DYNAMIC PREFETCH REQUESTED:
DYSMF101 Long Formatted Report (Page 6 of 6)
03/13/2006 13.03.35 SMF RECORD 101 LONG REPORT DATABASE 2 ACCOUNTING PAGE 6
FROM: 02/15/2006 08:00:00
TO: 02/15/2006 08:01:55
# OF SUCCESSFUL HIPERPOOL READ:
# OF UNSUCCESSFUL HIPERPOOL READ:
# OF SUCCESSFUL HIPERPOOL WRITE:
# OF UNSUCCESSFUL HIPERPOOL WRITE:
# OF UNSUCCESSFUL GET PAGE OPERATIONS:
# OF ASYNCHRONOUS PAGES READ BY PREFETCH:
# OF PAGES HIPERPOOL TO A VIRTUAL BUFFER:
BUFFER POOL ID: 2
# OF GET PAGE REQUESTS ISSUED: 109
# OF SETW ISSUED FOR SYSTEM PAGES:
# OF SYNCHRONOUS READ I/O:
# OF SEQ PREFETCH REQUESTED:
# OF IMMEDIATE (SYNCHRONOUS) WRITE I/O:
# OF LIST PREFETCH REQUESTED:
# OF DYNAMIC PREFETCH REQUESTED:
# OF SUCCESSFUL HIPERPOOL READ:
# OF UNSUCCESSFUL HIPERPOOL READ:
![Page 360: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/360.jpg)
DYSMF101 COPY Function
1–352 SMF/RMF Reporting Guide
# OF SUCCESSFUL HIPERPOOL WRITE:
# OF UNSUCCESSFUL HIPERPOOL WRITE:
# OF UNSUCCESSFUL GET PAGE OPERATIONS:
# OF ASYNCHRONOUS PAGES READ BY PREFETCH:
# OF PAGES HIPERPOOL TO A VIRTUAL BUFFER:
DYSMF101 Short Formatted Report
Below is an example of a Type 101 short report. The short report simply consist of the names of the sections processed and a total count for each section.
03/13/06 13.02.15 SMF RECORD 101 SHORT REPORT DATABASE 2 ACCOUNTING PAGE 1
FROM: 02/15/06 08:00:00
TO: 02/15/06 08:01:55
SECTION SECTION
TOTAL
----------------------------------------------------
PRODUCT 4
ACCOUNTING 4
SQL COUNTS 4
BUFFER MANAGER 12
LOCK MANAGER 4
DDFV2R2
DDFV2R3 4
IFIV3R1
DBRM
BUFFER MANAGER DATA SHARE 6
GLOBAL DATA SHARE 4
DATA SHARE
ACCOUNTING CLASS 3
<><> TOTAL SECTIONS <><> 42
![Page 361: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/361.jpg)
DYSMF101 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–353
DYSMF101 Record Definition COPYLIB(SMF101RC)
SM101RCD 1 1 CH ;START OF RECORD
REDEFINE AT SM101RCD
******************************************
* R E C O R D: SMF101RC *
* *
* R E C O R D T Y P E 101 (65) *
* D A T A B A S E 2 *
* A C C O U N T I N G *
* *
******************************************
SM101FLG 1 1 BI ;SYSTEM INDICATOR
SM101RTY 1 2 BI ;RECORD TYPE X'65'
SM101TME 4 3 BI ;TIME SMF MOVED RECORD
SM101DTE 4 7 PD ;DATE SMF MOVED RECORD
SM101SID 4 11 CH ;SYSTEM ID (SID)
SM101SSI 4 15 CH ;SUBSYSTEM ID
SM101STF 1 19 BI ;RESERVED
SM101RI 1 20 CH ;RESERVED
SM101SQ 4 21 BI ;RESERVED
REDEFINE AT SM101SQ
SM101BUF 4 21 BI ;TEMPORARY POINTER TO BUFFER AREA
SM101END 1 25 CH ;START OF THE SELF DEFINING SECTION
*
*----- SELF DEFINING SECTION --------------------------------*
*-------------------------------------------------------------*
* DB2 SELF DEFINING SECTION MACRO FOR ACCOUNTING IFCID=0003 *
* *
* PRODUCT SECTION FOR ACCOUNTING CONTAINS TWO HEADERS *
* 1.THE STANDARD HEADER IS MAPPED BY DSNDQWHS *
* 2.THE CORRELATION HEADER IS MAPPED BY DSNDQWHC *
*-------------------------------------------------------------*
QWA0 1 25 ;DSECT
REDEFINE AT QWA0
QWA01PSO 4 25 BI ;OFFSET TO THE PRODUCT SECTION
QWA01PSL 2 29 BI ;LENGTH OF THE PRODUCT SECTION
QWA01PSN 2 31 BI ;NUMBER OF PRODUCT SECTIONS
![Page 362: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/362.jpg)
DYRMF70 COPY Function
1–354 SMF/RMF Reporting Guide
DYRMF70 COPY Function The DYRMF70 COPY function can be used to print SMF (RMF) type 70 records in two report formats — a long format and a short format. SMF (RMF) type 70 records contain information that is pertinent to RMF CPU ACTIVITY. The examples for DYRMF70 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF70 Record Definition COPYLIB(SMF70REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF70 COPY Parameters
Nine parameters can be varied in the DYRMF70 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 363: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/363.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–355
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF70 COPY Function
DYRMF70 COPY Function: Example 1
Print all RMF type 70 records with SMF buffer date and time between 00:05 A.M. and 7:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF70LNG ;RECORD LENGTH
STATUS SMF70END ;END OF FILE
COPY SMF70REC
COPY DYRMF70 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'07:00:00'”
#L=YES #S=NULL
FIN
DYRMF70 COPY Function: Example 2
Print all RMF type 70 records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF70LNG ;RECORD LENGTH
STATUS SMF70END ;END OF FILE
COPY SMF70REC
COPY DYRMF70
#S=YES #L=NULL
FIN
![Page 364: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/364.jpg)
DYRMF70 COPY Function
1–356 SMF/RMF Reporting Guide
Record selection logic can be placed between the COPY SMF70REC statement and the COPY DYRMF70 statement. For instance, in the example shown above the following code:
IF SMF70SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 365: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/365.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–357
DYRMF70 Short Formatted Report
08/10/97 09.15.29 RMF RECORD TYPE 70 RMF CPU ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 6
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-------------------------------------------------------------------------------------------------------
RMF PRODUCT 76 52 1
CPU CONTROL 128 8 1
CPU DATA 136 32 1
ASID DATA 168 576 1
PR/SM PARTITION DATA 0 0 0
PR/SM LOGICAL PROCESSOR 0 0 0
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:45:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 6
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------------
RMF PRODUCT 76 52 1
CPU CONTROL 128 8 1
CPU DATA 136 32 1
ASID DATA 168 576 1
PR/SM PARTITION DATA 0 0 0
PR/SM LOGICAL PROCESSOR 0 0 0
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:30:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 15:00.006 PRODUCT NAME RMF
![Page 366: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/366.jpg)
DYRMF70 COPY Function
1–358 SMF/RMF Reporting Guide
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
DYRMF70 Long Formatted Report (Page 1 of 6)
08/10/97 10.46.38 RMF RECORD TYPE 70 RMF CPU ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.01 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 6
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
------------------------------------------------------------------------------------------------------
RMF PRODUCT 76 52 1
CPU CONTROL 128 8 1
CPU DATA 136 32 2
ASID DATA 200 520 1
PR/SM PARTITION DATA 720 16 4
PR/SM LOGICAL PROCESSOR 784 32 5
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
DURATION OF RMF MEASUREMENT INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 367: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/367.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–359
DYRMF70 Long Formatted Report (Page 2 of 6)
08/10/97 10.46.38 RMF RECORD TYPE 70 RMF CPU ACTIVITY LONG FORM PAGE 2
CPU CONTROL SECTION
*******************
CPU MODEL NUMBER 3090 CPU VERSION NUMBER 35
NUMBER OF PHYSICAL PROCESSORS ASSIGNED FOR 2 PR/SM - GLOBAL TIME SLICE 0
PR/SM INDICATOR BITS NO INFORMATION
CPU DATA SECTION
*******************
CPU WAIT TIME IN MICROSECONDS (HEX) 0000000000000000
CPU SERIAL #(6 HEX DIGITS) 172078 NUMBER OF ENTRIES TO THE I/O SLIH 91,508
NUMBER OF TPI WITH CC=1 658 SAMPLES, VECTOR BIT IN PSA IMAGE WAS ON 0
CPU IDENTIFICATION (HEX) 0001
VECTOR CONFIGURATION NO INFORMATION
CONFIGURATION ACTIVITY CPU ONLINE AT END OF INTERVAL
CPU DATA SECTION
*******************
CPU WAIT TIME IN MICROSECONDS (HEX) 0000000000000000
CPU SERIAL #(6 HEX DIGITS) 272078 NUMBER OF ENTRIES TO THE I/O SLIH 78,119
NUMBER OF TPI WITH CC=1 2,098 SAMPLES, VECTOR BIT IN PSA IMAGE WAS ON 0
CPU IDENTIFICATION (HEX) 0002
VECTOR CONFIGURATION NO INFORMATION
CONFIGURATION ACTIVITY CPU ONLINE AT END OF INTERVAL
![Page 368: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/368.jpg)
DYRMF70 COPY Function
1–360 SMF/RMF Reporting Guide
DYRMF70 Long Formatted Report (Page 3 of 6)
08/10/97 10.46.38 RMF RECORD TYPE 70 RMF CPU ACTIVITY LONG FORM PAGE 3
ASID DATA AREA SEC.
*******************
READY VALUES OVER INTERVAL MINIMUM: 1 MAXIMUM: 10 TOTAL: 5,105
THE TIME READYING VALUES WERE 0, 1, 2, 3, .. 15 ARE
0: 0 1: 1,235 2: 962 3: 280 4: 124
5: 49 6: 37 7: 11 8: 7 9: 0
10: 1 11: 0 12: 0 13: 0 14: 0 14+ 0
IN USERS VALUES INTERVAL MINIMUM: 44 MAXIMUM: 54 TOTAL: 130,150
THE COUNT OF TIMES IN USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 2,706
OUT USERS VALUES INTERVAL MINIMUM: 0 MAXIMUM: 1 TOTAL: 8
THE COUNT OF TIMES OUT USERS WAS:
0 : 2,698 1 -2 : 8 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
WAIT USERS VALUES INTERVAL MINIMUM: 24 MAXIMUM: 32 TOTAL: 75,522
THE COUNT OF TIMES WAIT USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 720 26-30: 1,878 31-35: 108 35+ : 0
BATCH USERS VALUES INTERVAL MINIMUM: 0 MAXIMUM: 9 TOTAL: 12,068
THE COUNT OF TIMES BATCH USERS WAS:
0 : 136 1 -2 : 626 3 -4 : 218 5 -6 : 1,129
7 -8 : 571 9 -10: 26 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
STARTED USERS VALUES INTERVAL MINIMUM: 71 MAXIMUM: 80 TOTAL: 204,530
THE COUNT OF TIMES STARTED USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 2,706
![Page 369: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/369.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–361
DYRMF70 Long Formatted Report (Page 4 of 6)
08/10/97 10.46.38 RMF RECORD TYPE 70 RMF CPU ACTIVITY LONG FORM PAGE 4
TSO USERS VALUES INTERVAL MINIMUM: 4 MAXIMUM: 5 TOTAL: 12,282
THE COUNT OF TIMES TSO USERS WAS:
0 : 0 1 -2 : 0 3 -4 : 1,248 5 -6 : 1,458
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
L. RDY USERS VALUES INTERVAL MINIMUM: 0 MAXIMUM: 1 TOTAL: 94
THE COUNT OF TIMES LOGICAL RDY USERS WAS:
0 : 2,612 1 -2 : 94 3 -4 : 0 5 -6 : 0
7 -8 : 0 9 -10: 0 11-15: 0 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
L. WAIT USERS VALUES INTERVAL MINIMUM: 1 MAXIMUM: 15 TOTAL: 22,921
THE COUNT OF TIMES LOGICAL WAIT USERS WAS:
0 : 0 1 -2 : 34 3 -4 : 232 5 -6 : 258
7 -8 : 634 9 -10: 1,038 11-15: 510 16-20: 0
21-25: 0 26-30: 0 31-35: 0 35+ : 0
![Page 370: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/370.jpg)
DYRMF70 COPY Function
1–362 SMF/RMF Reporting Guide
DYRMF70 Long Formatted Report (Page 5 of 6)
08/10/97 10.46.38 RMF RECORD TYPE 70 RMF CPU ACTIVITY LONG FORM PAGE 5
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME MVSPROD LOGICAL PARTITION NUMBER 1
LOGICAL PROCESSORS ASSIGNED TO PARTITION 2 START OF DATA SECTION BLOCK NUMBER 0
PARTITION FLAGS
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME MVSTEST LOGICAL PARTITION NUMBER 2
LOGICAL PROCESSORS ASSIGNED TO PARTITION 0 START OF DATA SECTION BLOCK NUMBER 2
PARTITION FLAGS
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME VMPROD LOGICAL PARTITION NUMBER 3
LOGICAL PROCESSORS ASSIGNED TO PARTITION 1 START OF DATA SECTION BLOCK NUMBER 2
PARTITION FLAGS
PR/SM DATA SECTION
*******************
LOGICAL PARTITION NAME PHYSICAL LOGICAL PARTITION NUMBER 0
LOGICAL PROCESSORS ASSIGNED TO PARTITION 2 START OF DATA SECTION BLOCK NUMBER 3
PARTITION FLAGS
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000001851E1C3
VIRTUAL PROCESSOR ADDRESS 1 PROCESSOR RELATIVE SHARE 500
VIRTUAL PROCESSOR FLAGS NO INFORMATION
![Page 371: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/371.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–363
DYRMF70 Long Formatted Report (Page 6 of 6)
08/10/97 10.46.38 RMF RECORD TYPE 70 RMF CPU ACTIVITY LONG FORM PAGE 6
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000000EF52C8B
VIRTUAL PROCESSOR ADDRESS 2 PROCESSOR RELATIVE SHARE 500
VIRTUAL PROCESSOR FLAGS NO INFORMATION
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000000420C2DD
VIRTUAL PROCESSOR ADDRESS 1 PROCESSOR RELATIVE SHARE 500
VIRTUAL PROCESSOR FLAGS NO INFORMATION
PR/SM LOGICAL PROCESSOR DATA SECTION
************************************
LOGICAL P. DISPATCH TIME MICROSECONDS (HEX) 000000000093CDEB
VIRTUAL PROCESSOR ADDRESS 1 PROCESSOR RELATIVE SHARE 0
VIRTUAL PROCESSOR FLAGS NO INFORMATION
DYRMF70 Record Definition COPYLIB(SMF70REC)
SMF70HDR 1 CH ;
REDEFINE AT SMF70HDR
SMF70FLG 1 1 BI ;HEADER FLAG BYTE
*SMF70RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF70SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF70VXA EQU X'04' MVS/XA VERSION IF ON
*SMF70OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF70BFY EQU X'01' PR/SM MACHINE
SMF70RTY 1 2 BI ;RECORD TYPE
SMF70TME 4 3 BI ;TOD RECORD WRITTEN
SMF70DTE 4 7 PD ;DATE RECORD WRITTEN
SMF70SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF70SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF70STY 2 19 BI ;SUBTYPE
SMF70TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF70PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF70PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF70PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF70CCS 4 33 BI ;OFFSET TO CPU CONTROL SECTION
SMF70CCL 2 37 BI ;LENGTH OF CPU CONTROL SECTION
SMF70CCN 2 39 BI ;NUMBER OF CPU CONTROL SECTIONS
SMF70CPS 4 41 BI ;OFFSET TO CPU DATA SECTION
SMF70CPL 2 45 BI ;LENGTH OF CPU DATA SECTION
![Page 372: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/372.jpg)
DYRMF70 COPY Function
1–364 SMF/RMF Reporting Guide
SMF70CPN 2 47 BI ;NUMBER OF CPU DATA SECTIONS
SMF70ASS 4 49 BI ;OFFSET TO ASID DATA SECTION
SMF70ASL 2 53 BI ;LENGTH OF ASID DATA SECTION
SMF70ASN 2 55 BI ;NUMBER OF ASID DATA SECTIONS
SMF70BCS 4 57 BI ;OFFSET TO PR/SM PARTITION DATA SECTIONS
SMF70BCL 2 61 BI ;LENGTH OF PR/SM PARTITION DATA SECTION
SMF70BCN 2 63 BI ;NUMBER OF PR/SM PARTITION DATA SECTIONS
SMF70BVS 4 65 BI ;OFFSET TO PR/SM PROCESSOR DATA SECTIONS
SMF70BVL 2 69 BI ;LENGTH OF PR/SM PROCESSOR DATA SECTION
SMF70BVN 2 71 BI ;NUMBER OF PR/SM PROCESSOR DATA SECTIONS
*WORKAREA
SMF70PRO 1 1 CH ;
REDEFINE AT SMF70PRO
SMF70MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF70PRD 8 3 CH ;PRODUCT NAME
SMF70IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF70DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF70INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF70MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF70SAM 4 25 BI ;NUMBER OF SAMPLES
SMF70RV2 2 29 BI ;RESV
SMF70FLA 2 31 BI ;FLAGS
*SMF70CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF70ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF70RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF70CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF70MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF70IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF70PRF 1 50 BI ;PROCESSOR FLAGS
*SMF70QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF70PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF70SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
*WORKAREA
SMF70CTL 1 1 CH ;
REDEFINE AT SMF70CTL
SMF70MOD 2 1 CH ;CPU MODEL NUMBER
![Page 373: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/373.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–365
SMF70VER 1 3 CH ;CPU VERSION NUMBER
REDEFINE AT SMF70VER
SMF70BNP 1 4 CH ;NUMBER OF PHYSICAL PROCESSORS ASSIGNED FOR
* USE BY PR/SM
SMF70INB 1 5 CH ;PR/SM INDICATOR BITS
*SMF70DIF EQU X'80' PR/SM — DIAGNOSE X'204' FAILURE
*SMF70NPC EQU X'40' PR/SM — NUMBER OF PHYS PROCRS HAS CHANGED
*SMF70TSC EQU X'20' PR/SM — GLOBAL TIME SLICE VALUE HAS CHANGED
FILLER 1 6 CH ;RESERVED
SMF70GTS 2 7 CH ;PR/SM — GLOBAL TIME SLICE
*WORKAREA
SMF70CPU 1 1 CH ;
REDEFINE AT SMF70CPU
SMF70WAT 8 1 CH ;CPU WAIT IN TOD FORMAT(BIT 51=1 MICRO)
SMF70CID 2 9 BI ;CPU ID
SMF70CNF 1 11 BI ;CONFIGURATION ACTIVITY
*SMF70PAR EQU 4 CPU WAS VARIED DURING POST PROCESSOR
* DURATION
*SMF70VAC EQU 2 DATA INVALID, CPU VARIED ON OR OFF
*SMF70STA EQU 1 CPU IS CURRENTLY ONLINE
SMF70RV3 1 12 BI ;RES
SMF70SER 3 13 CH ;CPU SERIAL #(6 HEX DIGITS)
SMF70RV4 1 16 BI ;RES
SMF70SLH 4 17 BI ;NUMBER OF ENTRIES TO THE I/O SLIH
SMF70TPI 4 21 BI ;NUMBER OF TPI WITH CC=1
SMF70VFS 4 25 BI ;NUMBER OF SAMPLES WHERE THE BIT
* WAS TURNED ON
SMF70V 1 29 BI ;CONFIGURATION INDICATOR
*SMF70VON EQU X'80' ONLINE INDICATOR
SMF70AL1 3 30 BI ;FOR ALIGNMENT ONLY
*WORKAREA
SMF70AID 1 1 CH ;
REDEFINE AT SMF70AID
SMF70RMN 2 1 BI ;READY MINIMUM VALUE OVER INTERVAL
SMF70RMM 2 3 BI ;READY MAXIMUM VALUE OVER INTERVAL
SMF70RTT 4 5 BI ;READY TOTAL VALUE OVER INTERVAL
SMF70R00 4 9 BI ;COUNT OF TIMES READY VALUE WAS 0
SMF70R01 4 13 BI ;COUNT OF TIMES READY VALUE WAS 1
SMF70R02 4 17 BI ;COUNT OF TIMES READY VALUE WAS 2
SMF70R03 4 21 BI ;COUNT OF TIMES READY VALUE WAS 3
SMF70R04 4 25 BI ;COUNT OF TIMES READY VALUE WAS 4
SMF70R05 4 29 BI ;COUNT OF TIMES READY VALUE WAS 5
SMF70R06 4 33 BI ;COUNT OF TIMES READY VALUE WAS 6
SMF70R07 4 37 BI ;COUNT OF TIMES READY VALUE WAS 7
SMF70R08 4 41 BI ;COUNT OF TIMES READY VALUE WAS 8
SMF70R09 4 45 BI ;COUNT OF TIMES READY VALUE WAS 9
SMF70R10 4 49 BI ;COUNT OF TIMES READY VALUE WAS 10
SMF70R11 4 53 BI ;COUNT OF TIMES READY VALUE WAS 11
SMF70R12 4 57 BI ;COUNT OF TIMES READY VALUE WAS 12
![Page 374: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/374.jpg)
DYRMF70 COPY Function
1–366 SMF/RMF Reporting Guide
SMF70R13 4 61 BI ;COUNT OF TIMES READY VALUE WAS 13
SMF70R14 4 65 BI ;COUNT OF TIMES READY VALUE WAS 14
SMF70R15 4 69 BI ;COUNT OF TIMES READY VALUE WAS 14+
SMF70IMN 2 73 BI ;IN USERS MINIMUM OVER INTERVAL
SMF70IMM 2 75 BI ;IN USERS MAXIMUM OVER INTERVAL
SMF70ITT 4 77 BI ;IN USERS TOTAL VALUE OVER INTERVAL
SMF70I00 4 81 BI ;COUNT OF TIMES IN USERS WAS 0
SMF70I01 4 85 BI ;COUNT OF TIMES IN USERS WAS 1-2
SMF70I02 4 89 BI ;COUNT OF TIMES IN USERS WAS 3-4
SMF70I03 4 93 BI ;COUNT OF TIMES IN USERS WAS 5-6
SMF70I04 4 97 BI ;COUNT OF TIMES IN USERS WAS 7-8
SMF70I05 4 101 BI ;COUNT OF TIMES IN USERS WAS 9-10
SMF70I06 4 105 BI ;COUNT OF TIMES IN USERS WAS 11-15
SMF70I07 4 109 BI ;COUNT OF TIMES IN USERS WAS 16-20
SMF70I08 4 113 BI ;COUNT OF TIMES IN USERS WAS 21-25
SMF70I09 4 117 BI ;COUNT OF TIMES IN USERS WAS 26-30
SMF70I10 4 121 BI ;COUNT OF TIMES IN USERS WAS 31-35
SMF70I11 4 125 BI ;COUNT OF TIMES IN USERS WAS 35+
SMF70OMN 2 129 BI ;OUT USERS MINIMUM OVER INTERVAL
SMF70OMM 2 131 BI ;OUT USERS MAXIMUM OVER INTERVAL
SMF70OTT 4 133 BI ;OUT USERS TOTAL VALUE OVER INTERVAL
SMF70O00 4 137 BI ;COUNT OF TIMES OUT USERS WAS 0
SMF70O01 4 141 BI ;COUNT OF TIMES OUT USERS WAS 1-2
SMF70O02 4 145 BI ;COUNT OF TIMES OUT USERS WAS 3-4
SMF70O03 4 149 BI ;COUNT OF TIMES OUT USERS WAS 5-6
SMF70O04 4 153 BI ;COUNT OF TIMES OUT USERS WAS 7-8
SMF70O05 4 157 BI ;COUNT OF TIMES OUT USERS WAS 9-10
SMF70O06 4 161 BI ;COUNT OF TIMES OUT USERS WAS 11-15
SMF70O07 4 165 BI ;COUNT OF TIMES OUT USERS WAS 16-20
SMF70O08 4 169 BI ;COUNT OF TIMES OUT USERS WAS 21-25
SMF70O09 4 173 BI ;COUNT OF TIMES OUT USERS WAS 26-30
SMF70O10 4 177 BI ;COUNT OF TIMES OUT USERS WAS 31-35
SMF70O11 4 181 BI ;COUNT OF TIMES OUT USERS WAS 35+
SMF70WMN 2 185 BI ;WAIT USERS MINIMUM OVER INTERVAL
SMF70WMM 2 187 BI ;WAIT USERS MAXIMUM OVER INTERVAL
SMF70WTT 4 189 BI ;WAIT USERS TOTAL VALUE OVER INTERVAL
SMF70W00 4 193 BI ;COUNT OF TIMES WAIT USERS WAS 0
SMF70W01 4 197 BI ;COUNT OF TIMES WAIT USERS WAS 1-2
SMF70W02 4 201 BI ;COUNT OF TIMES WAIT USERS WAS 3-4
SMF70W03 4 205 BI ;COUNT OF TIMES WAIT USERS WAS 5-6
SMF70W04 4 209 BI ;COUNT OF TIMES WAIT USERS WAS 7-8
SMF70W05 4 213 BI ;COUNT OF TIMES WAIT USERS WAS 9-10
SMF70W06 4 217 BI ;COUNT OF TIMES WAIT USERS WAS 11-15
SMF70W07 4 221 BI ;COUNT OF TIMES WAIT USERS WAS 16-20
SMF70W08 4 225 BI ;COUNT OF TIMES WAIT USERS WAS 21-25
SMF70W09 4 229 BI ;COUNT OF TIMES WAIT USERS WAS 26-30
SMF70W10 4 233 BI ;COUNT OF TIMES WAIT USERS WAS 31-35
SMF70W11 4 237 BI ;COUNT OF TIMES WAIT USERS WAS 35+
SMF70BMN 2 241 BI ;BATCH USERS MINIMUM OVER INTERVAL
![Page 375: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/375.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–367
SMF70BMM 2 243 BI ;BATCH USERS MAXIMUM OVER INTERVAL
SMF70BTT 4 245 BI ;BATCH USERS TOTAL VALUE OVER INTERVAL
SMF70B00 4 249 BI ;COUNT OF TIMES BATCH USERS WAS 0
SMF70B01 4 253 BI ;COUNT OF TIMES BATCH USERS WAS 1-2
SMF70B02 4 257 BI ;COUNT OF TIMES BATCH USERS WAS 3-4
SMF70B03 4 261 BI ;COUNT OF TIMES BATCH USERS WAS 5-6
SMF70B04 4 265 BI ;COUNT OF TIMES BATCH USERS WAS 7-8
SMF70B05 4 269 BI ;COUNT OF TIMES BATCH USERS WAS 9-10
SMF70B06 4 273 BI ;COUNT OF TIMES BATCH USERS WAS 11-15
SMF70B07 4 277 BI ;COUNT OF TIMES BATCH USERS WAS 16-20
SMF70B08 4 281 BI ;COUNT OF TIMES BATCH USERS WAS 21-25
SMF70B09 4 285 BI ;COUNT OF TIMES BATCH USERS WAS 26-30
SMF70B10 4 289 BI ;COUNT OF TIMES BATCH USERS WAS 31-35
SMF70B11 4 293 BI ;COUNT OF TIMES BATCH USERS WAS 35+
SMF70SMN 2 297 BI ;STARTED USERS MINIMUM OVER INTERVAL
SMF70SMM 2 299 BI ;STARTED USERS MAXIMUM OVER INTERVAL
SMF70STT 4 301 BI ;STARTED USERS TOTAL VALUE OVER INTERVAL
SMF70S00 4 305 BI ;COUNT OF TIMES STARTED USERS WAS 0
SMF70S01 4 309 BI ;COUNT OF TIMES STARTED USERS WAS 1-2
SMF70S02 4 313 BI ;COUNT OF TIMES STARTED USERS WAS 3-4
SMF70S03 4 317 BI ;COUNT OF TIMES STARTED USERS WAS 5-6
SMF70S04 4 321 BI ;COUNT OF TIMES STARTED USERS WAS 7-8
SMF70S05 4 325 BI ;COUNT OF TIMES STARTED USERS WAS 9-10
SMF70S06 4 329 BI ;COUNT OF TIMES STARTED USERS WAS 11-15
SMF70S07 4 333 BI ;COUNT OF TIMES STARTED USERS WAS 16-20
SMF70S08 4 337 BI ;COUNT OF TIMES STARTED USERS WAS 21-25
SMF70S09 4 341 BI ;COUNT OF TIMES STARTED USERS WAS 26-30
SMF70S10 4 345 BI ;COUNT OF TIMES STARTED USERS WAS 31-35
SMF70S11 4 349 BI ;COUNT OF TIMES STARTED USERS WAS 35+
SMF70TMN 2 353 BI ;TSO USERS MINIMUM OVER INTERVAL
SMF70TMM 2 355 BI ;TSO USERS MAXIMUM OVER INTERVAL
SMF70TTT 4 357 BI ;TSO USERS TOTAL VALUE OVER INTERVAL
SMF70T00 4 361 BI ;COUNT OF TIMES TSO USERS WAS 0
SMF70T01 4 365 BI ;COUNT OF TIMES TSO USERS WAS 1-2
SMF70T02 4 369 BI ;COUNT OF TIMES TSO USERS WAS 3-4
SMF70T03 4 373 BI ;COUNT OF TIMES TSO USERS WAS 5-6
SMF70T04 4 377 BI ;COUNT OF TIMES TSO USERS WAS 7-8
SMF70T05 4 381 BI ;COUNT OF TIMES TSO USERS WAS 9-10
SMF70T06 4 385 BI ;COUNT OF TIMES TSO USERS WAS 11-15
SMF70T07 4 389 BI ;COUNT OF TIMES TSO USERS WAS 16-20
SMF70T08 4 393 BI ;COUNT OF TIMES TSO USERS WAS 21-25
SMF70T09 4 397 BI ;COUNT OF TIMES TSO USERS WAS 26-30
SMF70T10 4 401 BI ;COUNT OF TIMES TSO USERS WAS 31-35
SMF70T11 4 405 BI ;COUNT OF TIMES TSO USERS WAS 35+
SMF70LMN 2 409 BI ;LOGICAL RDY USERS MINIMUM
SMF70LMM 2 411 BI ;LOGICAL RDY USERS MAXIMUM
SMF70LTT 4 413 BI ;LOGICAL RDY USERS TOTAL
![Page 376: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/376.jpg)
DYRMF70 COPY Function
1–368 SMF/RMF Reporting Guide
SMF70L00 4 417 BI ;# TIMES LOGICAL RDY USERS WAS 0
SMF70L01 4 421 BI ;# TIMES LOGICAL RDY USERS WAS 1-2
SMF70L02 4 425 BI ;# TIMES LOGICAL RDY USERS WAS 3-4
SMF70L03 4 429 BI ;# TIMES LOGICAL RDY USERS WAS 5-6
SMF70L04 4 433 BI ;# TIMES LOGICAL RDY USERS WAS 7-8
SMF70L05 4 437 BI ;# TIMES LOGICAL RDY USERS WAS 9-10
SMF70L06 4 441 BI ;# TIMES LOGICAL RDY USERS WAS 11-15
SMF70L07 4 445 BI ;# TIMES LOGICAL RDY USERS WAS 16-20
SMF70L08 4 449 BI ;# TIMES LOGICAL RDY USERS WAS 21-25
SMF70L09 4 453 BI ;# TIMES LOGICAL RDY USERS WAS 26-30
SMF70L10 4 457 BI ;# TIMES LOGICAL RDY USERS WAS 31-35
SMF70L11 4 461 BI ;# TIMES LOGICAL RDY USERS WAS 35+
SMF70AMN 2 465 BI ;LOGICAL WAIT USERS MINIMUM
SMF70AMM 2 467 BI ;LOGICAL WAIT USERS MAXIMUM
SMF70ATT 4 469 BI ;LOGICAL WAIT USERS TOTAL
SMF70A00 4 473 BI ;# TIME LOGICAL WAIT USERS WAS 0
SMF70A01 4 477 BI ;# TIME LOGICAL WAIT USERS WAS 1-2
SMF70A02 4 481 BI ;# TIME LOGICAL WAIT USERS WAS 3-4
SMF70A03 4 485 BI ;# TIME LOGICAL WAIT USERS WAS 5-6
SMF70A04 4 489 BI ;# TIME LOGICAL WAIT USERS WAS 7-8
SMF70A05 4 493 BI ;# TIME LOGICAL WAIT USERS WAS 9-10
SMF70A06 4 497 BI ;# TIME LOGICAL WAIT USERS WAS 11-15
SMF70A07 4 501 BI ;# TIME LOGICAL WAIT USERS WAS 16-20
SMF70A08 4 505 BI ;# TIME LOGICAL WAIT USERS WAS 21-25
SMF70A09 4 509 BI ;# TIME LOGICAL WAIT USERS WAS 26-30
SMF70A10 4 513 BI ;# TIME LOGICAL WAIT USERS WAS 31-35
SMF70A11 4 517 BI ;# TIME LOGICAL WAIT USERS WAS 35+
;*
SMF70PMN 2 521 BI ;MINIMUM NUMBER OF ASCH ADDRESS SPACES
SMF70PMM 2 523 BI ;MAXIMUM NUMBER OF ASCH ADDRESS SPACES
SMF70PTT 4 525 BI ;TOTAL NUMBER OF ASCH ADDRESS SPACES
SMF70P00 4 529 BI ;TIMES WHEN 0 ASCH ADDRESS SPACES WERE FOUND
SMF70P01 4 533 BI ;TIMES WHEN 1 - 2 ASCH ADDRESS SPACES WERE FOUND
SMF70P02 4 537 BI ;TIMES WHEN 3 - 4 ASCH ADDRESS SPACES WERE FOUND
SMF70P03 4 541 BI ;TIMES WHEN 5 - 6 ASCH ADDRESS SPACES WERE FOUND
SMF70P04 4 545 BI ;TIMES WHEN 7 - 8 ASCH ADDRESS SPACES WERE FOUND
SMF70P05 4 549 BI ;TIMES WHEN 9 -10 ASCH ADDRESS SPACES WERE FOUND
SMF70P06 4 553 BI ;TIMES WHEN 11-15 ASCH ADDRESS SPACES WERE FOUND
SMF70P07 4 557 BI ;TIMES WHEN 16-20 ASCH ADDRESS SPACES WERE FOUND
SMF70P08 4 561 BI ;TIMES WHEN 21-25 ASCH ADDRESS SPACES WERE FOUND
SMF70P09 4 565 BI ;TIMES WHEN 26-30 ASCH ADDRESS SPACES WERE FOUND
SMF70P10 4 569 BI ;TIMES WHEN 31-35 ASCH ADDRESS SPACES WERE FOUND
SMF70P11 4 573 BI ;TIMES WHEN 36-- ASCH ADDRESS SPACES WERE FOUND
;*
*WORKAREA
SMF70BCT 1 1 CH ;
REDEFINE AT SMF70BCT
SMF70LPM 8 1 CH ;LOGICAL PARTITION NAME
SMF70LPN 1 9 CH ;LOGICAL PARTITION NUMBER
![Page 377: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/377.jpg)
DYRMF70 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–369
SMF70PFG 1 10 CH ;PARTITION FLAGS
*SMF70PDV EQU X'80' PARTITION DEACTIVATED DURING INTERVAL
*SMF70NVC EQU X'40' NUMBER OF LOGICAL PROCRS HAS CHANGED
SMF70BDN 2 11 CH ;NUMBER OF PR/SM DATA SECTIONS FOR PARTITION
SMF70BDS 4 13 CH ;START OF DATA SECTION BLOCK NUMBER
*WORKAREA
SMF70BPD 1 1 CH ;
REDEFINE AT SMF70BPD
SMF70PDT 8 1 CH ;Virtual processor dispatch time
SMF70VPA 2 9 CH ;VIRTUAL PROCESSOR ADDRESS
SMF70BPS 2 11 CH ;PROCESSOR RELATIVE SHARE
SMF70VPF 1 13 CH ;VIRTUAL PROCESSOR FLAGS
*SMF70WSA EQU X'80' WAIT STATE ASSIST STATE ENABLED
*SMF70WSC EQU X'40' WAIT STATE ASSIST STATE CHANGED DURING INTV
*SMF70RSC EQU X'20' RELATIVE SHARE CHANGED DURING INTERVAL
FILLER 3 14 CH ;RESERVED
SMF70EDT 8 17 CH ;LOGICAL PROCESSOR EFFECTIVE DISPATCH TIME
![Page 378: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/378.jpg)
DYRMF71 COPY Function
1–370 SMF/RMF Reporting Guide
DYRMF71 COPY Function The DYRMF71 COPY function can be used to print SMF (RMF) type 71 records in two report formats — a long format and a short format. SMF (RMF) type 71 records contain information that is pertinent to RMF PAGING ACTIVITY. The examples for DYRMF71 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF71 Record Definition COPYLIB(SMF71REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF71 COPY Parameters
Nine parameters can be varied in the DYRMF71 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 379: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/379.jpg)
DYRMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–371
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF71 COPY Function
DYRMF71 COPY Function: Example 1
Print all RMF type 71 records with SMF buffer date and time between 00:05 A.M. and 7:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF71LNG ;RECORD LENGTH
STATUS SMF71END ;END OF FILE
COPY SMF71REC
COPY DYRMF71 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'07:00:00'”
#L=YES #S=NULL
FIN
DYRMF71 COPY Function: Example 2
Print all RMF type 71 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF71LNG ;RECORD LENGTH
STATUS SMF71END ;END OF FILE
COPY SMF71REC
COPY DYRMF71
#S=YES #L=NULL
FIN
![Page 380: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/380.jpg)
DYRMF71 COPY Function
1–372 SMF/RMF Reporting Guide
Record selection logic can be placed between the COPY SMF71REC statement and the COPY DYRMF71 statement. For instance, in the example shown above the following code:
IF SMF71SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYRMF71 Short Formatted Report
08/10/97 09.29.27 RMF RECORD TYPE 71 RMF PAGING ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
PAGING DATA 104 552 1
SWAP PLACEMENT 656 24 15
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 91
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 381: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/381.jpg)
DYRMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–373
DYRMF71 Long Formatted Report (Page 1 of 4)
08/10/97 09.18.45 RMF RECORD TYPE 71 RMF PAGING ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
PAGING DATA 104 552 1
SWAP PLACEMENT 656 24 15
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 O OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 91
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 382: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/382.jpg)
DYRMF71 COPY Function
1–374 SMF/RMF Reporting Guide
DYRMF71 Long Formatted Report (Page 2 of 4)
08/10/97 09.18.45 RMF RECORD TYPE 71 RMF PAGING ACTIVITY LONG FORM PAGE 2
PAGING DATA SECTION
*******************
NON-VIO, NON-SWAP PAGE-INS 62 NON-VIO PAGE-OUTS PERFORMED IN COMMON AREA 0
NON-VIO, NON-SWAP PAGE-OUTS 0 NON-VIO PAGE RECLAIMS IN COMMON AREA 0
NON-VIO, NON-SWAP PAGE RECLAIMS 0 NON-VIO NON-SWAP, LPA PAGE-INS 39
ADDRESS SPACE SWAP SEQUENCES 9 NON-VIO NON-SWAP, LPA PAGE-RECLAIMS 0
PAGES SWAPPED IN 0 PAGE FRAMES AVAILABLE IN REAL STORAGE 600
PAGES SWAPPED OUT 0 PAGE FRAMES DEFINED IN REAL STORAGE 31,334
VIO PAGES IN 0 TOTAL NUMBER OF LOCAL PAGE DATA SET SLOTS 135,000
VIO PAGES OUT 0 NUMBER OF LOCAL PAGE DATA SET SLOTS --
VIO PAGE RECLAIMS 0 ALLOCATED TO VIO PRIVATE AREA PAGES -- 0
NUMBER OF STORAGE PAGE SLOTS THAT -- NUMBER OF LOCAL PAGE DATA SET SLOTS --
HAVE NOT BEEN ALLOCATED -- 105,511 ALLOCATED TO VIO NON-PRIVATE AREA PAGES -- 29,489
NON-VIO PAGE-INS PERFORMED IN COMMON AREA 39
NUMBER OF FRAMES IN NUCLEUS 1,050 MINIMUM TOTAL NUMBER OF PAGEABLE FRAMES 31,334
MINIMUM NUMBER OF UNUSED PAGE FRAMES 153 MAXIMUM TOTAL NUMBER OF PAGEABLE FRAMES 31,334
MAXIMUM NUMBER OF UNUSED PAGE FRAMES 1,907 AVERAGE TOTAL NUMBER OF PAGEABLE FRAMES 31,334
AVERAGE NUMBER OF UNUSED PAGE FRAMES 407 MINIMUM NUMBER OF SQA FIXED FRAMES 1,201
MINIMUM NUMBER OF CSA PAGEABLE FRAMES 480 MAXIMUM NUMBER OF SQA FIXED FRAMES 1,234
MAXIMUM NUMBER OF CSA PAGEABLE FRAMES 772 AVERAGE NUMBER OF SQA FIXED FRAMES 1,213
AVERAGE NUMBER OF CSA PAGEABLE FRAMES 738 MINIMUM NUMBER OF CSA FIXED FRAMES 34
MIN ADDR SPACE PAGEABLE FRAMES 22,667 MAXIMUM NUMBER OF CSA FIXED FRAMES 35
MAX ADDR SPACE PAGEABLE FRAMES 24,529 AVERAGE NUMBER OF CSA FIXED FRAMES 34
AVG ADDR SPACE PAGEABLE FRAMES 24,029 MIN ADDRESS SPACE FIXED FRAMES (W/O LSQA) 436
MAX ADDRESS SPACE FIXED FRAMES (W/O LSQA) 566 AVG USER VIO AUXILIARY SLOTS 0
AVG ADDRESS SPACE FIXED FRAMES (W/O LSQA) 479 MIN USER MEMORY AUXILIARY SLOTS 29,497
MINIMUM TOTAL NUMBER OF FIXED FRAMES 4,553 MAX USER MEMORY AUXILIARY SLOTS 29,824
MAXIMUM TOTAL NUMBER OF FIXED FRAMES 4,820 AVG USER MEMORY AUXILIARY SLOTS 29,637
![Page 383: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/383.jpg)
DYRMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–375
DYRMF71 Long Formatted Report (Page 3 of 4)
08/10/97 09.18.45 RMF RECORD TYPE 71 RMF PAGING ACTIVITY LONG FORM PAGE 3
AVERAGE TOTAL NUMBER OF FIXED FRAMES 4,691 MINIMUM UNAVAILABLE(BAD) USER SLOTS 0
MIN AVAILABLE USER AUXILIARY SLOTS 105,176 MAXIMUM UNAVAILABLE(BAD) USER SLOTS 0
MAX AVAILABLE USER AUXILIARY SLOTS 105,503 AVERAGE UNAVAILABLE(BAD) USER SLOTS 0
AVG AVAILABLE USER AUXILIARY SLOTS 105,362 MIN TOTAL USER AUXILIARY SLOTS 135,000
MIN USER VIO AUXILIARY SLOTS 0 MAX TOTAL USER AUXILIARY SLOTS 135,000
MAX USER VIO AUXILIARY SLOTS 0 MIN LPA FIXED FRAMES 90
INVALID SAMPLES SKIPPED BECAUSE OF -- INVALID SAMPLES SKIPPED BECAUSE OF --
ERRORS AT THE RSM FIXED FRAMES -- NEGATIVES VALUES AT THE CALCULATION --
COUNTING INTERFACE (IARXCNTF) -- 0 OF THE FIXED CSA FRAMES COUNT -- 0
TOTAL VIO PAGES WRITTEN TO EXT STORAGE 373 MAX LPA FIXED FRAMES 90
TOTAL VIO PAGES MIGRATED FROM EXT STORAGE 0 AVG LPA FIXED FRAMES 90
TOTAL VIO PAGES READ FROM EXT STORAGE 99 MIN LSQA FIXED FRAMES 2,766
MIN. NUMBER OF VIO PAGES IN EXPANDED STORAGE MAX LSQA FIXED FRAMES 3,004
MAX. NUMBER OF VIO PAGES IN EXPANDED STORAGE AVG LSQA FIXED FRAMES 2,873
AVG. NUMBER OF VIO PAGES IN EXPANDED STORAGE MIN.NUMBER OF FIXED FRAMES BELOW 16 MEG 401
MIN. LPA PAGEABLE FRAMES 1,690 MAX.NUMBER OF FIXED FRAMES BELOW 16 MEG 459
MAX LPA PAGEABLE FRAMES 2,023 AVG.NUMBER OF FIXED FRAMES BELOW 16 MEG 416
AVG LPA PAGEABLE FRAMES 1,902 TOTAL PAGE MOVES 1,233
SRM OPT MEMBER NAME IEAOPT00 MAX VALUE HIGH UIC 254
TOTAL PAGE MOVES TO ES 17,033 AVG VALUE HIGH UIC. SCALE FACTOR IS -1 2,536
TOTAL MIGRATIONS ES TO AUX 0 MIN VALUE MIGRATION AGE 30,699
MIN ES SLOTS AVAILABLE 2,484 MAX VALUE MIGRATION AGE 30,699
MAX ES SLOTS AVAILABLE 4,976 AVG VALUE MIGRATION AGE. SCALE FACTOR IS -1 306,990
AVG ES SLOTS AVAILABLE 3,841 NUMBER ES SLOTS INSTALLED 32,768
MIN VALUE HIGH UIC 240 NUMBER ES SLOTS ONLINE AT END OF INTERVAL 32,768
TOTAL PAGES READ FROM EXT STORAGE 14,390
![Page 384: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/384.jpg)
DYRMF71 COPY Function
1–376 SMF/RMF Reporting Guide
DYRMF71 Long Formatted Report (Page 4 of 4)
08/10/97 09.18.45 RMF RECORD TYPE 71 RMF PAGING ACTIVITY LONG FORM PAGE 4
SWAP PLACEMENT SECTION
**********************
SWAP TOTAL PHYSICAL SWAPS LOGICAL SWAPS LOGICAL SWAPS PHYSICAL SWAPS TOTAL PHYSICAL SWAPS
PLACEMENT NUMBER DIRECTED TO PHYSICALLY PHYSICALLY DIRECTED TO THAT MIGRATED FROM
SECTION OF SWAP AUXILIARY SWAPED TO SWAPED TO EXPANDED STORAGE EXPANDED STORAGE
NUMBER CANDIDATES STORAGE EXPANDED STORAGE AUXILIARY STORAGE TO AUXILIARY STORAGE
--------------------------------------------------------------------------------------------------------------------------------
01 107 0 0 0 0 0
02 2,864 0 9 0 0 0
03 46 0 0 0 0 0
04 0 0 0 0 0 0
05 0 0 0 0 0 0
06 188 0 0 0 0 0
07 0 0 0 0 0 0
08 0 0 0 0 0 0
09 0 0 0 0 0 0
10 0 0 0 0 0 0
11 0 0 0 0 0 0
12 0 0 0 0 0 0
13 0 0 0 0 0 0
14 0 0 0 0 0 0
15 0 0 0 0 0 0
![Page 385: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/385.jpg)
DYRMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–377
DYRMF71 Record Definition COPYLIB(SMF71REC)
SMF71HDR 1 CH ;
REDEFINE AT SMF71HDR
SMF71FLG 1 1 BI ;HEADER FLAG BYTE
*SMF71RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF71SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF71VXA EQU X'04' MVS/XA VERSION IF ON
*SMF71OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF71BFY EQU X'01' PR/SM MACHINE
SMF71RTY 1 2 BI ;RECORD TYPE
SMF71TME 4 3 BI ;TOD RECORD WRITTEN
SMF71DTE 4 7 PD ;DATE RECORD WRITTEN
SMF71SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF71SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF71STY 2 19 BI ;SUBTYPE
SMF71TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF71PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF71PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF71PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF71PDS 4 33 BI ;OFFSET TO PAGING DATA SECTION
SMF71PDL 2 37 BI ;LENGTH OF PAGING DATA SECTION
SMF71PDN 2 39 BI ;NUMBER OF PAGING DATA SECTION
SMF71SWS 4 41 BI ;OFFSET TO SWAP PLACEMENT DATA SECTION
SMF71SWL 2 45 BI ;LENGTH OF SWAP PLACEMENT DATA SECTION
SMF71SWN 2 47 BI ;NUMBER OF SWAP PLACEMENT DATA SECTION
SMF71PRO 1 1 CH ;
REDEFINE AT SMF71PRO
SMF71MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF71PRD 8 3 CH ;PRODUCT NAME
SMF71IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF71DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF71INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF71MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF71SAM 4 25 BI ;NUMBER OF SAMPLES
SMF71RV2 2 29 BI ;RESV
SMF71FLA 2 31 BI ;FLAGS
*SMF71CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF71ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
![Page 386: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/386.jpg)
DYRMF71 COPY Function
1–378 SMF/RMF Reporting Guide
SMF71RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF71CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF71MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF71IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF71PRF 1 50 BI ;PROCESSOR FLAGS
*SMF71QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF71PTN 1 51 BI ;PR/SM — PARTITION NUMBER
FILLER 1 52 BI ;RESERVED
SMF71PAG 1 1 CH ;
REDEFINE AT SMF71PAG
SMF71PIN 4 1 BI ;PAGE-INS EXCLUDING VIO AND SWAP
SMF71POT 4 5 BI ;PAGE-OUTS EXCLUDING VIO AND SWAP
SMF71PRC 4 9 BI ;PAGE RECLAIMS EXCLUDING VIO
SMF71SSQ 4 13 BI ;# OF MEMORY SWAP SEQUENCES
SMF71SIN 4 17 BI ;SWAP-IN PAGES
SMF71SOT 4 21 BI ;SWAP-OUT PAGES
SMF71VIN 4 25 BI ;VIO PAGE-INS
SMF71VOT 4 29 BI ;VIO PAGE-OUTS
SMF71VRC 4 33 BI ;VIO PAGE RECLAIMS
SMF71SNI 4 37 BI ;SYSTEM PAGABLE AREAS NON-VIO PAGE-INS
SMF71SNO 4 41 BI ;SPA NON-VIO PAGE-OUTS
SMF71SNR 4 45 BI ;SPA NON-VIO PAGE RECLAIMS
SMF71LNI 4 49 BI ;LPA PAGE-INS,NON-VIO AND NON-SWAP
SMF71LNR 4 53 BI ;LPA PAGE-RECLAIMS,NON-VIO AND NON-SWAP
SMF71AFC 4 57 BI ;MAIN STORAGE AVAILABLE FRAME COUNT
SMF71TFC 4 61 BI ;MAIN STORAGE TOTAL FRAME COUNT
SMF71TSC 4 65 BI ;AUX TOTAL SLOT COUNT
SMF71DSC 4 69 BI ;AUX DATA SET SLOT COUNT
SMF71VSC 4 73 BI ;AUX VIRTUAL MEMORY SLOT COUNT
SMF71NSC 4 77 BI ;AUX UNALLOCATED SLOT COUNT
SMF71FIN 4 81 BI ;NUMBER FRAMES IN NUCLEUS
SMF71MNF 4 85 BI ;MIN AVAILABLE PAGE FRAMES
SMF71MXF 4 89 BI ;MAX AVAILABLE PAGE FRAMES
SMF71AVF 4 93 BI ;AVG AVAILABLE PAGE FRAMES
SMF71MNP 4 97 BI ;MIN CSA PAGEABLE FRAMES
SMF71MXP 4 101 BI ;MAX CSA PAGEABLE FRAMES
SMF71AVP 4 105 BI ;AVG CSA PAGEABLE FRAMES
SMF71MNS 4 109 BI ;MIN ADDR SPACE PAGEABLE FRAMES
SMF71MXS 4 113 BI ;MAX ADDR SPACE PAGEABLE FRAMES
SMF71AVS 4 117 BI ;AVG ADDR SPACE PAGEABLE FRAMES
SMF71MNT 4 121 BI ;MIN TOTAL PAGEABLE FRAMES
SMF71MXT 4 125 BI ;MAX TOTAL PAGEABLE FRAMES
SMF71AVT 4 129 BI ;AVG TOTAL PAGEABLE FRAMES
SMF71MNQ 4 133 BI ;MIN SQA FIXED FRAMES
SMF71MXQ 4 137 BI ;MAX SQA FIXED FRAMES
![Page 387: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/387.jpg)
DYRMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–379
SMF71AVQ 4 141 BI ;AVG SQA FIXED FRAMES
SMF71MNC 4 145 BI ;MIN CSA FIXED FRAMES
SMF71MXC 4 149 BI ;MAX CSA FIXED FRAMES
SMF71AVC 4 153 BI ;AVG CSA FIXED FRAMES
SMF71MNR 4 157 BI ;MIN ADDRESS SPACE FIXED FRAMES (W/O LSQA)
SMF71MXR 4 161 BI ;MAX ADDRESS SPACE FIXED FRAMES (W/O LSQA)
SMF71AVR 4 165 BI ;AVG ADDRESS SPACE FIXED FRAMES (W/O LSQA)
SMF71MNX 4 169 BI ;MIN TOTAL FIXED FRAMES
SMF71MXX 4 173 BI ;MAX TOTAL FIXED FRAMES
SMF71AVX 4 177 BI ;AVG TOTAL FIXED FRAMES
SMF71MNU 4 181 BI ;MIN AVAILABLE USER AUXILIARY SLOTS
SMF71MXU 4 185 BI ;MAX AVAILABLE USER AUXILIARY SLOTS
SMF71AVU 4 189 BI ;AVG AVAILABLE USER AUXILIARY SLOTS
SMF71MNV 4 193 BI ;MIN USER VIO AUXILIARY SLOTS
SMF71MXV 4 197 BI ;MAX USER VIO AUXILIARY SLOTS
SMF71AVV 4 201 BI ;AVG USER VIO AUXILIARY SLOTS
SMF71MNM 4 205 BI ;MIN USER MEMORY AUXILIARY SLOTS
SMF71MXM 4 209 BI ;MAX USER MEMORY AUXILIARY SLOTS
SMF71AVM 4 213 BI ;AVG USER MEMORY AUXILIARY SLOTS
SMF71MNB 4 217 BI ;MINIMUM UNAVAILABLE(BAD) USER SLOTS
SMF71MXB 4 221 BI ;MAXIMUM UNAVAILABLE(BAD) USER SLOTS
SMF71AVB 4 225 BI ;AVERAGE UNAVAILABLE(BAD) USER SLOTS
SMF71MNA 4 229 BI ;MIN TOTAL USER AUXILIARY SLOTS
SMF71MXA 4 233 BI ;MAX TOTAL USER AUXILIARY SLOTS
SMF71IS1 2 237 BI ;INVALID SAMPLE TO BE SKIPPED BECAUSE THERE WERE
* ERRORS AT THE RSM FIXED FRAMES COUNTING
* INTERFACE (IARXCNTF)
SMF71IS2 2 239 BI ;INVALID SAMPLE TO BE SKIPPED BECAUSE THERE WERE
* NEGATIVE VALUES AT THE CALCULATION OF THE
* FIXED CSA FRAMES COUNT
SMF71VME 4 241 BI ;TOTAL VIO PAGES WRITTEN TO EXT STORAGE
SMF71VMG 4 245 BI ;TOTAL VIO PAGES MIGRATED FROM EXT STORAGE
*
SMF71VRE 4 249 BI ;TOTAL VIO PAGES READ FROM EXT STORAGE
SMF71MVE 4 253 BI ;MINIMUM NUMBER OF VIO PAGES IN EXP. STR.
*
SMF71XVE 4 257 BI ;MAXIMUM NUMBER OF VIO PAGES IN EXP. STR.
*
SMF71AVE 4 261 BI ;AVERAGE NUMBER OF VIO PAGES IN EXP. STR.
*
SMF71RSS 4 265 BI ;NUMBER REAL STORAGE SWAPS
* NOT USED AS OF RMF330
SMF71EXS 4 269 BI ;NUMBER OF EXCHANGE SWAPS BASED
* ON RECOMMENDATION VALUE
* NOT USED AS OF RMF330
SMF71EES 4 273 BI ;NUMBER OF ENQUEUE EXCHANGE SWAPS
* NOT USED AS OF RMF330
SMF71TOS 4 277 BI ;NO. TERMINAL WAITS (OUTPUT) CANDIDATES
* NOT USED AS OF RMF330
![Page 388: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/388.jpg)
DYRMF71 COPY Function
1–380 SMF/RMF Reporting Guide
SMF71TXS 4 281 BI ;NUMBER OF TRANSITION SWAPS
* NOT USED AS OF RMF330
SMF71LGS 4 285 BI ;NUMBER OF LOGICAL SWAPS
* NOT USED AS OF RMF330
SMF71LFS 4 289 BI ;NUMBER OF DETECTED LONG THINK TIME SWAPS
* NOT USED AS OF RMF330
SMF71LSS 4 293 BI ;NO. OF LOGICAL SWAPS OUTSTANDING AT START
* OF INTERVAL
* NOT USED AS OF RMF330
SMF71LSE 4 297 BI ;NO. OF LOGICAL SWAPS OUTSTANDING AT END
* OF INTERVAL
* NOT USED AS OF RMF330
SMF71NLP 4 301 BI ;MIN. LPA PAGEABLE FRAMES
SMF71XLP 4 305 BI ;MAX LPA PAGEABLE FRAMES
SMF71ALP 4 309 BI ;AVG LPA PAGEABLE FRAMES
SMF71NLF 4 313 BI ;MIN LPA FIXED FRAMES
SMF71XLF 4 317 BI ;MAX LPA FIXED FRAMES
SMF71ALF 4 321 BI ;AVG LPA FIXED FRAMES
SMF71NLS 4 325 BI ;MIN LSQA FIXED FRAMES
SMF71XLS 4 329 BI ;MAX LSQA FIXED FRAMES
SMF71ALS 4 333 BI ;AVG LSQA FIXED FRAMES
SMF71MNL 4 337 BI ;MIN.NUMBER OF FIXED FRAMES BELOW 16 MEG
SMF71MXL 4 341 BI ;MAX.NUMBER OF FIXED FRAMES BELOW 16 MEG
SMF71AVL 4 345 BI ;AVG.NUMBER OF FIXED FRAMES BELOW 16 MEG
SMF71PMV 4 349 BI ;TOTAL PAGE MOVES
SMF71OPT 8 353 CH ;SRM OPT MEMBER NAME
SMF71PES 4 361 BI ;TOTAL PAGE MOVES TO ES
SMF71PEA 4 365 BI ;TOTAL MIGRATIONS ES TO AUX
SMF71AMN 4 369 BI ;MIN ES SLOTS AVAILABLE
SMF71AMX 4 373 BI ;MAX ES SLOTS AVAILABLE
SMF71ASA 4 377 BI ;AVG ES SLOTS AVAILABLE
SMF71LIC 4 381 BI ;MIN VALUE HIGH UIC
SMF71HIC 4 385 BI ;MAX VALUE HIGH UIC
SMF71ACA 4 389 BI ;AVG VALUE HIGH UIC
* SCALE FACTOR IS -1
SMF71LMA 4 393 BI ;MIN VALUE MIGRATION AGE
SMF71HMA 4 397 BI ;MAX VALUE MIGRATION AGE
SMF71AMA 4 401 BI ;AVG VALUE MIGRATION AGE
* SCALE FACTOR IS -1
SMF71CF 4 405 BI ;NUMBER ES SLOTS INSTALLED
SMF71OLE 4 409 BI ;NUMBER ES SLOTS ONLINE AT END OF INTERVAL
SMF71RES 4 413 BI ;TOTAL PAGES READ FROM EXT STORAGE
SMF71MSR 4 417 BI ;MINIMUM NUMBER SQA PAGES IN CENTRAL (REAL) STR.
SMF71XSR 4 421 BI ;MAXIMUM NUMBER SQA PAGES IN CENTRAL (REAL) STR.
SMF71ASR 4 425 BI ;AVERAGE NUMBER SQA PAGES IN CENTRAL (REAL) STR.
SMF71MSE 4 429 BI ;MINIMUM NUMBER SQA PAGES IN EXPANDED STORAGE
SMF71XSE 4 433 BI ;MAXIMUM NUMBER SQA PAGES IN EXPANDED STORAGE
SMF71ASE 4 437 BI ;AVERAGE NUMBER SQA PAGES IN EXPANDED STORAGE
SMF71LME 4 441 BI ;MINIMUM NUMBER OF LPA PAGES IN EXP. STR.
![Page 389: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/389.jpg)
DYRMF71 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–381
SMF71LXE 4 445 BI ;MAXIMUM NUMBER OF LPA PAGES IN EXP. STR.
SMF71LAE 4 449 BI ;AVERAGE NUMBER OF LPA PAGES IN EXP. STR.
SMF71CME 4 453 BI ;MINIMUM NUMBER OF CSA PAGES IN EXP. STR.
SMF71CXE 4 457 BI ;MAXIMUM NUMBER OF CSA PAGES IN EXP. STR.
SMF71CAE 4 461 BI ;AVERAGE NUMBER OF CSA PAGES IN EXP. STR.
SMF71MLR 4 465 BI ;MINIMUM NUMBER OF LSQA PAGES IN CENTRAL REAL S.
SMF71XLR 4 469 BI ;MAXIMUM NUMBER OF LSQA PAGES IN CENTRAL REAL S.
SMF71ALR 4 473 BI ;AVERAGE NUMBER OF LSQA PAGES IN CENTRAL REAL S.
SMF71MLE 4 477 BI ;MINIMUM NUMBER OF LSQA PAGES IN EXPANDED STR.
SMF71XLE 4 481 BI ;MAXIMUM NUMBER OF LSQA PAGES IN EXPANDED STR.
SMF71ALE 4 485 BI ;AVERAGE NUMBER OF LSQA PAGES IN EXPANDED STR.
SMF71RME 4 489 BI ;MINIMUM REG + SWA PAGES IN EXPANDED STORAGE
SMF71RXE 4 493 BI ;MAXIMUM REG + SWA PAGES IN EXPANDED STORAGE
SMF71RAE 4 497 BI ;AVERAGE REG + SWA PAGES IN EXPANDED STORAGE
SMF71ISC 4 501 BI ;NUMBER OF INCORRECT SAMPLES RETURNED FROM C. S.
SMF71HME 4 505 BI ;TOTAL HYPERSPACE PAGES WRITTEN TO EXP. STR.
SMF71HRE 4 509 BI ;TOTAL HYPERSPACE PAGES READ FROM EXP. STR.
SMF71HMG 4 513 BI ;TOTAL HYPERSPACE PAGES MIGRATED FROM EXP. STR
;TO AUXILIARY STORAGE
SMF71HOT 4 517 BI ;NUMBER OF HYPERSPACE PAGE-OUTS
SMF71HIN 4 521 BI ;NUMBER OF HYPERSPACE PAGE-INS
SMF71MHE 4 525 BI ;MINIMUM NUMBER OF HYPERSPACE PAGES IN EXP. STR
SMF71XHE 4 529 BI ;MAXIMUM NUMBER OF HYPERSPACE PAGES IN EXP. STR
SMF71AHE 4 533 BI ;AVERAGE NUMBER OF HYPERSPACE PAGES IN EXP. STR.
SMF71BLP 4 537 BI ;NUMBER OF BLOCKED PAGES PAGED IN
SMF71BLK 4 541 BI ;NUMBER OF BLOCKS PAGED IN
SMF71PWS 4 545 BI ;NUMBER OF PRIMARY WORKING-SET PAGES MIGRATED
; FROM EXPANDED STORAGE
SMF71FNM 4 549 BI ;NUMBER OF EXPANDED STORAGE FRAMES FREED WITHOUT
;MIGRATION
SMF71SWP 1 1 CH ;
REDEFINE AT SMF71SWP
SMF71TOT 4 1 BI ;NUMBER OF TOTAL SWAP CANDIDATES
SMF71AXD 4 5 BI ;PHYSICAL SWAPS DIRECTLY TO AUX STORAGE
SMF71LES 4 9 BI ;OF LOGICALLY SWAPPED, TOTAL NUMBER PHYSI-
* CALLY SWAPPED TO EXTENDED STORAGE
SMF71LAX 4 13 BI ;OF LOGICALLY SWAPPED, TOTAL NUMBER PHYSI-
* CALLY SWAPPED TO AUX STORAGE
SMF71ESD 4 17 BI ;PHYSICAL SWAPS DIRECTLY TO EXTENDED STOR
SMF71MIG 4 21 BI ;NUMBER OF PHYSICALLY SWAPPED MIGRATED
* FROM EXTENDED TO AUX STORAGE
![Page 390: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/390.jpg)
DYRMF72 COPY Function
1–382 SMF/RMF Reporting Guide
DYRMF72 COPY Function The DYRMF72 COPY function can be used to print SMF (RMF) type 72 records in two report formats — a long format and a short format. SMF (RMF) type 72 records contain information that is pertinent to RMF WORKLOAD ACTIVITY AND STORAGE DATA. The examples for DYRMF72 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF72 Record Definition COPYLIB(SMF72REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF72 COPY Parameters
Nine parameters can be varied in the DYRMF72 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 391: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/391.jpg)
DYRMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–383
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF72 COPY Function
DYRMF72 COPY Function: Example 1
Print all RMF type 72 records with SMF buffer date and time between 00:05 A.M. and 7:00 A.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF72LNG ;RECORD LENGTH
STATUS SMF72END ;END OF FILE
COPY SMF72REC
COPY DYRMF72 #1=”'08/04/97'” #2=”'00:05:00'”
#3=”'08/04/97'” #4=”'07:00:00'”
#L=YES #S=NULL
FIN
DYRMF72 COPY Function: Example 2
Print all RMF type 72 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF72LNG ;RECORD LENGTH
STATUS SMF72END ;END OF FILE
COPY SMF72REC
COPY DYRMF72
#S=YES #L=NULL
FIN
![Page 392: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/392.jpg)
DYRMF72 COPY Function
1–384 SMF/RMF Reporting Guide
Record selection logic can be placed between the COPY SMF72REC statement and the “COPY DYRMF72” statement. For instance, in the example shown above the following code:
IF SMF72SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
DYRMF72 Short Formatted Report
08/10/97 09.57.56 RMF RECORD 72 RMF WORKLOAD ACTIVITY AND STORAGE DATA SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.00 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 2
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
WORKLOAD CONTROL 104 20 1
PERFORMANCE GROUP 124 60 23
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 15:00.000 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.04 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
WORKLOAD CONTROL 104 104 1
PERFORMANCE GROUP 208 120 1
RMF PRODUCT SECTION
![Page 393: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/393.jpg)
DYRMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–385
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
DYRMF72 Long Formatted Report (Page 1 of 3)
08/10/97 14.52.18 RMF RECORD 72 RMF WORKLOAD ACTIVITY AND STORAGE DATA LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:09:06.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
WORKLOAD CONTROL 104 96 1
PERFORMANCE GROUP 200 76 2
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 23:54:04 DATE RMF MEASUREMENT INTERVAL STARTED 08/03/97
DURATION OF RMF MEASUREMENT INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
WORKLOAD CONTROL SECTION (SUBTYPE 1)
************************************
NAME OF IPS IEAIPS01 PERFORMANCE GROUP (PG) NUMBER 1
HIGHEST PG NO DEFINED IN IPS 852 IOC RESOURCE FACTOR COEFFICIENT 0.1
CPU RESOURCE FACTOR COEFFICIENT 0.1 ERV RESOURCE MANAGER COEFFICIENT 500
IOC SERVICE DEFINITION COEFFICIENT 5.0 CPU SERVICE DEFINITION COEFFICIENT 10.0
![Page 394: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/394.jpg)
DYRMF72 COPY Function
1–386 SMF/RMF Reporting Guide
DYRMF72 Long Formatted Report (Page 2 of 3)
08/10/97 14.52.18 RMF RECORD 72 RMF WORKLOAD ACTIVITY AND STORAGE DATA LONG FORM PAGE 2
MAIN STORAGE SERVICE DEFINITION COEF. SRB SERVICE DEFINITION COEFFICIENT 10.0
NAME OF IEAOPTXX MEMBER IEAOPT00 NAME OF IEAICSXX MEMBER IEAICS00
NAME OF SUBSYSTEM ASSOCIATED WITH THIS PGN JES2 USER IDENTIFIER ASSOCIATED WITH THIS PGN
NAME OF TRANSACTION ASSOCIATED WITH THIS PGN CPU TIME PER SERVICE UNIT 00:00:00.23
PERFORMANCE GROUP PERIOD DATA SECTION (SUBTYPE 1) 1
************************************************
NUMBER OF TRANSACTIONS TERMINATED 4 ACTIVE TIME OF ALL TRANS 00:04:50.11
SERVICE USED IN ALL TRANSACTIONS 213,412 MAIN STORAGE TOTAL SERVICE UNITS 50,854
ELAPSED TIME ACCUMULATED BY ALL -- WORKLOAD LEVEL OF ALL TRANSACTIONS --
TRANSACTIONS THAT ENDED IN THIS PG PERIOD -- 00:00:55.59 IN UNITS OF 1/256 OF A LEVEL -- 19,391
I/O TOTAL SERVICE UNITS 84,055 CPU TOTAL SERVICE UNITS 62,587
NUMBER OF SWAP SEQUENCES IN PER. 8 DOMAIN NUMBER 1
PERFORMANCE OBJECTIVE NUMBER 51 TIME SLICE GROUP NUMBER 255
SRB TOTAL SERVICE UNITS 15,916 NUMBER OF PAGE-INS 1
TRANSACTION RESIDENCE TIME 00:04:50.08
SUM OF THE SQUARES OF THE ELAPSED TIMES --
08/10/97 14.52.18 RMF RECORD 72 RMF WORKLOAD ACTIVITY AND STORAGE DATA LONG FORM PAGE 2
ACCUMULATED BY ALL ENDED TRANSACTIONS (HEX) -- 8A17 7C1F
THE ACTIVE FRAME-TIME (HEX) 0219 3F4C
NUMBER OF PAGE-INS OF HYPERSPACES 0 NUMBER OF ESO HYPERSPACE READ MISSES 0
NUMBER OF BLOCKED PAGES PAGED-IN 1,077,952,576 UNBLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576
BLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576 BLOCKS PAGED IN FROM AUXILIARY STORAGE 1,077,952,576
1ST FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0380 2ND FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0000
REGION CONTROL TASK (RCT) TIME (HEX) 0354 I/O INTERRUPT PROCESSING TIME (HEX) C1C9
HYPERSPACE SERVICE UNITS (HEX) F0F1 TOTAL SYSTEM TRAN. TIME OF ENDED TRANS. (HEX) F1F0
![Page 395: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/395.jpg)
DYRMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–387
DYRMF72 Long Formatted Report (Page 3 of 3)
08/10/97 14.52.18 RMF RECORD 72 RMF WORKLOAD ACTIVITY AND STORAGE DATA LONG FORM PAGE 3
PERFORMANCE GROUP PERIOD DATA SECTION (SUBTYPE 1) 2
************************************************
NUMBER OF TRANSACTIONS TERMINATED 5 ACTIVE TIME OF ALL TRANS 00:12:54.74
SERVICE USED IN ALL TRANSACTIONS 744,118 MAIN STORAGE TOTAL SERVICE UNITS 188,861
ELAPSED TIME ACCUMULATED BY ALL -- WORKLOAD LEVEL OF ALL TRANSACTIONS --
TRANSACTIONS THAT ENDED IN THIS PG PERIOD -- 00:08:43.98 IN UNITS OF 1/256 OF A LEVEL -- 17,325
I/O TOTAL SERVICE UNITS 335,170 CPU TOTAL SERVICE UNITS 180,585
NUMBER OF SWAP SEQUENCES IN PER. 3 DOMAIN NUMBER 2
PERFORMANCE OBJECTIVE NUMBER 52 TIME SLICE GROUP NUMBER 255
SRB TOTAL SERVICE UNITS 39,502 NUMBER OF PAGE-INS 0
TRANSACTION RESIDENCE TIME 00:12:52.08
SUM OF THE SQUARES OF THE ELAPSED TIMES --
ACCUMULATED BY ALL ENDED TRANSACTIONS (HEX) -- 000E 6A6F C53A
THE ACTIVE FRAME-TIME (HEX) 07B2 841B
NUMBER OF PAGE-INS OF HYPERSPACES 0 NUMBER OF ESO HYPERSPACE READ MISSES 0
NUMBER OF BLOCKED PAGES PAGED-IN 1,077,952,576 UNBLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576
BLOCKED PAGES PAGED IN FROM EXP. STORAGE 1,077,952,576 BLOCKS PAGED IN FROM AUXILIARY STORAGE 1,077,952,576
1ST FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0380 2ND FOUR BYTES OF EXP. STORAGE FR. TIME (HEX) 0000
REGION CONTROL TASK (RCT) TIME (HEX) 0354 I/O INTERRUPT PROCESSING TIME (HEX) C1C9
HYPERSPACE SERVICE UNITS (HEX) F0F1 TOTAL SYSTEM TRAN. TIME OF ENDED TRANS. (HEX) F1F0
DYRMF72 Record Definition COPYLIB(SMF72REC)
SMF72HDR 1 CH ;
REDEFINE AT SMF72HDR
SMF72FLG 1 1 BI ;HEADER FLAG BYTE
*SMF72RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF72SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF72VXA EQU X'04' MVS/XA VERSION IF ON
*SMF72OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF72BFY EQU X'01' PR/SM MACHINE
SMF72RTY 1 2 BI ;RECORD TYPE
SMF72TME 4 3 BI ;TOD RECORD WRITTEN
SMF72DTE 4 7 PD ;DATE RECORD WRITTEN
SMF72SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF72SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF72STY 2 19 BI ;SUBTYPE
SMF72TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF72PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF72PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
![Page 396: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/396.jpg)
DYRMF72 COPY Function
1–388 SMF/RMF Reporting Guide
SMF72PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF72WLS 4 33 BI ;OFFSET TO WORKLOAD CONTROL SECTION
SMF72WLL 2 37 BI ;LENGTH OF WORKLOAD CONTROL SECTION
SMF72WLN 2 39 BI ;NUMBER OF WORKLOAD CONTROL SECTIONS
SMF72PGS 4 41 BI ;OFFSET TO PERFORMANCE GROUP PERIOD
* DATA SECTION
SMF72PGL 2 45 BI ;LENGTH OF PERFORMANCE GROUP PERIOD
* DATA SECTION
SMF72PGN 2 47 BI ;NUMBER OF PERFORMANCE GROUP PERIOD
* DATA SECTIONS
SMF72PRO 1 1 CH ;
REDEFINE AT SMF72PRO
SMF72MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF72PRD 8 3 CH ;PRODUCT NAME
SMF72IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF72DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF72INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF72MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ... DIFFERENT SMF RECORD TYPES
*
SMF72SAM 4 25 BI ;NUMBER OF SAMPLES
SMF72RV2 2 29 BI ;RESV
SMF72FLA 2 31 BI ;FLAGS
*SMF72CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF72ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF72RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF72CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF72MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF72IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF72PRF 1 50 BI ;PROCESSOR FLAGS
*SMF72QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF72PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF72SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
SMF72CTL 1 1 CH ;
REDEFINE AT SMF72CTL
SMF72FG1 1 1 BI ;FLAGS
*SMF72CHF EQU 1 CHANGE TO PERFORMANCE SENSITIVE
* VARIABLE WAS MADE
![Page 397: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/397.jpg)
DYRMF72 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–389
*SMF72RPT EQU 2 _ REPORT CLASS
*SMF72ACN EQU 4 _ ACCOUNT INFORMATION
SMF72RV3 1 2 BI ;RESERVED
SMF72SUB 2 3 BI ;SUB-CATEGORY CODE,PERF.GROUP #
SMF72HPG 2 5 BI ;HIGHEST PERF GROUP(PG) # DEFINED IN IPS
SMF72IPS 8 7 CH ;NAME OF INSTALLATION PERF SPEC
SMF72IRF 3 15 CH ;IOC RESOURCE FACTOR COEFFICIENT
SMF72CRF 3 18 CH ;CPU RESOURCE FACTOR COEFFICIENT
SMF72ERF 6 21 CH ;ERV RESOURCE MANAGER COEFFICIENT
SMF72ISD 4 27 CH ;IOC SERVICE DEFINITION COEFFICIENT
SMF72CSD 4 31 CH ;CPU SERVICE DEFINITION COEFFICIENT
SMF72RV4 4 35 CH ;RESERVED
SMF72SSD 4 39 CH ;SRB SERVICE DEFINITION COEFFICIENT
SMF72OPT 8 43 CH ;NAME OF OPT
SMF72ICS 8 51 CH ;NAME OF ICS
SMF72SYS 4 59 CH ;SUBSYSTEM FOR THIS PGN
SMF72CLS 10 63 CH ;CLASS
SMF72USR 10 73 CH ;USER ID
SMF72NAM 10 83 CH ;TRANSACTION NAME FOR THIS PGN
SMF72ADJ 4 93 BI ;VALUE RMCTADJC — ADJ. FACTOR FOR CPU RATE
SMF72MSD 8 97 ;MAIN STORAGE SERVICE DEFINITION COEFFICIENT
SMF72WKL 1 1 CH ;
REDEFINE AT SMF72WKL
SMF72TTX 4 1 BI ;# OF TERMINATED TRANSACTIONS
SMF72ACT 4 5 BI ;ALL TRANSACTIONS ACTIVE TIME-1K MIC SEC
SMF72SER 4 9 BI ;ALL TRANSACTIONS SERVICE UNITS
SMF72TTM 4 13 BI ;TERM TRANS ELAPSED TIME-1K MIC SEC
SMF72LEV 4 17 BI ;WORKLOAD LEVEL (1/256 OF A LEVEL)
SMF72MTS 4 21 BI ;MSO TOTAL SERVICE
SMF72ITS 4 25 BI ;I/O TOTAL SERVICE
SMF72CTS 4 29 BI ;CPU TOTAL SERVICE
SMF72TAT 4 33 BI ;TRANSACTION ACTIVE TIME IN STORAGE
SMF72SPP 4 37 BI ;NO. SWAPS IN PERIOD
SMF72CDN 2 41 BI ;CURRENT DOMAIN NUMBER
SMF72PON 1 43 BI ;PERFORMANCE OBJECTIVE NUMBER
SMF72TSG 1 44 BI ;TIME SLICE GROUP NUMBER
SMF72STS 4 45 BI ;SRB TOTAL SERVICE
SMF72ET1 4 49 BI ;WORD1-SUM OF SQUARES OF ENDED TRANS
SMF72ET2 4 53 BI ;WORD2-SUM OF SQUARES OF ENDED TRANS
SMF72PIN 4 57 BI ;NUMBER OF PAGE-INS
SMF72FT1 4 61 BI ;WORD1-ACTIVE FRAME-TIME
SMF72FT2 4 65 BI ;WORD2-ACTIVE FRAME-TIME
SMF72HIN 4 69 BI ;NUMBER OF PAGE-INS OF HYPERSPACES
SMF72HRM 4 73 BI ;NUMBER OF ESO HYPERSPACE READ MISSES
SMF72BPI 4 77 BI ;NUMBER OF BLOCKED PAGES PAGED-IN
SMF72PIE 4 81 BI ;TOTAL NUMBER OF UNBLOCKED PAGES, FROM EXP. STR.
SMF72BPE 4 85 BI ;NUMBER OF BLOCKED PAGES PAGED IN FROM EXP. STR.
SMF72BKA 4 89 BI ;NUMBER OF BLOCKS PAGED IN FROM AUX. STO.
SMF72BKE 4 93 BI ;TOTAL NUMBER OF BLOCKS PAGED IN FROM EXP. STR.
![Page 398: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/398.jpg)
DYRMF72 COPY Function
1–390 SMF/RMF Reporting Guide
SMF72ER1 4 97 BI ;1ST FOUR BYTES OF THE EXP. STR. FRAME R. TIME
SMF72ER2 4 101 BI ;2ND FOUR BYTES OF THE EXP. STR. FRAME R. TIME
SMF72RCT 4 105 BI ;REGION CONTROL TASK (RCT) TIME
SMF72IIT 4 109 BI ;I/O INTERRUPT PROCESSING TIME
SMF72HST 4 113 BI ;HYPERSPACE SERVICE TIME
SMF72TST 4 117 BI ;TOTAL SYSTEM TRANSACTION TIME OF ENDED TRANSAC.
;*
S2_WCS_HDR 1 1 CH ;SUBTYPE 2 (WORKLOAD CONTROL SECTION)
REDEFINE AT S2 _WCS_HDR
R722TSR 2 1 BI ;SMALL RECORDS WRITTEN DURING INTERVAL
FILLER 2 3 BI ;RESERVED
R722TOT 4 5 BI ;DATA SECTIONS RECORDED DURING INTERVAL
R722NXT 4 9 BI ;DATA SECTIONS IN FOLLOWING RECORDS
R722IPS 8 13 CH ;NAME OF IPS
;*
S2_DC_HDR 1 1 CH ;SUBTYPE 2 (DATA SECTION)
REDEFINE AT S2_DC_ HDR
R722PG 2 1 BI ;PERFORMANCE GROUP NUMBER
R722DMN 2 3 BI ;DOMAIN NUMBER
R722USER 4 5 BI ;AVERAGE USERS IN THIS PERFORMANCE GROUP
R722ACTV 4 9 BI ;AVERAGE ACTIVE USERS IN THIS PER. GRP.
R722PAGE 4 13 BI ;SUM OF ALL PAGING DELAYS SAMPLES
R722SWAP 4 17 BI ;SUM OF ALL SWAP-IN DELAYS SAMPLES
R722OUTR 4 21 BI ;SUM OF ALL OUT AND READY DELAY SAMPLES
R722ACTF 4 25 BI ;SUM OF ALL FRAMES HELD BY ACTIVE USERS
R722ACTS 4 29 BI ;SUM OF SAMPLE COUNTS FOR ALL ACTIVE USERS
R722IDLE 4 33 BI ;SUM OF ALL FRAMES HELD FOR IDLE USERS
R722IDLS 4 37 BI ;SUM OF SAMPLE COUNTS FOR ALL IDLE USERS
R722PGIN 4 41 BI ;SUM OF ALL PAGE-INS
R722SLOT 4 45 BI ;SUM OF ALL AUXILIARY-STORAGE PAGING SLOTS
R722DIV 4 49 BI ;SUM OF ALL DATA-IN-VIRTUAL FRAMES
R722DIVS 4 53 BI ;SUM OF ALL DATA-IN-VIRTUAL SAMPLES
R722FIX 4 57 BI ;SUM OF ALL FIXED FRAMES HELD BY USERS
![Page 399: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/399.jpg)
DYRMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–391
DYRMF73 COPY Function The DYRMF73 COPY function can be used to print SMF (RMF) type 73 records in two report formats — a long format and a short format. SMF (RMF) type 73 records contain information that is pertinent to RMF CHANNEL PATH ACTIVITY. The examples for DYRMF73 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF73 Record Definition COPYLIB(SMF73REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF73 COPY Parameters
Nine parameters can be varied in the DYRMF73 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 400: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/400.jpg)
DYRMF73 COPY Function
1–392 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF73 COPY Function
DYRMF73 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF73LNG ;RECORD LENGTH
STATUS SMF73END ;END OF FILE
COPY SMF73REC
COPY DYRMF73 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 401: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/401.jpg)
DYRMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–393
DYRMF73 COPY Function: Example 2
Print all RMF type 73 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF73LNG ;RECORD LENGTH
STATUS SMF73END ;END OF FILE
COPY SMF73REC
COPY DYRMF73
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF73REC statement and the COPY DYRMF73 statement. For instance, in the example shown above the following code:
IF SMF73SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 402: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/402.jpg)
DYRMF73 COPY Function
1–394 SMF/RMF Reporting Guide
DYRMF73 Short Formatted Report
08/10/97 10.31.22 RECORD TYPE 73 RMF CHANNEL PATH ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION CCC1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:15:05.64 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
----------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
CHANNEL PATH CONTROL SECTION 104 4 1
CHANNEL PATH DATA SECTION 108 8 96
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 00:00:02 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 15:02.633 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 2 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION CCC1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 00:30:08.05 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
CHANNEL PATH CONTROL SECTION 104 4 1
CHANNEL PATH DATA SECTION 108 8 96
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TIME RMF MEASUREMENT INTERVAL STARTED 00:15:05 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 15:02.412 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 2 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 403: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/403.jpg)
DYRMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–395
DYRMF73 Long Formatted Report (Page 1 of 2)
08/10/97 15.39.48 RECORD TYPE 73 RMF CHANNEL PATH ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TIME RECORD WAS MOVED TO THE SMF BUFFER 14:30:00.03 DATE RECORD WAS MOVED TO THE SMF BUFFER 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
CHANNEL PATH CONTROL SECTION 104 72 1
CHANNEL PATH DATA SECTION 176 8 16
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TIME RMF MEASUREMENT INTERVAL STARTED 14:15:00 DATE RMF MEASUREMENT INTERVAL STARTED 08/04/97
DURATION OF RMF MEASUREMENT INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 0
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
CHANNEL PATH CONTROL SECTION
****************************
COUNT OF STORE CHANNEL PATH STATUS 1,708,000
![Page 404: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/404.jpg)
DYRMF73 COPY Function
1–396 SMF/RMF Reporting Guide
DYRMF73 Long Formatted Report (Page 2 of 2)
08/10/97 15.39.48 RECORD TYPE 73 RMF CHANNEL PATH ACTIVITY LONG FORM PAGE 2
CHANNEL PATH DATA SECTION
*************************
CHANNEL COUNT OF STORE CHANNEL PATH CHANNEL CHANNEL
PATH STATUS SAMPLES TAKEN BY SRM PATH FLAGS
DATA SECTION IN WHICH THE CHANNEL PATH IDENTIFICATION
NUMBER WAS FOUND BUSY (HEX)
---------------------------------------------------------------------------------------------------------------------
1 0 00 -------
2 0 01 -------
3 211,883 02 -------
4 4,063 03 -------
5 10,126 04 -------
6 0 05 -------
7 222,231 06 -------
8 0 07 -------
9 11,644 08 -------
10 0 09 -------
11 197,483 0A -------
12 295,843 0B -------
13 372,474 0C -------
14 0 0D -------
15 192,177 0E -------
16 22,287 0F -------
![Page 405: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/405.jpg)
DYRMF73 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–397
DYRMF73 Record Definition COPYLIB(SMF73REC)
SMF73HDR 1 CH ;
REDEFINE AT SMF73HDR
SMF73FLG 1 1 BI ;HEADER FLAG BYTE
*SMF73RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF73SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF73VXA EQU X'04' MVS/XA VERSION IF ON
*SMF73OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF73BFY EQU X'01' PR/SM MACHINE
SMF73RTY 1 2 BI ;RECORD TYPE
SMF73TME 4 3 BI ;TOD RECORD WRITTEN
SMF73DTE 4 7 PD ;DATE RECORD WRITTEN
SMF73SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF73SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF73STY 2 19 BI ;SUBTYPE
SMF73TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF73PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF73PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF73PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF73HIS 4 33 BI ;OFFSET TO CHANNEL CONTROL SECTION
SMF73HIL 2 37 BI ;LENGTH OF CHANNEL CONTROL SECTION
SMF73HIN 2 39 BI ;NUMBER OF CHANNEL CONTROL SECTIONS
SMF73HPS 4 41 BI ;OFFSET TO CHANNEL DATA SECTION
SMF73HPL 2 45 BI ;LENGTH OF CHANNEL DATA SECTION
SMF73HPN 2 47 BI ;NUMBER OF CHANNEL DATA SECTIONS
*WORKAREA
SMF73PRO 1 1 CH ;
REDEFINE AT SMF73PRO
SMF73MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF73PRD 8 3 CH ;PRODUCT NAME
SMF73IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF73DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF73INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF73MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF73SAM 4 25 BI ;NUMBER OF SAMPLES
SMF73RV2 2 29 BI ;RESV
SMF73FLA 2 31 BI ;FLAGS
*SMF73CNV EQU X'80' DATA CONVERT.FROM VER.2
![Page 406: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/406.jpg)
DYRMF73 COPY Function
1–398 SMF/RMF Reporting Guide
*SMF73ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF73RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF73CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF73MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF73IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF73PRF 1 50 BI ;PROCESSOR FLAGS
*SMF73QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF73PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF73SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
*WORKAREA
SMF73CTL 1 1 CH ;
REDEFINE AT SMF73CTL
SMF73SMP 4 1 BI ;NUMBER OF SAMPLES, WEIGHTED BY SRM.
SMF73CFL 1 5 BI ;CONFIGURATION CHANGE FLAGS
FILLER 3 6 CH ;
SMF73TNM 44 9 CH ;IODF NAME
SMF73TSF 2 53 CH ;IODF NAME SUFFIX
FILLER 2 55 CH ;
SMF73TOK 16 57 CH ;PARTIAL TOKEN INFORMATION
SMF73TDT 8 73 CH ;IODF CREATION DATE
SMF73TTM 8 81 CH ;IODF CREATION TIME
*WORKAREA
SMF73CHA 1 1 CH ;
REDEFINE AT SMF73CHA
SMF73PID 1 1 BI ;CHANNEL PATH IDENTIFICATIONS
* THE RANGE OF VALUES IS 0 TO FF
SMF73FG2 1 2 BI ;CHANNEL FLAGS
*SMF73RV3 EQU X'C0' RESERVED
*SMF73BL EQU X'20' BLOCK MULTIPLEXOR
*SMF73BY EQU X'10' BYTE MULTIPLEXOR
*SMF73RV4 EQU X'08' RESERVED
*SMF73PAR EQU X'04' ONLY PARTIAL STATISTICS AVAILABLE
*SMF73VAC EQU X'02' DATA INVALID. CHANNEL PATH WAS VARIED DURING
* INTERVAL.
*SMF73STA EQU X'01' CHANNEL PATH IS CURRENTLY ONLINE
SMF73FG3 1 3 BI ;CHANNEL FLAGS EXTENSION
SMF73RV5 1 4 BI ;RESERVED
SMF73BSY 4 5 BI ;NUMBER OF SAMPLES IN WHICH THE CHANNEL PATH
* WAS BUSY. WEIGHTED BY SRM.
![Page 407: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/407.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–399
DYRMF74 COPY Function The DYRMF74 COPY function can be used to print SMF (RMF) type 74 records in two report formats — a long format and a short format. SMF (RMF) type 74 records contain information that is pertinent to RMF DEVICE ACTIVITY. The examples for DYRMF74 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF74 Record Definition COPYLIB(SMF74REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF74 COPY Parameters
Nine parameters can be varied in the DYRMF74 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 408: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/408.jpg)
DYRMF74 COPY Function
1–400 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF74 COPY Function
DYRMF74 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF74LNG ;RECORD LENGTH
STATUS SMF74END ;END OF FILE
COPY SMF74REC
COPY DYRMF74 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 409: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/409.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–401
DYRMF74 COPY Function: Example 2
Print all RMF type 74 records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF74LNG ;RECORD LENGTH
STATUS SMF74END ;END OF FILE
COPY SMF74REC
COPY DYRMF74
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF74REC statement and the “COPY DYRMF74” statement. For instance, in the example shown above the following code:
IF SMF74SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 410: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/410.jpg)
DYRMF74 COPY Function
1–402 SMF/RMF Reporting Guide
DYRMF74 Short Formatted Report
08/10/97 08.53.23 RECORD TYPE 74 RMF DEVICE ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.02 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
----------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
DEVICE CONTROL DATA 104 24 1
DEVICE DATA 128 124 34
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TOD MONITOR 1 INTERVAL START 23:54:04 DATE MONITOR 1 INTERVAL START 08/03/97
DURATION OF MONITOR 1 INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 261 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.02 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
-----------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
DEVICE CONTROL DATA 104 24 1
DEVICE DATA 128 124 68
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TOD MONITOR 1 INTERVAL START 23:54:04 DATE MONITOR 1 INTERVAL START 08/03/97
DURATION OF MONITOR 1 INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 261 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 411: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/411.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–403
DYRMF74 Long Formatted Report (Page 1 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 3 RECORD SUBTYPE 1
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 52 52 1
DEVICE CONTROL DATA 104 94 1
DEVICE DATA 198 124 9
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:5.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
DEVICE CONTROL SECTION
**********************
DEVICE DATA SECTIONS IN FOLLOWING RECORD 0 TOTAL DEVICE DATA SECTIONS IN ALL RECORDS 0
TOTAL DEVICES SPECIFIED (ALL CLASSES) 88 REG 15 AFTER SMS INTERFACE CALL (SSI RC) 0
DEVICE CLASS CODE MAGNETIC TAPE DEVICES
PROCESSING FLAGS FOR DASD DEVICE CLASS NO INFORMATION
MESSAGE FLAGS FOR DASD DEVICE CLASS NO INFORMATION
RETURN CODE FROM SMS INTERFACE (SSOB RC) 0 REASON CODE FROM SMS INTERFACE (SSOB RS) 0
![Page 412: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/412.jpg)
DYRMF74 COPY Function
1–404 SMF/RMF Reporting Guide
DYRMF74 Long Formatted Report (Page 2 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 2
DEVICE DATA SECTION 1
-------------------
DEVICE ADDRESS (HEX) 0710 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 2
-------------------
DEVICE ADDRESS (HEX) 0712 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
![Page 413: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/413.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–405
DYRMF74 Long Formatted Report (Page 3 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 3
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 3
-------------------
DEVICE ADDRESS (HEX) 0713 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 414: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/414.jpg)
DYRMF74 COPY Function
1–406 SMF/RMF Reporting Guide
DYRMF74 Long Formatted Report (Page 4 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 4
DEVICE DATA SECTION 4
-------------------
DEVICE ADDRESS (HEX) 0718 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED 004150 UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 9,371
MEASUREMENT EVENT COUNT 9,371 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 2,753,892
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 678,237 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 3,764,499
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 332,370 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 900 SAMPLES TAKEN, MOUNT PENDING CONDITION 350
SAMPLES TAKEN, DEVICE WAS NOT READY 351 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 64
CONTROL UNIT BUSY DELAY TIME 100 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 5
-------------------
DEVICE ADDRESS (HEX) 0719 LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 415: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/415.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–407
DYRMF74 Long Formatted Report (Page 5 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 5
DEVICE DATA SECTION 6
-------------------
DEVICE ADDRESS (HEX) 071A LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 900 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 0 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 7
-------------------
DEVICE ADDRESS (HEX) 071B LOGICAL CONTROL (NUMBER) (HEX) 0007
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 78048080
MAGNETIC TAPE -
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
![Page 416: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/416.jpg)
DYRMF74 COPY Function
1–408 SMF/RMF Reporting Guide
DYRMF74 Long Formatted Report (Page 6 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 6
SAMPLES, DEVICE RESERVED, SSCH COM. NO ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
DEVICE DATA SECTION 8
-------------------
DEVICE ADDRESS (HEX) 0780 LOGICAL CONTROL (NUMBER) (HEX) 0008
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 32108003
MAGNETIC TAPE - 3400 SERIES MAGNETIC-TAPE UNIT
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 417: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/417.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–409
DYRMF74 Long Formatted Report (Page 7 of 7)
08/10/97 15.38.37 RECORD TYPE 74 RMF DEVICE ACTIVITY LONG FORM PAGE 7
DEVICE DATA SECTION 9
-------------------
DEVICE ADDRESS (HEX) 0781 LOGICAL CONTROL (NUMBER) (HEX) 0008
DEVICE INDICATOR ON LINE
VOLUME SERIAL NUMBER OF VOLUME MOUNTED UNIT TYPE (HEX) 32108003
MAGNETIC TAPE - 3400 SERIES MAGNETIC-TAPE UNIT
EXPOSURES FOR A MULTIPLE EXPOSURE DEVICE 1 START SUBCHANNEL COUNT 0
MEASUREMENT EVENT COUNT 0 DEVICE CONNECT TIME (IN 128 MICROSEC. UNITS) 0
DEVICE PENDING TIME (IN 128 MICROSEC. UNITS) 0 DEVICE ACTIVE TIME (IN 128 MICROSEC. UNITS) 0
DEVICE DISC. TIME (IN 128 MICROSEC. UNITS) 0 REQUESTS QUEUED IN IOS FOR THIS DEVICE 0
SAMPLES, DEVICE RESERVED, SSCH COM. NOT ISSUED 0 SAMPLES TAKEN WHEN THE DEVICE WAS RESERVED 0
SAMPLES TAKEN, DEVICE WAS ALLOCATED 0 SAMPLES TAKEN, MOUNT PENDING CONDITION 0
SAMPLES TAKEN, DEVICE WAS NOT READY 900 REQUESTS, HAD HARDWARE TIMER OVERFLOW 0
NUMBER OF INVALID SAMPLES 0 DEVICE BUSY DELAY TIME, FROM SCHIB 0
CONTROL UNIT BUSY DELAY TIME 0 ALLOCATIONS IN EFFECT FOR THE DEVICE 0
FLAGS FOR EACH DEVICE CLASS NO INFORMATION
STORAGE GROUP NAME
![Page 418: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/418.jpg)
DYRMF74 COPY Function
1–410 SMF/RMF Reporting Guide
DYRMF74 Record Definition COPYLIB(SMF74REC)
SMF74HDR 1 CH ;
REDEFINE AT SMF74HDR
SMF74FLG 1 1 BI ;HEADER FLAG BYTE
*SMF74RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF74SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF74VXA EQU X'04' MVS/XA VERSION IF ON
*SMF74OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF74BFY EQU X'01' PR/SM MACHINE
SMF74RTY 1 2 BI ;RECORD TYPE
SMF74TME 4 3 BI ;TOD RECORD WRITTEN
SMF74DTE 4 7 PD ;DATE RECORD WRITTEN
SMF74SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF74SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF74STY 2 19 BI ;SUBTYPE
SMF74TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF74PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF74PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF74PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
********************** INDIVIDUAL HEADER EXTENSION (SUBTYPE 1) ******
SMF74DCS 4 33 BI ;OFFSET TO DEVICE CONTROL DATA SECTION
SMF74DCL 2 37 BI ;LENGTH OF DEVICE CONTROL DATA SECTION
SMF74DCN 2 39 BI ;NUMBER OF DEVICE CONTROL DATA SECTIONS
SMF74DDS 4 41 BI ;OFFSET TO DEVICE DATA SECTION
SMF74DDL 2 45 BI ;LENGTH OF DEVICE DATA SECTION
SMF74DDN 2 47 BI ;NUMBER OF DEVICE DATA SECTIONS
********************** INDIVIDUAL HEADER EXTENSION (SUBTYPE 2) ******
SMF742CO 4 33 BI ;OFFSET TO CONTROL DATA SECTION
SMF742CL 2 37 BI ;LENGTH OF CONTROL DATA SECTION
SMF742CN 2 39 BI ;NUMBER OF CONTROL DATA SECTIONS
SMF742SO 4 41 BI ;OFFSET TO SYSTEM DATA SECTION
SMF742SL 2 45 BI ;LENGTH OF SYSTEM DATA SECTION
SMF742SN 2 47 BI ;NUMBER OF SYSTEM DATA SECTIONS
SMF742PO 4 49 BI ;OFFSET TO PATH DATA SECTION
SMF742PL 2 53 BI ;LENGTH OF PATH DATA SECTION
SMF742PN 2 55 BI ;NUMBER OF PATH DATA SECTIONS
SMF742MO 4 57 BI ;OFFSET TO MEMBER DATA SECTION
SMF742ML 2 61 BI ;LENGTH OF MEMBER DATA SECTION
SMF742MN 2 63 BI ;NUMBER OF MEMBER DATA SECTIONS
********************** COMMON RMF PRODUCT SECTION *******************
SMF74PRO 1 1 CH ;
REDEFINE AT SMF74PRO
SMF74MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
![Page 419: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/419.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–411
* ... L = MODIFICATION LEVEL
SMF74PRD 8 3 CH ;PRODUCT NAME
SMF74IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF74DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF74INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*S
MF74MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*S
MF74SAM 4 25 BI ;NUMBER OF SAMPLES
SMF74RV2 2 29 BI ;RESV
SMF74FLA 2 31 BI ;FLAGS
*SMF74CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF74ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF74RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF74CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF74MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF74IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF74PRF 1 50 BI ;PROCESSOR FLAGS
*SMF74QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF74PTN 1 51 BI ;PR/SM — PARTITION NUMBER
FILLER 1 52 BI ;RESERVED
********************** DEVICE CONTROL SECTION ***********************
SMF74A 1 1 CH ;
REDEFINE AT SMF74A
SMF74NXT 2 1 BI ;NUMBER OF DEVICE DATA SECTIONS IN FOLLOWING
* RECORDS FOR THIS CLASS
SMF74TOT 2 3 BI ;NUMBER OF DEVICE DATA SECTIONS IN ALL
* RECORDS FOR THIS CLASS
SMF74GEN 2 5 BI ;TOTAL NUMBER OF DEVICES SPECIFIED FOR ALL
* CLASSES AT SYSTEM GENERATION
SMF74SUB 2 7 BI ;DEVICE CLASS CODE:
* '0080'X — MAGNETIC TAPE DEVICES
* '0040'X — COMMUNICATION EQUIPMENT
* '0020'X — DIRECT ACCESS DEVICES
* '0010'X — GRAPHICS DEVICES
* '0008'X — UNIT RECORD DEVICES
* '0004'X — CHARACTER READER DEVICES
SMF74DCF 1 9 BI ;PROCESSING FLAGS FOR DASD DEVICE CLASS
*SMF74NRF EQU X'80' 1... .... ON = CAUSES TWO REPORT AREAS
*SMF74SGF EQU X'40' .1.. .... ON = CAUSES SORT BY SG
* ..11 1111 NOT USED
SMF74DMS 1 10 BI ;MESSAGE FLAGS FOR DASD DEVICE CLASS
*SMF74429 EQU X'80' 1... .... ON = MESSAGE ERB429I
![Page 420: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/420.jpg)
DYRMF74 COPY Function
1–412 SMF/RMF Reporting Guide
*SMF74SME EQU X'40' 1... .... ON = SMS INTERFACE ERROR
* ..11 1111 NOT USED
FILLER 2 11 CH ;NOT USED
SMF74S15 4 13 BI ;REG 15 AFTER SMS INTERFACE CALL (SSI RC)
SMF74SRC 4 17 BI ;RETURN CODE FROM SMS INTERFACE (SSOB RC)
SMF74SRS 4 21 BI ;REASON CODE FROM SMS INTERFACE (SSOB RS)
********************** DEVICE DATA SECTION **************************
SMF74B 1 1 CH ;
REDEFINE AT SMF74B
SMF74NUM 2 1 BI ;DEVICE NUMBER IN THE RANGE X'0000' TO X'0FFF'
SMF74LCU 2 3 BI ;LOGICAL CONTROL UNIT NUMBER (00 TO FF)
SMF74RV3 1 5 BI ;INTERNALLY USED
SMF74CNF 1 6 BI ;DEVICE FLAGS:
*SMF74QUL EQU X'80' 1... .... ON= QUEUE LENGTH INVALID
*SMF74LCD EQU X'40' .1.. .... ON= NO LCU DATA
*SMF74CMB EQU X'20' ..1. .... ON= CMB DATA INVALID
* ...1 .... RESERVED
*SMF74PAR EQU X'08' .... 1... ON= ONLY PARTIAL STATISTICS
* AVAILABLE
*SMF74MXB EQU X'04' .... .1.. ON= DEVICE IS MULTIPLE EXPOSURE
* DEVICE; THIS IS BASE EXPOSURE
*SMF74VAC EQU X'02' .... ..1. ON= DATA RECORDED IS INVALID
* BECAUSE DEVICE WAS VARIED
* DURING INTERVAL
*SMF74STA EQU X'01' .... ...1 ON= DEVICE IS CURRENTLY ONLINE
SMF74SER 6 7 CH ;VOLUME SERIAL NUMBER OF MOUNTED VOLUME
SMF74TYP 4 13 BI ;UNIT TYPE
SMF74NUX 4 17 BI ;NUMBER OF EXPOSURES (IF MULTIPLE)
SMF74SSC 4 21 BI ;START SUBCHANNEL (SSCH) COUNT
SMF74MEC 4 25 BI ;MEASUREMENT EVENT COUNT (NUMBER OF SSCH
* FOR WHICH CONNECT, PENDING, AND ACTIVE
* TIMES WERE STORED
SMF74CNN 4 29 BI ;DEVICE CONNECT TIME
SMF74PEN 4 33 BI ;DEVICE PENDING TIME
SMF74ATV 4 37 BI ;DEVICE ACTIVE TIME
SMF74DIS 4 41 BI ;DEVICE DISCONNECT TIME
SMF74QUE 4 45 BI ;NUMBER OF REQUESTS QUEUED IN IOS FOR
* THIS DEVICE
SMF74UTL 4 49 BI ;NUMBER OF SAMPLES WHEN THE DEVICE WAS
* RESERVED, BUT AN SSCH HAD NOT BEEN ISSUED
SMF74RSV 4 53 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
* INTERVAL THAT INDICATED THAT THE DEVICE
* WAS RESERVED
SMF74DSO 4 57 BI ;NOT LONGER NEEDED, NEW FIELD IS SMF74NDA
* VARIABLE NAME IS NEEDED FOR CONVERSION
SMF74ALC 4 61 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
* INTERVAL THAT INDICATED THAT THE DEVICE
* WAS ALLOCATED
SMF74MTP 4 65 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
![Page 421: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/421.jpg)
DYRMF74 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–413
* INTERVAL THAT INDICATED A MOUNT PENDING
* CONDITION
SMF74NRD 4 69 BI ;NUMBER OF SAMPLES DURING THE MEASUREMENT
* INTERVAL THAT INDICATED THAT THE DEVICE
* WAS NOT READY
SMF74COF 2 73 BI ;NUMBER OF REQUESTS WITH CONNECT TIME
* OVERFLOW
SMF74ICT 2 75 BI ;INVALID SAMPLE COUNT
SMF74DVB 4 77 BI ;DEVICE BUSY DELAY TIME
SMF74CUB 4 81 BI ;CONTROL UNIT BUSY DELAY TIME
SMF74CLF 1 85 BI ;FLAGS FOR EACH DEVICE CLASS:
*SMF74RNR EQU X'80' 1... .... FLAG FOR NUMBER OPTION ACTIVE
*SMF74RSG EQU X'40' .1.. .... FLAG FOR SG OPTION ACTIVE
*SMF74RCS EQU X'20' ..1. .... FLAG FOR SG NAME CHANGED DURING
* THE INTERVAL
* ...1 1111 UNUSED
FILLER 3 86 BI ;UNUSED
SMF74SGN 8 89 CH ;STORAGE GROUP NAME
SMF74NDA 4 97 BI ;TOTAL NUMBER OF ALLOCATIONS IN EFFECT
* FOR THE DEVICE
SMF74DEV 8 101 CH ;DEVICE MODEL NAME
SMF74CU 8 109 CH ;CONTROL UNIT NAME
SMF74DPB 4 117 BI ;TIME DIRECTOR PORT WAS BUSY
SMF74CNX 1 121 BI ;DEVICE FLAG EXTENSIONS
;************* SUBTYPE 2 ********************
CDS_HDR 1 1 CH ;CONTROL DATA SECTION
REDEFINE AT CDS_HDR
R742TSR 2 1 BI ;RECORDS OF TYPE 74 SUBTYPE 2 WRITTEN
FILLER 2 3 CH ;RESERVED
R742STOT 4 5 BI ;SYSTEM DATA SECTIONS IN ALL SMF RECORDS
R742SNXT 4 9 BI ;SYSTEM DATA SECTIONS AFTER THIS RECORD
R742PTOT 4 13 BI ;PATH DATA SECTIONS IN ALL SMF RECORDS
R742PNXT 4 17 BI ;PATH DATA SECTIONS AFTER THIS RECORD
R742MTOT 4 21 BI ;MEMBER DATA SECTIONS IN ALL SMF RECORDS
R742MNXT 4 25 BI ;MEMBER DATA SECTIONS AFTER THIS RECORD
;*
SDS_HDR 1 1 CH ;SYSTEM DATA SECTION
REDEFINE AT SDS_HDR
R742SNME 8 1 CH ;SYSTEM NAME
R742SSTF 1 9 BI ;STATUS FLAGS
R742SDIR 1 10 BI ;DIRECTION OF THE MESSAGE TRAFFIC
FILLER 2 11 BI ;RESERVED
R742SPTH 4 13 BI ;NUMBER OF SIGNALLING PATHS IN SERVICE
R742SBSY 4 17 BI ;NUMBER OF NO BUFFER CONDITIONS
R742SNOP 4 21 BI ;NUMBER OF NO PATH CONDITIONS
R742SMXB 4 25 BI ;MAXIMUM 1K BLOCKS OF MESSAGE BUFFER SPACE
R742SBIG 4 29 BI ;NUMBER OF BIG MESSAGE CONDITIONS
R742SFIT 4 33 BI ;NUMBER OF MESSAGE FIT CONDITIONS
R742SSML 4 37 BI ;NUMBER OF SMALL MESSAGE CONDITIONS
![Page 422: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/422.jpg)
DYRMF74 COPY Function
1–414 SMF/RMF Reporting Guide
R742SOVR 4 41 BI ;MESSAGES THAT EXCEEDED THE MESSAGE LENGTH
R742STCL 8 49 CH ;TRANSPORT CLASS NAME
;*
PDS_HDR 1 1 CH ;PATH DATA SECTION
REDEFINE AT PDS_HDR
R742PNME 8 1 CH ;SYSTEM NAME
R742PDEV 4 9 CH ;DEVICE NUMBER
R742PSTF 1 13 BI ;STATUS FLAGS
R742PDIR 1 14 BI ;DIRECTION PATH
FILLER 2 15 CH ;RESERVED
R742PONA 8 17 CH ;NAME OF SYSTEM OF THE OTHER END
R742PODV 4 25 CH ;DEVICE NAME ON THE OTHER END
R742PSTA 1 29 BI ;PATH STATUS
FILLER 3 30 CH ;RESERVED
R742PRET 4 33 BI ;PATH RETRY LIMIT
R742PRST 4 37 BI ;NUMBER OF RESTARTS
R742PMXM 4 41 BI ;NUMBER OF 1K BLOCKS (MESSAGE BUFFER SPACE)
R742PSIG 4 45 BI ;OUTBOUND(INBOUND) SIGNALS SENT(RECEIVED)
R742PQLN 4 49 BI ;OUTBOUND SIGNALS PENDING TRANSFER ON PATH
R742PIBR 4 53 BI ;INBOUND SIGNALS REFUSED
R742PSUS 4 57 BI ;TIMES, PATH WAS NOT BUSY, WHEN SELECTED
R742PAPP 4 61 BI ;TIMES, PATH WAS BUSY, WHEN SELECTED
R742PTCN 8 65 CH ;TRANSPORT CLASS NAME
;*
MDS_HDR 1 1 CH ;MEMBER DATA SECTION
REDEFINE AT MDS_HDR
R742MSYS 8 1 CH ;SYSTEM NAME WHERE THE MEMBER RESIDES
R742MGRP 8 9 CH ;GROUP NAME
R742MMEM 16 17 CH ;MEMBER NAME
R742MSTF 1 33 BI ;STATUS FLAGS
FILLER 3 34 CH ;RESERVED
R742MSNT 4 37 BI ;NUMBER OF SIGNALS SENT BY MEMBER
R742MRCV 4 41 BI ;NUMBER OF SIGNALS RECEIVED BY MEMBER
![Page 423: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/423.jpg)
DYRMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–415
DYRMF75 COPY Function The DYRMF75 COPY function can be used to print SMF (RMF) type 75 records in two report formats — a long format and a short format. SMF (RMF) type 75 records contain information that is pertinent to RMF PAGE/SWAP DATA SET ACTIVITY. The examples for DYRMF75 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF75 Record Definition COPYLIB(SMF75REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF75 COPY Parameters
Nine parameters can be varied in the DYRMF75 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 424: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/424.jpg)
DYRMF75 COPY Function
1–416 SMF/RMF Reporting Guide
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF75 COPY Function
DYRMF75 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF75LNG ;RECORD LENGTH
STATUS SMF75END ;END OF FILE
COPY SMF75REC
COPY DYRMF75 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 425: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/425.jpg)
DYRMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–417
DYRMF75 COPY Function: Example 2
Print all RMF type 75 records regardless of date and time. Use the short report format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF75LNG ;RECORD LENGTH
STATUS SMF75END ;END OF FILE
COPY SMF75REC
COPY DYRMF75
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF75REC statement and the COPY DYRMF75 statement. For instance, in the example shown above the following code:
IF SMF75SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 426: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/426.jpg)
DYRMF75 COPY Function
1–418 SMF/RMF Reporting Guide
DYRMF75 Short Formatted Report
08/10/97 08.55.21 RECORD 75 RMF PAGE/SWAP DATA SET ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.02 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 2
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
------------------------------------------------------------------------------------------------------
RMF PRODUCT 44 52 1
PAGE SWAP DATA SET ACTIVITY 96 104 1
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TOD MONITOR 1 INTERVAL START 23:54:04 DATE MONITOR 1 INTERVAL START 08/03/97
DURATION OF MONITOR 1 INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION. 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.02 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 2
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------------
RMF PRODUCT 44 52 1
PAGE SWAP DATA SET ACTIVITY 96 104 1
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TOD MONITOR 1 INTERVAL START 23:54:04 DATE MONITOR 1 INTERVAL START 08/03/97
DURATION OF MONITOR 1 INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION. 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 427: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/427.jpg)
DYRMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–419
DYRMF75 Long Formatted Report
08/10/97 15.55.16 RECORD 75 RMF PAGE/SWAP DATA SET ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.03 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 2
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
----------------------------------------------------------------------------------------------------------
RMF PRODUCT 44 52 1
PAGE SWAP DATA SET ACTIVITY 96 116 1
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 5 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
PAGE/SWAP DATA SET DATA SECTION
*******************************
PAGE/SWAP DATA SET NAME PAGE.PLPA.VPAGE01
PAGE SPACE TYPE PLPA
FLAG DATA SET NO INFORMATION
DEVICE TYPE 3010200E DEVICE NUMBER - FROM UCBNAME 0431
VOLUME SERIAL PAGE01 SLOTS ALLOC OR SWAP SETS ALLOC 6,750
MAX SLOTS USED OR MAX SWAP SETS USED 5,658 MIN SLOTS USED OR MIN SWAP SETS USED 5,658
AVG SLOTS USED OR AVG SWAP SETS USED 5,658 BAD SLOTS OR BAD SWAP SETS 0
NO. TIMES DS IN USE BY ASM 1 NO. OF REQUESTS FOR THE DATA SET OBSERVED 1
NO. SIO(S) TO DATA SET 12 NO. PAGES TRANSFERRED TO DATA SET 39
![Page 428: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/428.jpg)
DYRMF75 COPY Function
1–420 SMF/RMF Reporting Guide
DYRMF75 Record Definition COPYLIB(SMF75REC)
SMF75HDR 1 CH ;
REDEFINE AT SMF75HDR
SMF75FLG 1 1 BI ;HEADER FLAG BYTE
*SMF75RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF75SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF75VXA EQU X'04' MVS/XA VERSION IF ON
*SMF75OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF75BFY EQU X'01' PR/SM MACHINE
SMF75RTY 1 2 BI ;RECORD TYPE
SMF75TME 4 3 BI ;TOD RECORD WRITTEN
SMF75DTE 4 7 PD ;DATE RECORD WRITTEN
SMF75SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF75SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF75STY 2 19 BI ;SUBTYPE
SMF75TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF75PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF75PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF75PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF75PSS 4 33 BI ;OFFSET TO PAGE/SWAP DATA SECTION
SMF75PSL 2 37 BI ;LENGTH OF PAGE/SWAP DATA SECTION
SMF75PSN 2 39 BI ;NUMBER OF PAGE/SWAP DATA SECTIONS
*WORKAREA
SMF75PRO 1 1 CH ;
REDEFINE AT SMF75PRO
SMF75MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF75PRD 8 3 CH ;PRODUCT NAME
SMF75IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF75DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF75INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF75MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF75SAM 4 25 BI ;NUMBER OF SAMPLES
SMF75RV2 2 29 BI ;RESV
SMF75FLA 2 31 BI ;FLAGS
*SMF75CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF75ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF75RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF75CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
![Page 429: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/429.jpg)
DYRMF75 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–421
SMF75MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF75IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF75PRF 1 50 BI ;PROCESSOR FLAGS
*SMF75QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF75PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF75SRL 1 52 BI ;SMF RECORD LEVEL CHANGE NUMBER
*WORKAREA
SMF75PSD 1 1 CH ;
REDEFINE AT SMF75PSD
* PAGE/SWAP DATASET DATA AREA
SMF75DSN 44 1 CH ;PAGE/SWAP DATA SET NAME
SMF75PST 1 45 BI ;PAGE SPACE TYPE
*SMF75LPA EQU X'80' PLPA
*SMF75COM EQU X'40' COMMON
*SMF75DPL EQU X'20' DUPLEX
*SMF75LOC EQU X'10' LOCAL
*SMF75SWP EQU X'08' SWAP
*SMF75DSB EQU X'04' DS BAD
*SMF75ONL EQU X'02' DS ONLINE DURING INTERVAL
SMF75FL2 1 46 BI ;
*SMF75VIO EQU X'80' DATASET ACCEPTS VIO PAGES
*SMF75MXP EQU X'40' DATASET IS ON A MULTIPLE EXPOSURE DEVICE
**
SMF75ACU EQU X'20' DATASET IS ON A DEVICE WITH AN ALTERNATE
* CONTROL UNIT
SMF75RV5 1 47 BI ;RESERVED
SMF75TYP 4 48 BI ;DEVICE TYPE
SMF75CHA 2 52 CH ;DEVICE NUMBER (HHHF) — FROM UCBNAME
SMF75VOL 6 54 CH ;VOLUME SERIAL
SMF75RV3 5 60 CH ;RESERVED
SMF75SLA 4 65 BI ;SLOTS ALLOC OR SWAP SETS ALLOC
SMF75MXU 4 69 BI ;MAX SLOTS USED OR MAX SWAP SETS USED
SMF75MNU 4 73 BI ;MIN SLOTS USED OR MIN SWAP SETS USED
SMF75AVU 4 77 BI ;AVG SLOTS USED OR AVG SWAP SETS USED
SMF75BDS 4 81 BI ;BAD SLOTS OR BAD SWAP SETS
SMF75USE 4 85 BI ;NO. TIMES DS IN USE BY ASM
SMF75REQ 4 89 BI ;TOTAL NUMBER OF REQUESTS FOR THIS DATASET SEEN
* BY ALL SAMPLES. EQUAL TO SMF75USE EXCEPT FOR
* MULTIPLE EXPOSURE DEVICES, WHERE EACH REQUEST
* SEEN ON EACH EXPOSURE IS ADDED
SMF75SIO 4 93 BI ;NO. SIO(S) TO DATA SET
SMF75PGX 4 97 BI ;NO. PAGES TRANSFERRED TO DATA SET
SMF75DEV 8 101 ;DEVICE NAME
SMF75CU 8 109 ;CONTROL UNIT NAME
![Page 430: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/430.jpg)
DYRMF76 COPY Function
1–422 SMF/RMF Reporting Guide
DYRMF76 COPY Function The DYRMF76 COPY function can be used to print SMF (RMF) type 76 records in two report formats — a long format and a short format. SMF (RMF) type 76 records contain information that is pertinent to RMF TRACE ACTIVITY. The examples for DYRMF76 short formatted and long formatted reports are shown in this section.
The COPY function assumes that the RMF record is formatted as shown in DYRMF76 Record Definition COPYLIB(SMF76REC). Records can be selected for printing information depending on the date and time the RMF record was written to the SMF buffer. A date and time range can be specified using the COPY parameters.
DYRMF76 COPY Parameters
Nine parameters can be varied in the DYRMF76 COPY function. Parameters #1 through #4 specify the date and time range in which records are selected for printing purposes. Parameters #5 and #6 define the date as a 4-digit year. Parameters #L and #S determine whether the long or short formatted report is printed. Parameter #X controls the printing of the year digit.
Parameter Description
#1 #1 is the “From” date in MM/DD/YY format. The default is 00/00/00.
#2 #2 is the “From” time in HH:MM:SS format. The default is 00:00:00.
#3 #3 is the “To” date in MM/DD/YY format. The default is 99/99/99.
#4 #4 is the “To” time in HH:MM:SS format. The default is 99:99:99.
The date and time the RMF record was written to the SMF buffer must be within the date and time range defined by parameters #1 through #4 before the record is allowed to print. The default values for #1 and #2 allow for an open ended lower bound of the range, while the default values for #3 and #4 allow for an open ended upper bound of the range.
#5 #5 is the “From” date in MM/DD/YYYY format. The default is 00/00/0000.
#6 #6 is the “To” date in MM/DD/YYYY format. The default is 99/99/9999.
#L #L causes the long formatted report to print when #L is set to a non-NULL value.
![Page 431: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/431.jpg)
DYRMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–423
Parameter Description
#S #S causes the short formatted report to print when #S is set to a non-NULL value. This is the default.
#L and #S are mutually exclusive. When one is non-NULL, the other must be NULL. If neither #L nor #S is specified, the short formatted report is printed.
#X #X when specified with the null parameter it causes the dates to be presented in 4-digit year format. The default is 2-digit year format (yes).
Invoking the DYRMF76 COPY Function
DYRMF76 COPY Function: Example 1
Print all records with SMF buffer date and time between 2:00 P.M. and 3:00 P.M. on August 4, 1997. Print the records using the long format.
OPTION STRUCTURED2
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF76LNG ;RECORD LENGTH
STATUS SMF76END ;END OF FILE
COPY SMF76REC
COPY DYRMF76 #1=”'08/04/97'” #2=”'14:00:00'”
#3=”'08/04/97'” #4=”'15:00:00'”
#L=YES #S=NULL
FIN
![Page 432: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/432.jpg)
DYRMF76 COPY Function
1–424 SMF/RMF Reporting Guide
DYRMF76 COPY Function: Example 2
Print all RMF type 76 records regardless of date and time. Use the short report format.
OPTION PRINTERROR XREFA
FILE SMFFILE INPUT SB 32752 32760 LENGTH SMF76LNG ;RECORD LENGTH
STATUS SMF76END ;END OF FILE
COPY SMF76REC
COPY DYRMF76
#S=YES #L=NULL
FIN
Record selection logic can be placed between the COPY SMF76REC statement and the COPY DYRMF76 statement. For instance, in the example shown above the following code:
IF SMF76SID NE 'BEP1'
REJECT
ENDIF
could have been included between the two COPY statements.
![Page 433: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/433.jpg)
DYRMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–425
DYRMF76 Short Formatted Report
08/10/97 10.39.48 RECORD 76 RMF TRACE ACTIVITY SHORT FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.04 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 4
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 60 52 1
TRACE CONTROL 112 4 1
TRACE DATA 116 48 1
VARIABLE TRACE DATA 164 8 46
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TOD MONITOR 1 INTERVAL START 23:54:04 DATE MONITOR 1 INTERVAL START 08/03/97
DURATION OF MONITOR 1 INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION BEP1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 00:09:06.04 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 4
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
---------------------------------------------------------------------------------------------------
RMF PRODUCT 60 52 1
TRACE CONTROL 112 4 1
TRACE DATA 116 48 1
VARIABLE TRACE DATA 164 8 46
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 1 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP3.1.3
TOD MONITOR 1 INTERVAL START 23:54:04 DATE MONITOR 1 INTERVAL START 08/03/97
DURATION OF MONITOR 1 INTERVAL 15:01.102 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 2,706
PR/SM - PARTITION NUMBER 1 SAMPLING CYCLE LENGTH 0.333
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 434: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/434.jpg)
DYRMF76 COPY Function
1–426 SMF/RMF Reporting Guide
DYRMF76 Long Formatted Report (Page 1 of 2)
08/10/97 16.11.49 RECORD 76 RMF TRACE ACTIVITY LONG FORM PAGE 1
HEADER SECTION
**************
SYSTEM ID FROM INSTALLATION IPO1 SUBSYSTEM ID (RMF) RMF
TOD RECORD WRITTEN 14:30:00.07 DATE RECORD WRITTEN 08/04/97
NUMBER OF TRIPLETS IN THIS RECORD 4
NAME OF SECTION OFFSET OF SECTION LENGTH OF SECTION NUMBER OF SECTIONS
--------------------------------------------------------------------------------------------------
RMF PRODUCT 60 52 1
TRACE CONTROL 112 4 1
TRACE DATA 116 48 1
VARIABLE TRACE DATA 164 10 15
RMF PRODUCT SECTION
*******************
RMF VERSION 4 RELEASE 2 MODIFICATION LEVEL 2 OPERATING SYSTEM RELEASE NUMBER AND LEVEL SP4.2.2
TOD MONITOR 1 INTERVAL START 14:15:00 DATE MONITOR 1 INTERVAL START 08/04/97
DURATION OF MONITOR 1 INTERVAL 14:59.994 PRODUCT NAME RMF
RECORD MAINTENANCE INDICATION 0 NUMBER OF SAMPLES 900
PR/SM - PARTITION NUMBER 0 SAMPLING CYCLE LENGTH 1.000
RMF I/O MEASUREMENT LEVEL 3090 PROCESSOR
![Page 435: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/435.jpg)
DYRMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–427
DYRMF76 Long Formatted Report (Page 2 of 2)
08/10/97 16.11.49 RECORD 76 RMF TRACE ACTIVITY LONG FORM PAGE 2
TRACE CONTROL SECTION
*********************
NUMBER OF SET ENTRIES THAT FOLLOW 15
TRACE DATA SECTION
*********************
FIELD NAME MCVSTCRI
TRACE OPTIONS
MINIMUM VALUE IS IN SMF REC.
MAXIMUM VALUE IS IN SMF REC.
VALUES TO FIND AVERAGE ARE IN SMF REC.
LPB TRACE (REQUESTED / REQUESTED ENDED) NO INFORMATION LENGTH OF A SET 10
LENGTH OF FIELD SAMPLED 2 STANDARD SAMPLES PER SET USED 60
SAMPLES PER SET FOR LAST SET IN INTRVAL 0 END VALUE OF CONTENTS OF FIELD 0
MIN. VALUE OF CONTENTS OF FIELD 203 MAX. VALUE OF CONTENTS OF FIELD 254
ACCUMULATED VALUE TO FIND AVERAGE (HEX) 0000000379ED
VARIABLE TRACE DATA SECTION
******************************
FOR VARIABLE FORMAT SETS OF LENGTH 2
COL 1 COL 2 COL 3 COL 4 COL 5
LINE DATA: 1 203 0 0 15,074 254
LINE DATA: 2 254 0 0 15,240 254
LINE DATA: 3 254 0 0 15,240 254
LINE DATA: 4 254 0 0 15,240 254
LINE DATA: 5 254 0 0 15,240 254
LINE DATA: 6 254 0 0 15,240 254
LINE DATA: 7 254 0 0 15,240 254
LINE DATA: 8 254 0 0 15,240 254
LINE DATA: 9 254 0 0 15,240 254
LINE DATA: 10 254 0 0 15,240 254
LINE DATA: 11 254 0 0 15,240 254
LINE DATA: 12 254 0 0 15,240 254
LINE DATA: 13 203 0 0 15,179 254
LINE DATA: 14 203 0 0 14,739 254
LINE DATA: 15 203 0 0 15,189 254
![Page 436: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/436.jpg)
DYRMF76 COPY Function
1–428 SMF/RMF Reporting Guide
DYRMF76 Record Definition COPYLIB(SMF76REC)
SMF76HDR 1 CH ;
REDEFINE AT SMF76HDR
SMF76FLG 1 1 BI ;HEADER FLAG BYTE
*SMF76RRF EQU X'80' NEW SMF RECORD FORMAT IF=1
*SMF76SUT EQU X'40' SUBTYPE UTILIZED IF ON
*SMF76VXA EQU X'04' MVS/XA VERSION IF ON
*SMF76OS EQU X'02' OPERATING SYSTEM IS OS/VS2
*SMF76BFY EQU X'01' PR/SM MACHINE
SMF76RTY 1 2 BI ;RECORD TYPE
SMF76TME 4 3 BI ;TOD RECORD WRITTEN
SMF76DTE 4 7 PD ;DATE RECORD WRITTEN
SMF76SID 4 11 CH ;SYSTEM ID FROM INSTALLATION
SMF76SSI 4 15 CH ;SUBSYSTEM ID (RMF)
SMF76STY 2 19 BI ;SUBTYPE
SMF76TRN 2 21 BI ;NUMBER OF TRIPLETS IN THIS RECORD
FILLER 2 23 BI ;RESERVED
SMF76PRS 4 25 BI ;OFFSET TO RMF PRODUCT SECTION
SMF76PRL 2 29 BI ;LENGTH OF RMF PRODUCT SECTION
SMF76PRN 2 31 BI ;NUMBER OF RMF PRODUCT SECTIONS
SMF76TCS 4 33 BI ;OFFSET TO TRACE CONTROL SECTION
SMF76TCL 2 37 BI ;LENGTH OF TRACE CONTROL SECTION
SMF76TCN 2 39 BI ;NUMBER OF TRACE CONTROL SECTIONS
SMF76TDS 4 41 BI ;OFFSET TO TRACE DATA ENTRY SECTION
SMF76TDL 2 45 BI ;LENGTH OF TRACE DATA ENTRY SECTION
SMF76TDN 2 47 BI ;NUMBER OF TRACE DATA ENTRY SECTIONS
SMF76VFS 4 49 BI ;OFFSET TO VARIABLE FORMAT SET
SMF76VFL 2 53 BI ;LENGTH OF VARIABLE FORMAT SET
SMF76VFN 2 55 BI ;NUMBER OF VARIABLE FORMAT SET
*WORKAREA
SMF76PRO 1 1 CH ;
REDEFINE AT SMF76PRO
SMF76MFV 2 1 CH ;RMF VERSION NUMBER, WITH INTRODUCTION OF
* THE MVS SOFTWARE LEVEL THE FORMAT CHANGES
* TO PACKED 'VRLF'
* ... V = VERSION NUMBER
* ... R = RELEASE NUMBER
* ... L = MODIFICATION LEVEL
SMF76PRD 8 3 CH ;PRODUCT NAME
SMF76IST 4 11 PD ;TOD MONITOR 1 INTERVAL START: 0HHMMSSF
SMF76DAT 4 15 PD ;DATE MONITOR 1 INTERVAL START: 00YYDDDF
SMF76INT 4 19 PD ;DURATION OF MONITOR 1 INTERVAL: MMSSTTTF
*
SMF76MFL 2 23 BI ;RECORD MAINTENANCE INDICATION.
* THIS FIELD HAS A DIFFERENT MEANING FOR...
* ...DIFFERENT SMF RECORD TYPES
*
SMF76SAM 4 25 BI ;NUMBER OF SAMPLES
![Page 437: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/437.jpg)
DYRMF76 COPY Function
Chapter 1: SMF and RMF COPY Functions 1–429
SMF76RV2 2 29 BI ;RESV
SMF76FLA 2 31 BI ;FLAGS
*SMF76CNV EQU X'80' DATA CONVERT.FROM VER.2
*SMF76ISS EQU X'40' INVALID SAMPLES TO BE SKIPPED
SMF76RLS 4 33 CH ;OS/VS2 RELEASE NUMBER IN EBCDIC
SMF76CYC 4 37 PD ;CYCLE IN PACKED DECIMAL 000TTTTF
SMF76MVS 8 41 CH ;MVS SOFTWARE LEVEL (ACRONYM, VERSION,
* RELEASE, MODIFICATION LEVEL)
SMF76IML 1 49 BI ;RMF I/O MEASUREMENT LEVEL
* X'01' ... 308X PROCESSOR SERIES
* X'02' ... 4381 PROCESSOR SERIES
* X'03' ... 3090 PROCESSOR SERIES
SMF76PRF 1 50 BI ; PROCESSOR FLAGS
*SMF76QES EQU X'80' EQUIPPED WITH EXTENDED STORAGE
SMF76PTN 1 51 BI ;PR/SM — PARTITION NUMBER
SMF76SRL 1 52 BI ;RESERVED
*WORKAREA
SMF76A 1 1 CH ;
REDEFINE AT SMF76A
SMF76NUM 2 1 BI ;NUMBER OF SET ENTRIES THAT FOLLOW
* THE TOTAL VALUES
SMF76RV4 2 3 CH ;RESERVED
* TRACE DATA ENTRY
*WORKAREA
SMF76B 1 1 CH ;
REDEFINE AT SMF76B
SMF76NAM 8 1 CH ;FIELD NAME
SMF76OPT 1 9 BI ;FLAGS(OPTIONS SPECIFIED ON TRACE INPUT
* IN RMF PARMLIB MEMBER FOR THE FIELD
* NAME
* BIT MEANING WHEN SET
*SMF76MNB EQU X'80' 0 MINIMUM REQUESTED
*SMF76MXB EQU X'40' 1 MAXIMUM REQUESTED
*SMF76AVB EQU X'20' 2 AVERAGE REQUESTED
*SMF76STB EQU X'10' 3 STANDARD DEVIATION REQUESTED
*SMF76ENB EQU X'08' 4 END VALUE REQUESTED
*SMF76ALB EQU X'04' 5 ALL OPTIONS REQUESTED
*SMF76IPS EQU X'02' 6 IPS CHANGE OCCURRED (AFTER
* INITIALIZATION)
*SMF76DMB EQU X'01' 7 NAME IS A DOMAIN TABLE FIELD
SMF76OP1 1 10 BI ;FLAGS
* BIT MEANING WHEN SET
*SMF76LPB EQU X'80' 0 LPB — ID TRACE REQUESTED
*SMF76LPF EQU X'40' 1 LPB — ID TRACE REQUEST ENDED
*
SMF76SLN 1 11 BI ;LENGTH OF A SET
SMF76DLN 1 12 BI ;LENGTH OF FIELD SAMPLED
SMF76SSS 2 13 BI ;STANDARD SAMPLES PER SET USED
SMF76SSL 2 15 BI ;SAMPLES PER SET FOR LAST SET IN INTRVAL
![Page 438: Advantage VISION: Excel for z/OS - CA Support Online - … 1: SMF and RMF COPY Functions 1–1 Chapter 1: SMF and RMF COPY Functions Advantage VISION:Excel is capable of extensive](https://reader034.vdocuments.us/reader034/viewer/2022042605/5aa9dc5b7f8b9a9a188d7af5/html5/thumbnails/438.jpg)
1–430 SMF/RMF Reporting Guide
SMF76MIN 4 17 BI ;MIN. VALUE OF CONTENTS OF FIELD DURING
* INTERVAL(SMF26NAM HAS FIELD NAME)
SMF76MAX 4 21 BI ;MAX. VALUE OF CONTENTS OF FIELD DURING
* INTERVAL
SMF76AVG 8 25 CH ;ACCUMULATED VALUE USED TO COMPUTE THE
* AVERAGE AND STANDARD DEVIATION
SMF76STD 12 33 CH ;SUM OF SQUARES USED TO COMPUTE
* STANDARD DEVIATION
SMF76ENV 4 45 BI ;END VALUE OF CONTENTS OF FIELD
*WORKAREA
SMF76C 1 1 CH ;
REDEFINE AT SMF76C
FILLER 4 1 CH ;FOR VARIABLE FORMAT SETS OF LENGTH 4
REDEFINE AT SMF76C
SMF76D 2 1 CH ;FOR VARIABLE FORMAT SETS OF LENGTH 2