AS400 Server Performance Tools
AS400 Server Performance Tools
SC41-5340-00
AS/400e series IBM
Performance Tools for AS/400
Version 4
SC41-5340-00
Note
Before using this information and the product it supports, be sure to read the general information under “Notices” on page xiii.
| This edition applies to the licensed programs IBM Performance Tools for AS/400 (Program 5769-PT1), Version 4 Release 2 Modifica-
| tion 0; IBM Operating System/400 (Program 5769-SS1), Version 4 Release 2 Modification 0, and to all subsequent releases and
| modifications until otherwise indicated in new editions. This edition applies only to reduced instruction set computer (RISC) systems.
Contents v
Transaction Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-36
Printing the Transaction Report . . . . . . . . . . . . . . . . . . . . . . . . . 7-36
What Is the Transaction Report? . . . . . . . . . . . . . . . . . . . . . . . . 7-37
Job Summary Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-38
Interactive Throughput Section . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40
Interactive CPU Utilization Section . . . . . . . . . . . . . . . . . . . . . . . . . 7-40
Interactive Response Time Section . . . . . . . . . . . . . . . . . . . . . . . . 7-40
Scatter Diagram Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41
Interactive Program Transaction Statistics Section . . . . . . . . . . . . . . . 7-41
Seize/Lock Conflicts by Object Section . . . . . . . . . . . . . . . . . . . . . . 7-41
Special System Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41
To Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41
Priority-Jobtype-Pool Statistics Section . . . . . . . . . . . . . . . . . . . . . 7-42
Job Statistics Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-42
Interactive Program Statistics Section . . . . . . . . . . . . . . . . . . . . . 7-42
Individual Transaction Statistics Section . . . . . . . . . . . . . . . . . . . . 7-43
Longest Seize/Lock Conflicts Section . . . . . . . . . . . . . . . . . . . . . 7-43
Longest Holders of Seize/Lock Conflicts Section . . . . . . . . . . . . . . . 7-44
Batch Job Analysis Section . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-44
Concurrent Batch Job Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 7-44
Report Selection Criteria Section . . . . . . . . . . . . . . . . . . . . . . . . 7-45
Transaction Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-45
To Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-45
Job Summary Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-46
Transition Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-46
To Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-46
Transition Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-46
Sample Transaction Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-49
Job Summary–Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-49
System Summary Data (First Part)–Sample . . . . . . . . . . . . . . . . . . 7-50
System Summary Data (Second Part)–Sample . . . . . . . . . . . . . . . . 7-51
System Summary Data (Third Part)–Sample . . . . . . . . . . . . . . . . . 7-52
Distribution of Simple, Medium, and Complex Processing Unit
Transactions–Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-52
Transaction Significance–Sample . . . . . . . . . . . . . . . . . . . . . . . . 7-53
Interactive Transactions by 5-Minute Intervals–Sample . . . . . . . . . . . 7-54
Interactive Throughput by 5-Minute Intervals–Sample . . . . . . . . . . . . 7-54
Interactive CPU Utilization by 5-Minute Intervals–Sample . . . . . . . . . . 7-55
Interactive Response Time by 5-Minute Intervals–Sample . . . . . . . . . 7-55
Scatter Diagram of Interactive Transactions by 5-Minute Intervals–Sample 7-55
Interactive Program Statistics–Sample . . . . . . . . . . . . . . . . . . . . . 7-56
Summary of Seize/Lock Conflicts by Object–Sample . . . . . . . . . . . . . 7-57
Priority-Jobtype-Pool Statistics–Sample . . . . . . . . . . . . . . . . . . . . 7-58
Job Statistics–Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-58
Interactive Program Statistics–Sample . . . . . . . . . . . . . . . . . . . . . 7-59
Individual Transaction Statistics–Sample . . . . . . . . . . . . . . . . . . . . 7-59
Longest Seize/Lock Conflicts–Sample . . . . . . . . . . . . . . . . . . . . . 7-59
Longest Holders of Seize/Lock Conflicts–Sample . . . . . . . . . . . . . . . 7-60
Batch Job Analysis–Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-60
| Concurrent Batch Job Statistics–Sample . . . . . . . . . . . . . . . . . . . . 7-61
Report Selection Criteria-Sample . . . . . . . . . . . . . . . . . . . . . . . . 7-61
Transaction Report Option–Sample . . . . . . . . . . . . . . . . . . . . . . . 7-62
Transition Report Option–Sample . . . . . . . . . . . . . . . . . . . . . . . . 7-62
Lock Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-63
Contents vii
Communications Line Detail–IDLC Samples . . . . . . . . . . . . . . . . . . 7-87
IOP Utilizations–Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-87
Local Work Station Response Times–Sample . . . . . . . . . . . . . . . . . 7-88
Remote Work Station Response Times–Sample . . . . . . . . . . . . . . . 7-89
Batch Job Trace Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-89
Printing the Batch Job Trace Report . . . . . . . . . . . . . . . . . . . . . . 7-90
What Is the Batch Job Trace Report? . . . . . . . . . . . . . . . . . . . . . 7-90
Job Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-90
Job Summary Report–Sample . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-90
Performance Trace Database Files . . . . . . . . . . . . . . . . . . . . . . . . 7-90
QTRTSUM and QTRJOBT Files . . . . . . . . . . . . . . . . . . . . . . . . 7-91
QTRJSUM File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-94
QTRDMPT File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-96
QAPTLCKD File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-101
Performance Report Columns . . . . . . . . . . . . . . . . . . . . . . . . . . 7-102
Contents ix
Chapter 12. Managing the Performance Tools Configuration . . . . . . . 12-1
Work with Functional Areas—Manager Feature . . . . . . . . . . . . . . . . . 12-2
Creating a Functional Area—Manager Feature . . . . . . . . . . . . . . . . 12-3
Changing a Functional Area—Manager Feature . . . . . . . . . . . . . . . 12-4
Deleting a Functional Area—Manager Feature . . . . . . . . . . . . . . . . 12-5
Copying a Functional Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5
Delete Performance Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5
Copy Performance Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7
Convert Performance Data (CVTPFRDTA) Command . . . . . . . . . . . . . 12-8
Contents xi
General Tuning Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F-4
General Performance Facts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F-4
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-3
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you any
license to these patents. You can send license inquiries, in writing, to:
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNA-
TIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION
“AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. Some states do not allow disclaimer of express or implied warranties in
certain transactions, therefore, this statement may not apply to you.
Licensees of this program who wish to have information about it for the purpose of
enabling: (i) the exchange of information between independently created programs
and other programs (including this one) and (ii) the mutual use of the information
which has been exchanged, should contact:
The licensed program described in this information and all licensed material avail-
able for it are provided by IBM under terms of the IBM Customer Agreement or any
equivalent agreement between us.
This information contains examples of data and reports used in daily business oper-
ations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
If you are viewing this information softcopy, the photographs and color illustrations
may not appear.
Trademarks
The following terms are trademarks of the IBM Corporation in the United States or
other countries or both:
Microsoft, Windows, Windows NT, and the Windows 95 logo are registered trade-
marks of Microsoft Corporation.
UNIX is a registered trademark in the United States and other countries licensed
exclusively through X/Open Company Limited
Other company, product, and service names may be trademarks or service marks
of others.
Notices xv
xvi Performance Tools V4R2
About Performance Tools (SC41-5340)
This book explains how to use performance tools to collect data about the perform-
ance of a system, job, or program. It also explains how to analyze and print the
data to help identify and correct any problems.
The book addresses both the Manager feature and the Agent feature. Most
sections are marked to indicate the feature to which the information applies. If a
section is not marked as Manager feature or Agent feature, the section applies to
both.
In this book, personal computer means an IBM Personal Computer such as a 5170
Personal Computer AT or an 8560 Personal System/2.
IBM recommends that you use this new interface. It is simple to use and has great
online information to guide you.
You can access the AS/400 Operations Navigator from the Client Access folder by
double-clicking the AS/400 Operations Navigator icon. You can also drag this icon
to your desktop for even quicker access.
While we develop this interface, you will still need to use the familiar AS/400 “green
screens” to do some of your tasks. You can find information to help you in this
book and online.
The menus and displays shown in this book are used by the Manager feature.
Displayes used by the Agent feature may contain fewer options than those shown
for the Manager feature.
| For information about other AS/400 publications (except Advanced 36), see either
| of the following:
| The Publications Reference, SC41-5003, in the AS/400 Softcopy Library.
| The AS/400 online library is available on the World Wide Web at the following
| uniform resource locator (URL) address:
| http://as4ððbks.rochester.ibm.com/
| Using Performance Tools helps you gain insight into the many built-in performance
| management features already working for you in OS/400. These features include
| dynamic tuning, expert cache, job priorities, activity levels, and pool sizes. You can
| also identify ways to use these services better. You might find specific actions for
| your system that the “built-in” OS/400 features do not address.
| Sometimes good performance just happens. In those cases, the system has plenty
| of resources to get the job done. But there will be times when those resources are
| not in the right place. Maybe you have added systems and clients to the network,
| or the production has increased and the workload is significantly changed. Or, more
| often, workload changes in small, nearly invisible increments and one day perform-
| ance just is not as good anymore. That is why you have to plan ahead for your
| system to be at peak performance, especially in a quick-paced business.
| As a result, it is important to manage performance effectively for both the long term
| and the short term. In the short term, understanding the performance components
| of your system helps you react quickly when a performance problem occurs at a
| crucial time. It may also allow you to defer upgrading for a few months. In the long
| term, if you plan for a more efficient system, you prevent potential performance
| problems from developing. You also ensure that you have enough capacity on the
| system to handle your workloads. In addition, your users get the service they
| expect. Maintaining good performance requires that you understand, plan, and
| manage performance.
| Effectively managing performance really comes in the form of your own perform-
| ance plan. Performance management is necessary to optimize the use of a system
| and its associated services, such as the efficiency of communications lines. Per-
| formance management is a strategy for planning, implementing, controlling, and
| measuring computer-based tasks to achieve performance that is acceptable. But
| the concept of acceptable performance is relative to where your business started
| and where it is going, as well as the users and their needs.
| For Collecting
| The OS/400 performance monitor collects the data as a batch job that is run by the
| operating system.
| For Monitoring
| OS/400 provides three commands that display or print performance-related
| information:
| Work with Active Jobs (WRKACTJOB)
| Work with Disk Status (WRKDSKSTS)
| Work with System Status (WRKSYSSTS)
| For Tuning
| Did you know that the system can tune itself dynamically? A system value, perform-
| ance adjust (QPFRADJ), allows you to have the system tuned dynamically. Per-
| formance tuning is the ability to adjust some components on the system to better
| manage your workloads, manually or automatically.
| The expert cache function of OS/400 is the method of tuning to automatically adjust
| the storage pool paging. Also, the QDYNPTYSCD (dynamic priority scheduling)
| system value allows you to turn on and off the dynamic priority scheduler.
| Also, although the OS/400 commands display data on a real-time basis, they are
| tedious. They require repetitive use for an operator who also needs to determine
| Finally, the tuning function you have through OS/400 is minimal in detail when com-
| pared to Performance Tools. Often small adjustments can be made. However, if
| you have a complex system network, the problems with performance are often not
| isolated enough to solve through adjusting storage pools and activity levels. You
| need a more thorough analysis of performance data to find the cause of the prob-
| lems and optimize performance.
| The Performance Tools Agent feature, with a subset of the Manager function, is a
| lower-priced package with the more basic functions. In a distributed environment,
| the Agent feature works well for managed systems in the network because the data
| can be sent to the Manager if detailed analysis is required. It is also an effective
| tool for sites that need a reasonable level of self-sufficiency but have no expert
| skills available.
| Performance Objectives
| Before you use Performance Tools, however, you must establish performance
| objectives for:
| Throughput and response time for interactive jobs
| Throughput for batch jobs
| Resource utilizations for the system
| You should realize that by concentrating on one objective, you could adversely
| affect another. For example, if your users want fast response time, you need to
| design and operate your system so that your users receive stable response time
| over a range of system loads. This choice, however, could cause batch jobs to run
| slower.
| Note: Two types of response time are discussed in this guide. Internal response
| time is the AS/400 system host response time. External response time is
| the end-user response time and includes communications time for both
| locally and remotely attached display stations.
| Performance Measurement
| When you first start to use Performance Tools, use the Start Performance Tools
| (STRPFRT) command to show the IBM Performance Tools menu. You should
| collect performance data (by using the Start Performance Monitor (STRPFRMON)
| command). When you use the Manager feature, you can produce a system report
| so you have a measure of how your system currently operates. Use the Print
| System Report (PRTSYSRPT) command. “Using Defaults to Print Performance
| Reports” on page 7-11 describes this process. When you use the Manager feature,
| you can collect performance data automatically by using either the Work with Per-
| formance Collection (WRKPFRCOL) command or the job scheduling functions.
| Collecting and analyzing performance data regularly determines if you meet your
| performance objectives. In this way, you accumulate a history of system perform-
| ance. This history is important in managing system performance, especially if your
| environment is one of growth and change. By monitoring system performance, you
| may avoid excessive use of your system’s resources.
| Do capacity planning before you make changes, such as adding new applications
| or altering the system configuration. See the BEST/1 Capacity Planning Tool book
| for more information.
| See the BEST/1 Capacity Planning Tool book for more information.
| To provide more detail, you can also produce reports that use trace data (specify
| TRACE(*ALL) on the STRPFRMON command). Use the Print Transaction Report
| (PRTTNSRPT) command to help you do further analysis of performance problems
| you may be experiencing.
| The performance explorer is a tool that finds the causes of performance problems
| that cannot be identified by using tools that do general performance monitoring.
| Chapter 11, Performance Explorer describes the performance explorer.
| The performance explorer is a tool that finds the causes of performance problems
| that cannot be identified by using tools that do general performance monitoring.
| Chapter 11, Performance Explorer describes the performance explorer.
| See Chapter 14, Working with Historical Data—Agent Feature, for an explanation
| on how to use the option to create historical data from performance data. The his-
| torical data will help show the trends in your system performance.
| Initially, the analyst knows that the user is not satisfied with the way the system is
| working. It is running “too slow,” “too noisy,” or “too hot,” and so on. The analyst,
| mechanic, or repair person must first understand what the problem really is. The
| best way to find out is to observe the problem condition firsthand. Can you confirm
| the user’s complaint? If you cannot, get as much information as possible from users
| who have experienced the problem. Look and listen for the problem descriptions
| most in common among the users.
| The key to success with any performance issue is to have a clear definition of the
| users’ performance criteria. In other words, given the application mix, what do users
| want from the system in terms of interactive response time, batch throughput, and
| processing requirements? For example, a system that supports an interactive order
| entry application may have a response time criterion to ensure that customers do
| not perceive abnormal delays. Another criterion may require that end-of-day proc-
| essing be completed by a specific time. With these requirements, you can establish
| performance objectives around system resource utilization guidelines. With a clear
| statement of goals and objectives, performance analysis can proceed on a firm
| basis.
| Once you understood the objectives, it is important to assess whether the hardware
| configuration is adequate to support the workload. Is there enough CPU capacity?
| Is the main storage sufficient for the application mix? Answering these questions
| first, perhaps through capacity modeling techniques, prevents needless effort later.
| Reviewing the measured data helps to further define the problem and helps to vali-
| date or reject the hypothesis. Once the apparent cause or causes have been iso-
| lated, a solution can be proposed. When you handle one solution at a time, you
| can re-design and test programs. Again, the analyst’s tools can, in many cases,
| measure the effectiveness of the solution and look for possible side-effects.
| Ultimately, however, any improvement can come only through analysis of the crit-
| ical resources (CPU, main storage, disk, and remote lines) and contention for
| system and application objects.
Performance Tools must run in a library named QPFR. If a library by this name is
on your system, rename it before you install Performance Tools, using the Rename
Object (RNMOBJ) command. This step will ensure the proper operation of the Per-
formance Tools.
Use the following command to place the Performance Tools in library QPFR:
RSTLICPGM LICPGM(5769PT1) DEV(NAME) OPTION(\BASE)
If you have several tapes to install, the following situation may occur. After
installing the first tape, you may receive a message saying that the licensed
product is restored but no language objects were restored. If this occurs, load the
next tape and enter the following:
RSTLICPGM LICPGM(5769PT1) DEV(NAME) RSTOBJ(\LNG) OPTION(\BASE)
Another method for installing the Performance Tools product is to type GO LICPGM
and use the menu options.
à ð
PERFORM IBM Performance Tools for AS/4ðð
System: ABSYSTEM
Select one of the following:
Selection or command
===>
To review any messages that are returned to you on the message line, position the
cursor on the message line and press the Help key for additional detail. Pressing
F10 (Display messages in job log) from this detail display allows you to view all of
the messages currently in the job log.
When you finish using Performance Tools, press F3 (Exit). When you do so, the
library QPFR is removed from the job’s library list.
à ð
Select Type of Status to Display
On the Select Type of Status display, you can use a set of OS/400 commands to
provide you with information about the performance of the system or a particular
job.
Each option on the Select Type of Status display has a corresponding command
associated with it, as shown in the following list. To use a function, such as working
with the system status, either enter option 1 on the command line of the Select
Type of Status display or enter WRKSYSSTS on any command line.
This chapter describes how to collect data using the Start Performance Monitor
(STRPFRMON) command. For the Manager feature, other ways of collecting data
using Performance Tools are described in Chapter 10, Performance
Utilities—Manager Feature, and Chapter 6, System Activity. The figures shown in
the sections following “Summary of Data Collection and Report
Commands—Manager Feature” on page 3-13 show the Performance Tools data
collection commands, and describe when you use each in analyzing the perform-
ance of your system.
The STRPFRMON command is used by both the Agent feature and the Manager
feature. The STRPFRMON command is important in the overall analysis of your
system. Use it to collect data about resources that influence the performance of
your system (processing unit, main storage, auxiliary storage, and communi-
cations).
The STRPFRMON command is provided with the OS/400 program. The Work Man-
agement book contains additional information on collecting performance data and
the database files that result and database file descriptions.
Use the STRPFRMON command to collect sample data to establish this perform-
ance history. With the Manager feature, use the PRTSYSRPT command to produce
a report from this data. The report provides an overview of the performance vari-
With the Agent feature, use the Advisor and Work with Historical Data options to
analyze and summarize the performance data collected. See Appendix E, Man-
aging AS/400 System Performance in a Network, for an example.
Collect sample data regularly, so you can make valid comparisons of information.
Collect the data during similar system workloads.
| Note: The performance reports have no exact restrictions on the amount of per-
| formance data that they can process. However, it is recommended that a
| collection be no longer than one week in length. In fact, the optimal col-
| lection strategy is to run a new collection every day.
Also collect sample data before and after major changes, such as installing a new
application. This data provides valuable information on changes to system resource
utilizations as a result of the workload changes. When you review this data, limit
your observations to the differences in the active workloads on the system. Look at
the utilizations for the processing unit, disk, main storage, and communications. If
any of these resources is consistently overcommitted, you should determine the
reason.
With the Manager feature you can use the PRTTNSRPT command, as described in
“Transaction Report” on page 7-36, to specify the trace data you want to see. You
can determine the elements of transaction response time from these reports. In
addition, you can identify the level of resource use for the measured transactions.
For both the Manager feature and the Agent feature, the length of time you collect
data depends on whether you collect only sample data, or a combination of sample
and trace data. The length of time you collect data can generally be longer when
you collect only sample data. When you collect sample data, you want it to reflect
the changes that occur when the various interactive and batch workloads go from
light to moderate to heavy activity, and back to light activity again.
When you collect trace data, you may want to reduce the length of time for the
measurement, because the area where the trace data is stored is limited in size,
and can contain between 40 000 and 60 000 transactions. The trace collection
ends automatically when this area is filled. Thus, the length of time you collect data
depends on the activity on your system and the volume of trace records that result.
However, because you collect trace data to observe the high utilization of a given
resource, you should try to collect data for workload periods that correspond to
those in which you have seen excessive utilization occur. If you trace data for a
longer period of time, increase the size of the component trace table.
You control the time between samples by using the interval parameter on the
STRPFRMON command. Sample data is collected and stored in the following data-
base files:
Whenever you use the STRPFRMON command, you collect sample data, but you
can also collect trace data. You generally choose to collect trace data to gain addi-
tional detailed information about specific jobs and transactions. By collecting trace
data, you can often gain insight into other problems involving job contention,
program resource use, transaction delays, and so on.
The Manager feature allows you to use the Print System Report (PRTSYSRPT)
and Print Component Report (PRTCPTRPT) commands to print the sample data
you collect. To review examples of these reports, see “System Report” on
page 7-17 and “Component Report” on page 7-25.
With the Manager feature, you can use the Print Transaction Report
(PRTTNSRPT), the Print Lock Report (PRTLCKRPT), and the Print Trace Report
(PRTTRCRPT) commands to see the data collected through trace. Refer to “Trans-
action Report” on page 7-36 and to “Lock Report” on page 7-63 to review the infor-
mation provided from trace data collection.
For the Manager feature, some of the commands described in Chapter 10, Per-
formance Utilities—Manager Feature , make use of trace data collected using the
STRPFRMON command. See “Summary of Data Collection and Report
Commands—Manager Feature” on page 3-13 for more information on the com-
mands that use the trace data.
For the Agent feature, you will need to use the Performance Tools Manager feature
to analyze trace data. See Appendix D, Comparison of Performance Tools , for
more information.
For the Manager feature, the Performance Tools program has additional functions
to analyze performance data, including printing of performance reports and perform-
ance utilities. See Appendix D, Comparison of Performance Tools, for more infor-
mation.
Note: You may receive unpredictable results using Performance Tools if the per-
formance monitor is running and a Performance Tools CL command is
using the same member that is collected at that time.
To free up disk space used to save performance data you no longer need, you can
use the Delete Performance Data (DLTPFRDTA) command.
The remaining sections in this chapter describe when and how you collect data
using the STRPFRMON command.
à ð
PERFORM IBM Performance Tools for AS/4ðð
System: ABSYSTEM
Select one of the following:
Selection or command
===>
2. Choose the Collect performance data option on the IBM Performance Tools
menu, and press the Enter key. The Collect Performance Data display appears.
à ð
Collect Performance Data RCHASRðD
ð5/26/95ð7:ð7:27
Note: Only one performance monitor function can be active in the system. The
current status of the performance monitor is shown.
3. Choose the Start collecting data option, and press the Enter key. The Start
Collecting Data display appears.
On this display, there are three ways to start the performance monitor to collect
data. Any option you choose results in the collection of performance data using
STRPFRMON. Options 1 and 2 are designed for a new user of Performance
Tools (they provide more guidance in starting the performance monitor). These
options are discussed in the following sections. If you choose option 3 (Collect
data with command), a prompt for the STRPFRMON command appears as
though you entered the command and pressed F4 (Prompt).
à ð
Collect Data with Defaults
Text . . . . . . . . .
Time duration:
Hours . . . . . . . 2 ð-999
Minutes . . . . . . ð ð-6ð
1. Type the name of the member and library where you want to store the perform-
ance data. *GEN creates a member name based on the date and time. The
default for Library is QPFRDATA.
2. Type a description for the sample data in the Text field.
3. Enter the length of time you want to collect performance data in the Time dura-
tion field.
4. Press the Enter key, and the data collection process begins. The defaults for
the other STRPFRMON command parameters are used.
See the CL Reference for more information about the STRPFRMON command
parameters.
If you choose option 2, the Collect Data with Menus display appears.
à ð
Collect Data with Menus
Text . . . . . . . . .
1. Type the member and library name where you want to store the performance
data. The default for Library is QPFRDATA.
2. Enter a description of the performance data in the Text field, if appropriate.
3. Press the Enter key. The Collect Additional Data display appears.
à ð
Collect Additional Data
4. To indicate that you want to collect trace data, type a 1 in the Option column
next to Trace Data, and press the Enter key.
Notes:
a. When this trace starts, all existing traces stop. Only one trace can be active
in the operating system.
b. The Agent feature does not analyze or report on trace data. To analyze or
report on trace data that is collected by the Agent feature, the data must be
sent to a system that has the Manager feature installed.
5. To indicate that you want to collect performance data for communications lines
and objects, type a 1 in the Option column next to Communications Data, and
press the Enter key.
The Set Data Collection Time display appears.
6. Type how often data should be collected in the Number of minutes between
collections field. Fifteen minutes is usually an adequate sample interval for
problem analysis. This is the sample rate for sample data collection.
7. Type when you want data collection to stop in the End time option field. If you
choose option 1 (Elapsed time), go to step 9. If you choose option 2 (Time of
day) for this prompt, the Set End Time display appears.
à ð
Set End Time
8. Indicate the number of days you want to collect data in the Number of days
from today field. Also indicate when you want data collection to stop in the
Time of day field.
9. If you choose option 1 (Elapsed time) for the End time option prompt on the
Collect Additional Data display, the Set Length of Time to Collect Data display
appears.
à ð
Set Length of Time to Collect Data
10. Type the length of time you want to collect data in the Length of time to collect
data fields.
After you press the Enter key, the data collection process begins.
For information on how to print various sample and trace data reports using the
Manager feature, refer to Chapter 7, Performance Reports—Manager Feature.
à ð
Start Performance Monitor (STRPFRMON)
Time interval (in minutes) . . . 15 5, 1ð, 15, 2ð, 25, 3ð, 35...
Stops data collection . . . . . \ELAPSED \ELAPSED, \TIME, \NOMAX
Days from current day . . . . . ð ð-9
Hour . . . . . . . . . . . . . . 2 ð-999
Minutes . . . . . . . . . . . . ð ð-99
Data type . . . . . . . . . . . \ALL \ALL, \SYS
Select jobs. . . . . . . . . . . \ALL \ALL, \ACTIVE
Trace type . . . . . . . . . . . \NONE \NONE, \ALL
Dump the trace . . . . . . . . . \YES \YES, \NO
Job trace interval . . . . . . . .5 .5 - 9.9 seconds
Job types . . . . . . . . . . . \DFT \NONE, \DFT, \ASJ, \BCH...
+ for more values
More...
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this disp
F24=More keys
á ñ
Attention
You need to be aware that only one trace can be active in the operating
system. If *ALL is specified on the TRACE parameter while another trace is
running, the other trace is canceled and its data collection is lost.
Based on this example, the trace data in MBR(one) will actually be the same as the
trace data in MBR(two). The trace data for MBR(one) will not correspond with the
sample data from MBR(one). For example, PRTSYSRPT(one) and
PRTTNSRPT(one) will contain conflicting information.
You can choose to have your system automatically collect performance data on a
weekly schedule. Automatic performance collection allows you to select specific
days of the week on which automatic data collection is to occur using the OS/400
performance monitor.
On the IBM Performance Tools menu, choose the Collect performance data
option and press the Enter key. The Collect Performance Data display appears.
Selection or command
===> 3
Choose option 3 (Work with performance collection) and press the Enter key. The
Work with Performance Collection display appears. (You can also use the
WRKPFRCOL command to access the Work with Performance Collection display.)
à ð
Work with Performance Collection
Performance
Opt Collection Status Description
_ __________
_ A RLS
_ Fð9ðð RLS
_ Sð9ðð RLS
Bottom
F3=Exit F5=Refresh F12=Cancel
á ñ
When the job QPFRCOL is started and there are no performance collections
defined that are in a released status, the job ends. Therefore, anytime you add a
collection and there are no existing performance collections in a released status,
start the performance collection as follows:
STRPFRCOL JOBQ(QSYS/QCTL)
You can type this command on any command line. Performance data is collected
until all the performance collections are removed or held, or until you enter
ENDPFRCOL. You need to start performance collection again if you add performance
collections later.
Refer to the figures indicated for information on the following data collection levels:
System ( Table 3-2)
Job ( Table 3-3 on page 3-16)
File use and structure ( Table 3-4 on page 3-16)
Application ( Table 3-5 on page 3-17)
If you use the Performance Tools menus and displays to collect data and produce
reports, these figures may help you understand, at a glance, the capabilities of Per-
formance Tools. If you bypass the menus and displays by entering commands on
the available command entry lines, these figures may serve as a reference for the
available commands.
Use system-level data to identify what additional collection and analysis should be
done.
Table 3-2 (Page 1 of 2). System Data Collection (STRPFRMON Command) and Report Commands
Type of Report Information Shown on When to Use the
Level of Data Data Command the Reports Command
Job Disk Sample data ANZPFRDTA Contention analysis and Processing trends
System recommendations System model
Workload
projection
Hardware growth
Processing unit
Main storage
Disk
Job Disk Sample data PRTSYSRPT Workload Utili- Processing trends
System PRTCPTRPT zation System model
Processing unit Workload
Disk projection
Main storage Hardware growth
Communications Processing unit
Model parameters Main storage
External response Disk
times
System Job Trace data PRTTNSRPT Workload Utili- Workload
Program zation projection
Processing unit Hardware growth
Exceptional waits Pool configuration
Transaction detail Overcommitment
Top ten reports Application design
Object contention File contention
Concurrent batch Transaction
jobs Significance
System model Classification
parameters Program use
Transaction summary System model
and detail Processing trends
System Job Trace data PRTTRCRPT Resources used Progression of batch jobs
Program Files Exceptions traced through time
Disk State transitions
Job Program Sample data STRBEST System performance Before installing
Files Disk projections When growth
Capacity planning is anticipated,
Configuration either in
planning hardware or
workload
When a new
application is
to be installed
Performance
analysis
For more information on the report commands shown in this figure, see Chapter 7,
Performance Reports—Manager Feature. The Start BEST/1 (STRBEST) command
is described in the BEST/1 Capacity Planning Tool book. The PRTLCKRPT
command is described in “Lock Report” on page 7-63.
For more information about the data collection or report commands, see
Chapter 10, Performance Utilities—Manager Feature.
Table 3-3. Job Trace Data Collection (STRJOBTRC Command) and Report Commands
Information Shown on When to Use the
Level of Data Type of Data Report Command the Reports Command
Job Program Trace data PRTJOBTRC Program name For program devel-
Files ENDJOBTRC Control flow opment
I/O operations To identify jobs or
Full/shared opens programs that
Exceptions perform poorly
Message handling
Disk I/O summary
The following contain information for analyzing file use database structure:
“Analyze Program (ANZPGM) Command” on page 10-9
“Analyze Database File (ANZDBF) Command” on page 10-11
“Analyze Database File Keys (ANZDBFKEY) Command” on page 10-13
Job Analysis
Job analysis provides you with a view of the operational environment for all jobs, or
a group of jobs, in the system at a given time. Use the information from a specific
process analysis to improve the performance of the process. This analysis can help
you improve the program environment to reduce the number of the following:
Open files
File buffer and work space sizes
File open placement in a program
Active programs
A summary of job data collection and report commands is shown in Table 3-5 on
page 3-17.
Table 3-5. Process Data Collection (DSPACCGRP Command) and Report Commands
Information Shown on When to Use the
Level of Data Report Command the Reports Command
Job Program Files DSPACCGRP File use Reduce program size
ANZACCGRP Files used at the Reduce number of
same time open files
Open Data Path Reduce process
Buffer size access group (PAG)
Formats (size I/O
and number) Determine group job
I/O counts candidates
Duplicates
PAG size
Active programs
The advisor fits into the set of Performance Tools between automatic system tuning
and the more specialized tools provided in Performance Tools (such as the Start
Best/1 (STRBEST) command) and the reports (such as a Print System Report).
Appendix D, Comparison of Performance Tools, provides more information about
the functions provided in Performance Tools.
Automatic system tuning is a useful method for maintaining the basic conditions for
good performance. If it is set to work at each IPL, it resets the basic tuning values
to the recommended settings for the system configuration and controlling sub-
system. Dynamic automatic system tuning adjusts only pool sizes and activity levels
of shared pools based on system activity as measured at user-specified intervals.
To adjust the system, the tuner uses a guideline that is calculated based on the
number of jobs.
The advisor can help you to define specific tuning values and other parts of a proc-
essing environment to provide better performance for specific processing conditions
on your system.
The advisor analyzes performance data you collect with the performance monitor
and it can produce recommendations and conclusions to help improve perform-
ance. The advisor might recommend changes to basic system tuning values, and
might list conclusions about conditions that could cause performance problems.
You can choose to have the advisor change system tuning values as it recom-
mends, or you can decide to make only the changes you select. You can use the
advisor’s conclusions to make changes to your system, to guide further perform-
ance data collection, or to help you request performance reports containing more
information and explanations.
The advisor can help you to improve system performance, but it will not identify or
correct all performance problems. The performance information analyzed includes:
Storage pool sizes
Activity levels
Disk and CPU utilization
Communications utilizations and error rates
Input/output processor utilization
Unusual job activities—exceptions or excessive use of system resources
Interactive trace data (when available) (Manager feature)
Notes:
1. The examples in this chapter show how to use the advisor, but they do not
contain specific solutions for any performance problems that might exist on a
particular AS/400 system.
2. Sometimes an analysis of data collected during normal system operation can
help in selecting the advisor recommendations to implement to solve perform-
ance problems occurring at other times.
3. At times the advisor will suggest additional analysis using tools available only in
the Manager feature.
4. When the advisor makes no significant recommendations or conclusions and
the system's performance remains unacceptable, analysis at the application
level is required. In this case, the advisor has ruled out many tuning, communi-
cations, and disk problems.
5. When making recommendations, the advisor takes into consideration some
guidelines and threshold values from the BEST/1 hardware table.
Next, determine when the problem is most likely to occur. Maybe interactive work is
slow first thing in the morning. Perhaps batch processing seems slow late in the
afternoon.
When you can clearly describe the problem and have determined when it seems to
occur, you are ready to collect performance data to be analyzed by the advisor.
The performance monitor is used to collect performance data. It can be run using
the default data collection values. Information about how to use the performance
monitor is in Chapter 3, Collecting System Performance Data.
Requesting an Analysis
After performance data is collected for the time periods near when a problem
seems to occur, you request the advisor to analyze all or part of that data.
To start the advisor, you can select the Advisor option on the IBM Performance
Tools menu, or type the Analyze Performance Data (ANZPFRDTA) command on
any command line.
Note: To analyze performance data from a library other than QPFRDATA when
using the ANZPFRDTA command, type the command and press F4
(Prompt) to change the library name.
à ð
PERFORM IBM Performance Tools for AS/4ðð
System: ABSYSTEM
Select one of the following:
Selection or command
===> 1ð
à ð
Select Member for Analysis
Library . . . . QPFRDATA
BOTTOM
F3=Exit F12=Cancel F15=Sort by name F16=Sort by text
F19=Sort by date/time
(C) COPYRIGHT IBM CORP. 1981, 1998.
á ñ
To request an analysis, select only one member that contains performance data
collected during a time when the problem occurred. When you select a member
and press the Enter key, a Select Time Intervals to Analyze display appears.
Notes:
1. When you return to the Select Member for Analysis display, the 1 typed for the
member remains. This is a reminder that you may want to display this member.
2. When the monitor is running and using one of the members shown in the
Select Member for Analysis display, this member may appear with blank Date
and Time fields until the first interval is collected.
á ñ
The Select Time Intervals to Analyze display lists all the time intervals of perform-
ance data collected in the library member selected on the Select Member for Anal-
ysis display. To analyze a different member, press F12 (Cancel) to return to the
Select Member for Analysis display.
The columns on the Select Time Intervals to Analyze display can help you focus
the analysis on time intervals when the suspected performance problem seems to
have occurred. If there are no obvious reasons to select only some of the displayed
time intervals, you can select them all for analysis by pressing F13 (Select all).
When one or more time intervals are selected for analysis, press the Enter key to
request the analysis by the advisor.
| Note: The Transaction Count field does not include the number of DDM I/Os that
| were generated. Use the Display Performance Data (DSPPFRDTA)
| command to display the value for the logical database I/O for DDM jobs.
Using a Histogram
Sometimes a graph of the data for one of the performance values in the data
makes it easier to select specific time intervals of data for analysis. To define and
display a graph (called a histogram), press F11 (Display histogram) on the Select
Time Intervals to Analyze display. The display then changes to include the Select
Histogram window.
á ñ
The View column lists the performance values that can be selected to define the Y
(vertical) histogram axis. The X (horizontal) histogram axis always shows the time
intervals contained in the member.
As an example, to make it easier to see the time intervals where CPU utilization is
the highest, you could select one of the CPU utilization views. A sample histogram
for Interactive CPU Utilization follows:
à ð
Select Time Intervals from Histogram
á ñ
On this example, it is easy to see and select the time intervals of greatest interac-
tive processing unit use. The number 1 is entered to select each time interval to be
After the Enter key is pressed on the Select Time Intervals to Analyze display or on
the Select Time Intervals from Histogram display, the advisor analyzes the perform-
ance data for the selected time intervals.
Notes:
1. An analysis of large amounts of performance data can take a long time and
could affect system performance for other users.
2. The analysis performed by the advisor includes all of the types of performance
data for the selected time intervals, and is not limited to the type of data
selected to create the histogram.
The command CHGJOBTYP can be run to change the job type of noninteractive
jobs to interactive. After the job types have been changed, the *FILE option of the
Transaction report can be run so that the advisor analyzes the jobs listed as inter-
active.
The default is analyzing trace data when it is available. To avoid analyzing trace
data, use the ANZPFRDTA command, press F4 (Prompt), and press F10 (Addi-
tional parameters) to change the value of the DATATYPE parameter to *SAMPLE.
Note: Caution should be used when analyzing an existing QTRTSUM file. The file
may not include time intervals that match the intervals that were picked for
the advisor to analyze.
QPFRADJ . . . . . . : ð QDYNPTYSCD . . . . . : 1
á ñ
Understanding Recommendations
The Recommendations section of this display deals with conditions that significantly
affect system performance. The recommendations result from comparing the
system values and conditions in the analyzed performance data to the basic
AS/400 performance guidelines.
The recommendations suggest changes to the basic system tuning values that can
improve performance. They also list problems that can be solved by other actions.
In this example, the recommendations about changing pool sizes can be carried out
by changing system tuning values. But, the recommendation about ASP (auxiliary
storage pool) space capacity might require redefining the use of system disk space
or adding to system disk capacity. You might need technical assistance to complete
this type of recommendation. Auxiliary storage pool can be one or more storage
units defined from the disk units or disk unit subsystems that make up auxiliary
storage. ASPs provide a means of isolating certain objects on specific disk units to
prevent the loss of data due to disk media failures on other disk units.
Recommendation:
Detailed recommendation:
PFR2567
Technical description . . . . . . . . : The following table shows the
pool identifier, the current pool size, and the suggested pool size.
1 1ð238 12193
Increasing the pool size will reduce the page fault rate which will
More...
Press Enter to continue.
F3=Exit F12=Cancel
á ñ
In this example only pool 1 should be increased in size. The text beginning at the
bottom of this display and continuing on the following displays discusses the effects
of changing a pool’s size.
à ð
Display Detailed Recommendation
Recommendation:
Detailed recommendation:
improve the response time and throughput of jobs in this pool.
Decreasing the pool size will free storage that may in turn be given to
pools with high fault rates.
Removing a pool will free storage that may in turn be given to pools with
high fault rates.
F3=Exit F12=Cancel
á ñ
Many recommendations include this type of information to help you choose the right
changes to make to your system.
à ð
Select Tuning Recommendations
Bottom
Select one of the following:
F3=Exit F12=Cancel
á ñ
On this Select Tuning Recommendations display you have several choices:
Select menu option 1 (Tune to advisor’s recommendations) to have the advisor
make all the changes shown in the Advisor Recommended Value column.
Usually this is a good choice to make when starting to solve a performance
problem.
Leave the values as they are listed in the Current System Value column.
Select menu option 2 (Restore system to data collection values) to have the
advisor set the values as they were when the analyzed performance data was
collected (shown in the Data Collection Value column).
Write down the tuning values that fit your needs, and use the appropriate
system commands to change the values individually.
Notes:
1. The analysis and recommendations are based on the Data Collection Values.
The Current System Value column is there for your reference and in case you
want to reset your configuration to what it was at the time of data collection. If
the Advisor Recommended Value equals the Data Collection Value, then the
advisor is saying that this is an adequate setting for the workload analyzed. If
the Advisor Recommended Value does not equal the Data Collection Value,
then you will see recommendations and conclusions as to what should be
changed.
2. When the dynamic tuning support is active (the system value is 2 or 3), the
storage pool sizes and activity levels are automatically changed. Because of
this automatic change, the advisor is unable to process the tuning request.
à ð
Display Recommendations
System: ABSYSTEM
Member . . . . . . . : Q98137ð843 Library . . . . . . : QPFRDATA
System . . . . . . . : ABSYSTEM Version/Release . . : 4/ 2.ð
Start date . . . . . : ð5/17/98 Model . . . . . . . : ðð -ð142
Start time . . . . . : ð8:44:ð7 Serial number . . . : 1ð-11AðD
QPFRADJ . . . . . . : ð QDYNPTYSCD . . . . . : 1
á ñ
Some conclusions describe conditions that caused the advisor to make particular
recommendations. Other conclusions not related to recommendations can be used
as guides for collecting more performance data, or for adjusting the system.
To see more details about a conclusion, type 5 in the Option column. The following
example is the display showing details for the conclusion Pool fault rates exceeded
guideline that supports the recommendation to increase the size of pool 1.
Conclusion:
Detailed conclusion:
PFR2513
Technical description . . . . . . . . : The following table shows the
pool identifier, the maximum fault rate over all the intervals, the fault
rate guideline, the number of intervals the guideline was exceeded out of
1 intervals, and the date and time the maximum fault rate occurred. For
pool 2 (\BASE) the guideline is based on the fact that there are no user
jobs running in \BASE.
More...
Press Enter to continue.
F3=Exit F12=Cancel
á ñ
In this example, the guideline of 3 faults was exceeded for pool 1 in three of the
analyzed time intervals. The maximum fault rate was 3.6.
à ð
Display Recommendations
System: ABSYSTEM
Member . . . . . . . : Q98137ð843 Library . . . . . . : QPFRDATA
System . . . . . . . : ABSYSTEM Version/Release . . : 4/ 2.ð
Start date . . . . . : ð5/17/98 Model . . . . . . . : ðð -ð142
Start time . . . . . : ð8:44:ð7 Serial number . . . : 1ð-11AðD
QPFRADJ . . . . . . : ð QDYNPTYSCD . . . . . : 1
Bottom
F3=Exit F6=Print F9=Tune system F12=Cancel F21=Command line
á ñ
To see more details about an interval conclusion, type 5 in the Option column. The
following example is the display showing details for the sample interval conclusion,
à ð
Display Detailed Interval Conclusion
Interval conclusion:
Bottom
Press Enter to continue.
F3=Exit F12=Cancel
á ñ
In this example we see exactly when, and by how much, the fault rate guideline
was exceeded for pool 1 in the analyzed time intervals.
Following is the details display for another type of sample interval conclusion, Total
disk I/O was 225:
à ð
Display Detailed Interval Conclusion
Interval conclusion:
Bottom
Press Enter to continue.
F3=Exit F12=Cancel
á ñ
Next, observe the effects of the changes. Use the performance monitor to collect
more performance data during the next time period when you expect the problem to
occur. Also, observe the system and watch for the usual symptoms of the problem.
Ask users who experienced the problem if they still notice it. Watch for any pos-
sible unwanted side effects from the tuning changes. These can occur if the
changes are not fully compatible with some of your processing requirements, or if
several problems are being worked on.
The first attempt to solve a basic performance problem can be successful. But
sometimes the steps described in this chapter must be repeated until the best pos-
sible performance is achieved for your system and your processing requirements.
The original problem may continue or new problems may occur. The advisor might
have no further recommendations or conclusions that you can use. At this time you
could use other performance reports and commands to work on the problem. These
are described in Work Management.
Sometimes tuning alone will not solve performance problems. To handle the
intended work load, a system might need additional main storage, disk storage, or
processing speed. BEST/1 can be used to determine if system processing capaci-
ties should be increased. For more information about BEST/1 and capacity plan-
ning, see the BEST/1 Capacity Planning Tool book.
à ð
Select Performance Member
Library . . . . QPFRDATA
Bottom
F3=Exit F12=Cancel F15=Sort by name F16=Sort by text
F19=Sort by date/time
(C) COPYRIGHT IBM CORP. 1981, 1998.
á ñ
The member name, a text description, and the date and time you collected each
set of performance data appear on this display. If you cannot find the data you
If you are searching for a member located in a library that is different from the one
currently listed in the Library field at the top of the display, type a new library name
in the field and press the Enter key. A list of the performance members available in
the library you specified appears. You can then select to display one of them.
After you select a performance member to display, the Select Time Intervals to
Display display appears.
à ð
Select Time Intervals to Display
Bottom
F3=Exit F5=Refresh F11=Display histogram F12=Cancel F13=Select all
F14=Deselect all
á ñ
Select the time interval for which you want to display performance data.
The Display Performance Data function then starts to read the performance data-
base files. All the performance information required by this function is processed
now, so there is reasonable response time when moving between displays later.
Note: The initial processing may cause a noticeable delay in presenting the first
display.
After all the data is processed, the main display for the Display Performance Data
function appears.
á ñ
On this display you can change both the Member and Library fields. If you type a
new member name in the Member field and press the Enter key, the data in that
member appears on the display. If you type a new library name in the Library field
and press the Enter key, the program tries to locate the member in the specified
library. If you press F4 (Prompt) after you enter the library name, the Select Per-
formance Member display uses the specified library to present a list of data col-
lections.
The Display Performance Data function helps you analyze the performance data. It
highlights the values on this display that exceed the threshold values.
Therefore, if the interactive CPU utilization or the disk utilization exceeds the
threshold, the field is highlighted on the display.
To access a command line after you start the Display Performance Data function,
press F10 (Command entry). This allows you to work from a command entry
display without exiting the display function. Once you exit the command entry, you
are immediately returned to the Display Performance Data display without having to
experience the initial processing delay.
To better understand system performance, you might want to view the data sorted
by category. The second set of function keys on this display allows you to group
the performance data by subsystem, job type, or interval.
á ñ
The next sections describe the displays that show the performance data separated
into the subsystem, job type, and interval categories.
à ð
Display by Subsystem
Bottom
F3=Exit F6=Display all jobs F12=Cancel F14=Display by job type
F15=Display by interval
á ñ
This display categorizes the performance data according to the subsystem in which
the activity occurred.
From this display you may be able to isolate a single subsystem or group of sub-
systems that are of particular interest. To view the performance data for the jobs in
particular subsystems, type a 5 in the appropriate Option fields and press the Enter
key. If you do not want to select a particular subsystem, but would rather view the
data for all the jobs in the measurement, press F6 (Display all jobs).
Bottom
F3=Exit F6=Display all jobs F12=Cancel F13=Display by subsystem
F15=Display by interval
á ñ
This display categorizes the performance data according to the job types of the
jobs running on your system.
From this display you may be able to isolate a single job type or group of job types
that are of particular interest. To view the performance data for the jobs of partic-
ular job types, type a 5 in the appropriate Option fields and press the Enter key. If
you do not want to select a particular job type, but would rather view the data for all
the jobs in the measurement, press F6 (Display all jobs).
á ñ
This display categorizes the performance data according to the collection intervals
that occurred during the measurement.
From this display, you may be able to isolate a single interval or group of intervals
that are of particular interest. To view the performance data for the jobs in particular
intervals, type a 5 in the appropriate Option fields and press the Enter key. If you
do not want to select a particular interval, but would rather view the data for all the
jobs in the measurement, press F6 (Display all jobs).
Display Jobs
If you selected a subsystem on the Display by Subsystem display, selected a job
type on the Display by Job Type display, selected an interval on the Display by
Interval display, or pressed F6 (Display all jobs) on any of these or the Display
Performance Data display, the Display Jobs display appears.
á ñ
This display appears when you request to view the jobs in a particular subsystem.
If you request a job type or interval, the Subsystem indicator at the top of the
display is replaced by a Job Type or a Interval indicator. Also, if you selected a
particular job type, the Job Type column does not appear because all the jobs have
the same type as indicated by the Job Type field at the top of the display. If you
request to see all the jobs (by pressing F6 on the Display by Subsystem, the
Display by Job Type, or the Display by Interval displays) the appropriate indicator
(Subsystem, Job Type, or Interval) appears at the top of the display showing a
value of ‘*ALL’ and the Job Type column is present. If F6 is pressed from the
Display Performance Data display, there is no indicator, such as subsystem, job
type, or interval, at the top of the display. Also, in this case, the Job Type column
would be present.
á ñ
The Display Job Detail display provides you with the performance data for a partic-
ular job, broken down by collection intervals. This display presents the performance
information using three different views, which can be accessed by function keys.
F11 shows you the next view in the series.
á ñ
Bottom
F3=Exit F11=Display faults and pages F12=Cancel F15=Sort by pool
F24=More keys
á ñ
The Display Pool Detail display presents performance information for each pool in
the measurement. Two views are used in order to present all the pool information.
Although the Display Pool Detail display presents the pool information as totals for
the entire measurement, you may want to examine the data for a particular pool
over time. Using the Display pool intervals option allows you to view the same pool
information broken down into the time intervals in which it occurred.
á ñ
The Display Pool Interval display presents the same columns of information as the
Display Pool Detail display, except that the data is broken down by time intervals. A
second view (not shown here) also exists for the Display Pool Interval display,
which presents the data for the state transitions.
à ð
Display Disk Detail
á ñ
Although the Display Disk Detail display presents the disk information as totals for
the entire measurement, you may want to examine the data for a particular disk
unit over time. Using the Display disk intervals option allows you to view the same
disk information broken down into the time intervals in which it occurred.
à ð
Display Disk Interval
á ñ
The Display Disk Interval display presents the same columns of information as the
Display Disk Detail display, except that the data is broken down by time intervals.
Note: The Size (M) field is at the top of the display because the size of the disk
unit cannot change from one interval to the next.
Bottom
F3=Exit F12=Cancel F15=Sort by line ID F2ð=Sort by transactions
F24=More keys
á ñ
Figure 5-1. Display Communications Line Detail
The Display Communications Line Detail display presents the totals for each line in
the measurement. One of the options on this display lets you view performance
data for the jobs using a communications line. The other option displays the time
interval performance data for a communications line.
á ñ
Figure 5-2. Display Remote Jobs
If you type a 5 in the Option column, you can display more detailed information for
the remote job. This option calls the Display Job Detail display, just as option 5 did
from the Display Jobs display. Refer to “Display Job Detail” on page 5-7 for infor-
mation on the performance data that will be shown.
From the Display Communications Interval Data display you can request data about
the jobs using the communications line during any of the listed time intervals. To do
this, type a 5 in the Option column by the selected time interval.
Each communications protocol has its own type of Display Communications Interval
Data display, but all are quite similar. An example and description for synchronous
data link control (SDLC) is shown in Figure 5-3 on page 5-14. Other communi-
cations protocols are:
X.25
Token-ring LAN area network (TRLAN)
Ethernet local area network (ELAN)
Distributed data interface (DDI)
Frame relay (FRLY)
Binary synchronous communications (BSC)
à ð
Display Communications Interval Data
Pct Pct
I Frames Frames
Itv Line I Frames Trnsmitd Frames Recd
Option End Util Trnsmitd in Error Recd in Error
13:ð8:ðð 78 1,818 ð9 1,818 ð2
13:23:ðð 78 1,818 ð7 1,818 ðð
13:38:ðð 78 1,818 ðð 1,818 ðð
13:53:ðð 78 1,818 ðð 1,818 ðð
14:ð8:ðð 78 1,818 ðð 1,818 ðð
Bottom
F3=Exit F11=View 2 F12=Cancel F15=Sort by itv end
F2ð=Sort by line util F24=More keys
á ñ
Figure 5-3. Display Communications Interval Data for SDLC
Bottom
F3=Exit F12=Cancel F15=Sort by job F16=Sort by job type
F19=Sort by CPU F24=More keys
á ñ
The end time for the selected time interval, the line name, line type, line speed, and
average use during the time interval are shown in the fields Interval, Line ID, Line
type, Line speed and Line utilization at the top of this display. The column
descriptions are the same as for Figure 5-2 on page 5-13.
This display shows performance information for each ISDN network interface and
channel pair configured on the system that data was collected for. From this
display, you can view the data on a per-interval basis by typing a 7 by the network
interface and channel you want to see.
More information regarding ISDN can be found in the ISDN Support book.
Bottom
F3=Exit F12=Cancel F15=Sort by network interface F16=Sort by channel
F2ð=Sort by line util F24=More keys
á ñ
Figure 5-4. Display Network Interface Data
Each channel type has its own type of Display Channel Interval Data display. An
example and description of this display for each channel type follow.
á ñ
Figure 5-5. Display Channel Interval Data for B-channel
From this display you can request data about the jobs using the communications
line listed during any of the time intervals. To do this, type a 5 in the Option column
by the selected time interval.
à ð
Display Channel Interval Data
Transmit/ Loss
Receive/ -Outgoing Calls- -Incoming Calls- of
Itv Average Total Percent Total Percent Frame
End Line Util Calls Rejected Calls Rejected Alignment
14:46:2ð 12/21/16 42 28 15 26 452
15:ð1:19 2ð/ð6/13 74 74 33 1ðð 135
15:16:17 ðð/ðð/ðð ð ð 5 ð ð
15:21:17 ðð/ðð/ðð ð ð 2 ð ð
15:31:16 ðð/ðð/ðð ð ð 2 ð ð
15:46:14 ð7/1ð/ð9 21 1ðð 34 1ðð 348
More...
Press Enter to continue.
á ñ
Figure 5-6. Display Channel Interval Data for D-channel
à ð
Display Maintenance Channel Data
Percent
Percent Severely Far
Itv Errored Errored DTSE DTSE End Code
End Seconds Seconds In Out Violation
14:46:2ð 5ð 36 734 83 32
15:ð1:19 6 24 32 14 52
15:16:17 ð ð ð ð ð
15:21:17 ð ð ð ð ð
15:31:16 ð ð ð ð ð
15:46:14 99 99 36 45 66
16:ð1:13 95 8ð 11 9 1
More...
Press Enter to continue.
á ñ
Figure 5-7. Display Maintenance Channel Data
à ð
System Activity
Refer to “Work with System Activity” and “Print Activity Report” on page 6-9 for a
description of both selections shown on the System Activity menu.
The performance statistics reported by this function represent activity that has
occurred during the elapsed time since a previous collection. Notice that this may
contrast with other system functions that generally provide cumulative values until
specifically reset. In most cases the time interval between data collections ranges
from 1 second to several minutes, depending on how often you want to view or
collect new data. On systems with very little activity, a subsecond refresh interval
may be possible.
When the data is written to a database file only, this function submits a batch job
under the name WRKSYSACT. When the data is written to a file and shown on the
display, the statistics are put in the file each time the display is refreshed. This
does not include the data presented on the initial display of the Work with System
Activity display. See the file descriptions in Table 6-1 on page 6-8.
When the data is being directed to the display station (either the first or third
method), the first display that appears resembles the following:
à ð
Work with System Activity
ð2/ð8/96 1ð:45:19
á ñ
Figure 6-1. System with Single Processor
The input-capable field Automatic refresh in seconds at the top of the display con-
trols the amount of time between display refreshes when the automatic refresh
feature is active. Refer to “Automatic Refresh Mode” on page 6-4 for more informa-
tion on this field. The second field at the top of the display, Elapsed time, reflects
the length of time in which the currently shown performance statistics occurred.
Described in a different way, this value represents the time between the last display
refresh and the next-to-last display refresh.
Note: The Work with System Activity display automatically gathers the data twice
before displaying the first display. Therefore, the initial Elapsed time should
be approximately 2 seconds, which means that the statistics shown
occurred in the 2 seconds previous to the current display.
Also, the Overall CPU could exceed 100% on extremely busy systems, because
the data collection process does not occur instantaneously. However, you should
be aware that overall CPU utilizations slightly over 100% are an acceptable possi-
bility.
Multiple-Processor System
For a multiple-processor system, Overall CPU field is replaced by these fields:
Minimum CPU util
Maximum CPU util
Average CPU util
Number of CPUs
For each of the CPU utilization fields, the value shown is the total CPU utilization
divided by the number of processors shown in the Number of CPUs field.
Figure 6-2 shows the Work with System Activity display for a system with more
than one processor:
à ð
Work with System Activity ABSYSTEM
ð2/ð8/96 1ð:45:19
Automatic refresh in seconds . . . . . . . . . . . . . . . . . 5
Elapsed time . . . . . . : ðð:ð1:ð2 Average CPU util . . : 97.ð
Minimun CPU util . . . . : 94.1 Maximum CPU util . . : 99.9
Number of CPUs . . . . . : 4
Bottom
F3=Exit F1ð=Update list F11=View 2 F12=Cancel F19=Automatic refresh
F24=More keys
á ñ
Figure 6-2. System with Multiple Processors
The two options shown on the Work with System Activity allow you to analyze spe-
cific jobs and tasks that appear in the list. Refer to “Monitoring Specific Jobs” on
page 6-5 and “Working with Jobs” on page 6-6 for more information on these
options.
| The Work with System Activity function uses different views to present all the per-
| formance statistics. Pressing F11 shows you the next view in the series and
| pressing F10 refreshes the current view.
Note: As mentioned above, the Job or Task column is shown only when
INFTYPE(*ALL) is specified. This value for the Information type parameter
instructs the function to display both jobs and tasks. Specifying
INFTYPE(*JOBS) causes the Job or Task column, to be replaced by the
Job column because only jobs are to be displayed. Similarly, specifying
INFTYPE(*TASKS) causes the Job or Task column to be replaced by the
Task column since only tasks are to be displayed. Later sections of this
chapter describe how to switch between these information types through the
use of function keys.
To start the Automatic Refresh mode, first enter the desired number of seconds
between refreshes in the Automatic refresh in seconds field. This value, which has
an initial default of 5 seconds, can range from a minimum of 1 second to a
maximum of 900 seconds (15 minutes).
Note: Setting the Automatic refresh seconds at 5 or greater generally results in
the Work with System Activity function using reasonably small amounts of
the processing unit, depending on the size of the system being monitored.
Setting this value lower than 5 seconds causes this function to use larger
amounts of the processing unit, and therefore, is not recommended.
Once you have established the desired refresh interval, pressing F19 (Automatic
refresh) starts the automatic refresh mode. Automatic refresh continues to display
the same view and type of information that was previously selected. For example, if
you had been examining both jobs and tasks using View 1, the display appears as
follows.
Bottom
F3=Exit F1ð=Update list F11=View 2 F12=Cancel F19=Automatic refresh
F24=More keys
á ñ
Figure 6-3. System with Single Processor
| The Automatic Refresh function attempts to maintain even refresh intervals by com-
| pensating for the time required to process, display, and, possibly, write the perform-
| ance data. Therefore, you may occasionally notice that the elapsed time does not
| exactly match the value specified for the Automatic refresh in seconds field. Press
| F19 to end the automatic refresh function.
Bottom
F3=Exit F1ð=Update list F11=View 2 F12=Cancel F19=Automatic refresh
F24=More keys
á ñ
Figure 6-4. System with Single Processor
Once you have selected jobs and tasks for monitoring, the Work with System
Activity function is placed in a subset mode. While in this mode, you see perform-
ance data for only the selected jobs and tasks whenever the display is refreshed.
Also in this mode, you can use option 5 (Work with job) on a job and the job
remains in the selected group. To remove a single job or task from the selected
group (as long as it is not the last or only selected entry), blank out the option field
and press the Enter key. This causes a new group to be built from those entries
that still have a 1 in the Opt field.
To return to normal operating mode, press either F13 (Jobs and tasks), F14 (Jobs
only), or F15 (Tasks only). These function keys are the only way to end the moni-
toring feature without exiting the Work with System Activity function.
Refer to the CL Reference or the Work Management book for further information on
the Work with Job command.
If you specify INFTYPE(*ALL) on the Work with System Activity command or press
F13, statistics for both jobs and tasks are shown. Column headings and function
keys similar to the following appear on the Work with System Activity display:
Total Total
Job or CPU Sync Async PAG
Opt Task User Number Thread Pty Util I/O I/O Fault
_ DSP25 QPGMR ðð8124 2ð 56.1 12 4 ð
_ DSPð1 QSECOFR ðð8122 2ð 6.4 5 2 ð
_ SMAIð3 ð .3 ð ð ð
_ ROUTð4 ð .3 ð ð ð
.
.
.
F14=Display jobs only F15=Display tasks only F16=Sequence by I/O
F24=More keys
á ñ
If you specify INFTYPE(*JOBS) or press F14, statistics for jobs only are shown.
Column headings and function keys similar to the following appear on the Work
with System Activity display:
Total Total
CPU Sync Async PAG
Opt Job User Number Thread Pty Util I/O I/O Fault
_ DSP25 QPGMR ðð8124 2ð 56.1 12 4 ð
_ DSPð1 QSECOFR ðð8122 2ð 6.4 5 2 ð
.
.
.
F13=Display jobs and tasks F15=Display tasks only F16=Sequence by I/O
F24=More keys
á ñ
And finally, if you specify INFTYPE(*TASKS) or press F15, statistics for tasks only
are shown. Column headings and function keys similar to the following appear on
the Work with System Activity display:
Total Total
CPU Sync Async PAG
Opt Task Thread Pty Util I/O I/O Fault
_ SMAIð3 ð .3 ð ð ð
_ ROUTð4 ð .3 ð ð ð
.
.
.
F13=Display jobs and tasks F14=Display jobs only F16=Sequence by I/O
F24=More keys
á ñ
á ñ
F20 starts the Work with Active Jobs (WRKACTJOB) command. F21 starts the
Work with System Status (WRKSYSSTS) command. F22 starts the Work with Sub-
systems (WRKSBS) command, and F23 starts the Work with Disk Status
(WRKDSKSTS) command. Refer to the Work Management book for further infor-
mation on these commands.
Depending on the value specified for the Report Type (RPTTYPE) option on the
Print Activity Report command, one of two report types, or both, are created. The
summary report provides the top 10 listings showing the most CPU-intensive and
the most I/O-intensive entries over the entire specified period. The detailed report
shows a selected number of entries for each interval in the specified period. These
entries are ordered according to a user selected field. Refer to the following
sections for more detail on each of these report types.
The header portion of this report contains the same information as found on the
summary report, except for the Sequence field, which defines the order of the
entries listed for each interval. The value found in this field corresponds to the
value specified for the sequence (SEQ) parameter on the Print Activity Report
command.
The body of the Detail Activity Report contains the same columns of information
found on the summary report. There are, however, two additional fields associated
with the statistics for each interval:
Time The end time for the collection interval.
Total CPU Utilization The processing unit use for the entire system during the col-
lection interval.
For a multiple-processor system, this is the total utilization divided by the number of
processors.
A Performance Report
| System Report 3/2ð/98 14:ð6:27
| Disk Utilization Page ððð5
| Sample System Report
| Member . . . : Q98224ð9ð3 Model/Serial . : 4ðð-2133/1ð-3594G Main storage . . : 96.ð M Started . . . . : ð3/12/98 ð9:ð4:28
| Library . . : QPFRDATA System name . . : ABSYSTEM Version/Release : 4/ 2.ð Stopped . . . . : ð3/12/98 ð9:ð4:35
| Unit Size IOP IOP Dsk CPU ASP --Percent-- Op Per K Per - Average Time Per I/O --
| Unit Name Type (M) Util Name Util ID Full Util Second I/O Service Wait Response
| ---- ---------- ---- ------- ---- ------------ ------- --- ---- ---- --------- --------- ------- ------ --------
| ððð1 DDðð1 66ð6 1,967 47.3 CMBð1 .ð ð1 76.9 33.3 3ð.2ð 4.8 .ð11ð .ðð37 .ð147
| ððð2 DDðð2 66ð6 1,967 47.3 CMBð1 .ð ð1 74.2 44.4 31.25 7.3 .ð142 .ðð35 .ð177
| ððð3 DDðð3 66ð6 1,967 47.3 CMBð1 .ð ð1 74.ð .ð 25.4ð 4.3 .ðððð .ðððð .ðððð
| ððð4 DDðð4 66ð6 1,967 47.3 CMBð1 .ð ð1 74.2 33.3 29.2ð 6.7 .ð114 .ð19ð .ð3ð4
| Total 7,868
| Average 74.9 27.7 28.89 5.8 .ðð95 .ðð68 .ð163
| Unit -- Disk arm identifier
| Unit Name -- Disk arm resource name
| Type -- Type of disk
| Size (M) -- Disk space capacity in millions of bytes
| IOP Util -- Percentage of utilization for each Input/Output Processor
| IOP Name -- Input/Output Processor resource name
| Dsk CPU Util -- Percentage of Disk Processor Utilization
| ASP ID -- Auxiliary Storage Pool ID
| Percent Full -- Percentage of disk space capacity in use
| Percent Util -- Average disk operation utilization (busy)
| Op per Second -- Average number of disk operations per second
| K Per I/O -- Average number of kilobytes (1ð24) transferred per disk operation
| Average Service Time -- Average disk service time per I/O operation
| Average Wait Time -- Average disk wait time per I/O operation
| Average Response Time -- Average disk response time per I/O operation
Note: This report is only provided as an example of the layout of a report. See
each specific report example for current report details.
The “Component Report” on page 7-25 supplies you with information about the
same components of system performance as a System Report, but at a greater
level of detail. This report helps you find which jobs are consuming high amounts of
system resources, such as CPU, disk, and so on.
The “Job Interval Report” on page 7-66, “Pool Interval Report” on page 7-72, and
“Resource Interval Report” on page 7-76 provide the same information as the
System Report and Component Report do, but on an interval-by-interval basis.
The “Lock Report” on page 7-63 provides information about lock and seize conflicts
during system operation.
The “Batch Job Trace Report” on page 7-89 shows the progression of different job
types (for example, batch jobs) traced through time.
The “Transaction Report” on page 7-36 provides detailed information about the
transactions that occurred during the performance data collection.
Option Section
Workload
Resource Utilization
Resource Utilization Expansion
Storage Pool Utilization
Disk Utilization
Communication Summary
Bottom
F3=Exit F6=Print entire report F12=Cancel
The Select Categories for Report display appears when you select to print one
of the following reports:
System Report
Note: The Select Sections for Report display is shown first, followed by
the Select Categories for Report display.
Component Report
Job Report
Pool Report
Resource Report
Option Category
_ Time interval
_ Job
_ User ID
_ Subsystem
_ Pool
_ Communications line
_ Control unit
_ Functional area
Bottom
F3=Exit F6=Print entire report F12=Cancel
The name of the performance data member you chose on the Print Perform-
ance Report display appears at the top of the Select Categories for Report
display.
5. To include all categories of information in your report, Press F6. To limit the
amount of information in the report, type a 1 in the Option column next to those
categories of information for which you want performance data. Press the Enter
key.
For example, if you choose the Time interval option, the Select Time Intervals
display appears. This display shows an interactive view of some of the key per-
formance parameters of the data collected. The member name you typed on
the Print Performance Reports display appears in the Performance data field.
The intervals you defined to collect the performance data appear.
6. Use the Select Time Intervals display to choose specific time intervals from the
performance data to produce a report. You should select specific time intervals
to help you manage the volume of data associated with the performance meas-
urement. The Select Time Intervals display allows you to interactively select the
F12=Cancel
Type a 1 in the Option column next to the items you want to include in your
report. Or type a 2 if you want certain items omitted from your report.
Start:
Day . . . . . . . \FIRST__ \FIRST, MM/DD/YY
Time . . . . . . . \FIRST__ \FIRST, HH:MM:SS
Stop:
Day . . . . . . . \LAST___ \LAST, MM/DD/YY
Time . . . . . . . \LAST___ \LAST, HH:MM:SS
8. Specify the start and stop date and time. If you do not specify the start and
stop date and time, the report includes data from the first (or only) date that
data was collected, to the last (or only) date that data was collected. You may
also type a report title in the Report title field and specify whether or not you
want your report to include the system tasks. Press the Enter key to process
and print your report.
Note: The Omit system tasks field appears only if you requested printing of a
System Report.
If you made use of the Select Time Intervals display, the following version of
the Select Report Options display appears instead:
If you so choose, type a report title in the Report title field. Also, you can
specify whether or not to include the system tasks in your report. Press the
Enter key to process and print your report.
Use the Start Performance Tools (STRPFRT) command to start Performance Tools.
à ð
PERFORM IBM Performance Tools for AS/4ðð
System: RCHXXXXX
Select one of the following:
Make the choices shown on the following displays to collect performance data and
print a System Report using the system defaults.
1. To start collecting performance data, choose option 2 (Collect performance
data) on the IBM Performance Tools menu, and press the Enter key. The
Collect Performance Data display appears.
à ð
Collect Data with Defaults
Time duration:
Hours . . . . . . . 9 ð-999
Minutes . . . . . . ð ð-6ð
6. Type an appropriate name for the performance data in the Member field. In this
example, the performance data is called Thursdata.
7. Type an appropriate description for the performance data you want to collect in
the Text field. In this example, the description is System performance for
Thursday.
8. Type how long you want to collect performance data in the Time duration fields.
In this example, 9 is typed in the Hours field so performance data is collected
for 9 hours.
9. Press the Enter key to start the data collection process.
10. Press F3 (Exit).
Wait for the data collection process to end before you complete the next steps.
In this example, you would wait for 9 hours before you would continue.
11. Once the data collection process is complete, use the STRPFRT command to
start Performance Tools.
12. Choose option 3 (Print performance report) on the IBM Performance Tools
menu. The Print Performance Report display appears.
Option Category
_ Time interval
_ Job
_ User ID
_ Subsystem
_ Pool
_ Communications line
_ Control unit
_ Functional area
15. Press F6 to indicate that you do not want to restrict the categories for this
report. The Specify Report Options display appears.
Start:
Day . . . . . . . \FIRST \FIRST, MM/DD/YY
Time . . . . . . . \FIRST \FIRST, HH:MM:SS
Stop:
Day . . . . . . . \LAST \LAST, MM/DD/YY
Time . . . . . . . \LAST \LAST, HH:MM:SS
16. Press the Enter key to submit a batch request to print a System Report for the
entire data collection period.
17. Press F3 (Exit) to go to the IBM Performance Tools menu.
The batch request you submit takes a period of time to complete, depending on
the amount of data collected. Use the Work with Submitted Job (WRKSBMJOB)
command to check the status of the request.
After the System Report has been produced, you can view it online and direct it
to an active writer by following steps 18 through 21.
Selection or command
===> WRKSPLF____________________________________________________________
________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant
F16=System main menu
á ñ
18. Type WRKSPLF on the command entry line, and press the Enter key.
The Work with All Spooled Files display appears.
á ñ
On this display you could choose option 5, for example, to view the System
Report online.
19. For this example, type a 2 under the Opt column to change the output queue
for the System Report (the QPPTSYSR file). In this example, you might want to
move the report to an output queue that has an active writer, so the report
prints on the device the writer is associated with.
20. Type the new output queue name. To do this, type OUTQ(outqname) on the
command entry line.
21. Press the Enter key. The System Report prints when a device is available.
For example, the Communications Summary report (System Report) uses the
QAPMJOBS file. QAPMJOBS file records batch use for jobs that are not related to
communications. As a result, batch use of a line or TCP use does not show up in
the QAPMJOBS file. Because the QAPMJOBS file only shows transactions for jobs,
and the communications line connected to the job is classified as interactive, no
batch use for communications is recorded by the QAPMJOBS file.
Note: The Communications Summary (System Report) only shows interactive
results. Besides this section only takes information from the records which
have data in the line description, communications line name, or in the sec-
ondary line description, pass-through and emulation (only "virtual" type con-
nection).
Another example is the IOP Utilizations Component report section, which uses the
QAPMCIOP file. This file has field values for the idle loop count and the idle loop
time. These values make up the data that is used to calculate the IOP utilization
value that shows up in this report. The IOP utilization result is just the percentage
of CPU used in the IOP. When the communication IOP utilization shows a value
different than 0, it does not necessarily mean that the IOP is doing any data trans-
fers, it may just be overhead of an active line.
Performance Tools reports show the data based on the contents of the perform-
ance monitor database files. In some cases, this causes slight inconsistencies
between reports.
| The abbreviations for the field value headings include the following:
| JBTYPE - job type
| JBSTYP - job subtype
| JBPTTF - target pass-through flag
| JBPTSF - source pass-through flag
| JBEAF - emulation active flag
| JBPCSF - Client Access flag
| JBDDMF - target DDM job flag
| The Desc column identifies the type of workload that is running on the system. This
| column contains a number that is associated with the following descriptions:
| 1 - 5250 twinaxial data link control, remote workstation support, or 3270 remote
| attach
| 2 - APPC 5250 emulation (Client Access)
| 3 - Target APPC display station pass-through
| 4 - Target TELNET 5250
| 5 - Source pass-through
| 6 - Target distributed data management (DDM)
| 7 - APPC router
| 8 - Host server ("Client Access"), pre-started job
| 9 - APPC, batch evoke
| 10 - Normal batch job
| 11 - Auto start job
| 12 - Subsystem monitor
| 13 - Spool writer
| 14 - Spool print driver
| 15 - Other system jobs
| 16 - typical secondary thread
| You can find the descriptions for the one-character and two-character abbreviations
| used in the table under the Typ column description at the end of this chapter.
System Report
Every System Report includes the Workload, Resource Utilization, and Resource
Utilization Expansion sections. However, the Storage Pool Utilization, Disk Utiliza-
Table 7-2. Report Categories that Cause System Report Sections to be Omitted
Report Category Report Section Omitted
Time Interval None
Job Storage Pool Utilization
Disk Utilization
Communications Summary
User ID Storage Pool Utilization
Disk Utilization
Communications Summary
Subsystem Storage Pool Utilization
Disk Utilization
Communications Summary
Pool Disk Utilization
Communications Summary
Communications line Storage Pool Utilization
Disk Utilization
Control unit Storage Pool Utilization
Disk Utilization
Functional area Storage Pool Utilization
Disk Utilization
Communications Summary
For samples of each section of the System Report, see “Sample System Reports”
on page 7-20.
Workload
Interactive Workload
The first part of the Workload section shows the interactive workload of the system.
Noninteractive Workload
The second part of the Workload section shows the noninteractive workload of the
system.
Disk Utilization
The Disk Utilization section of the System Report shows the utilization for each
disk.
Communications Summary
The Communications Summary section of the System Report shows the use of the
communications lines and processors.
See the sample report showing the OMIT parameters on the Report Selection Cri-
teria section of the System Report in Figure 7-12 on page 7-24.
Disk Utilization–Sample
Communications Summary–Sample
| System Report 5/19/96 12:ð3:48
| Communications Summary Page ððð6
| Sample System Report
| Member . . . : CAJð5ð3 Model/Serial . : 51ð-2144/1ð-ð8BCD Main storage . . : 384.ð M Started . . . . : ð5/ð3/96 14:59:32
| Library . . : QPFRDATA System name . . : ABSYSTEM Version/Release : 3/ 7.ð Stopped . . . . : ð5/ð3/96 15:ð4:31
| IOP Name/ Line Avg Max Active Number Average ------ Bytes Per Second ----
| Line Protocol Speed Util Util Devices Transactions Response Received Transmitted
| -------------------- -------- --------- ---- ---- ------- ------------ -------- ---------- -----------
| CCð1 (2619)
| TRLINLð5 TRLAN 16ððð.ð ð ð ð ð .ðð .ð .ð
| IOP Name/Line -- IOP Resource name and model number, Line ID
| Protocol -- Line protocol (SDLC, ASYNC, BSC, X25, TRLAN, ELAN, IDLC, DDI, FRLY)
| Line Speed -- Line speed (1ððð bits per second)
| (For IDLC this is the maximum over the measurement)
| Avg Util -- Average line utilization
| Max Util -- Maximum line utilization in all measurement intervals
| Active Devices -- Average number of active devices on the line
| Number Transactions -- Number of transactions
| Average Response -- Average system response (service) time (seconds)
| Bytes /Sec Received -- Average number of bytes received per second
| Bytes /Sec Transmitted -- Average number of bytes transmitted per second
Select Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
Omit Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
Component Report
For samples of each section of the Component Report, see “Sample Component
Reports” on page 7-29.
The Pool Identifier, shown at the top of the Storage Pool Activity section, specifies
the storage pool identifier (the value can be from 01 through 16). A separate
Storage Pool Activity section exists for each pool that was in use during the meas-
urement period and was selected on the PRTCPTRPT command.
Disk Activity
The Disk Activity section of the Component Report gives the average disk activity
per hour and the disk capacity for each disk.
See the utilization guidelines and thresholds in BEST/1 Capacity Planning Tool
book for a list of threshold values.
The response time intervals are set up on the system STRPFRMON command.
The values for the response times may vary depending on the values you use in
the command.
Note: This section appears only if 5494 remote work station data is included in the
data collection.
In some cases these exception counts can be high even under normal system
operation.
The Database Journaling section summarizes the journaling activity resulting from
user-initiated activities and from system-managed access-path protection (SMAPP)
support. This includes the following information:
The number of start and stop journaling operations performed.
The number of journal entry deposits made on behalf of objects for which a
user started journaling.
The number of journal entry deposits made on behalf of objects for which the
system started journaling.
The report contains the following fields for the number of journal deposits resulting
from system-initiated journaling:
As journal entries are deposited to the journals, the system attempts to group these
entries into larger bundles to provide more efficient I/O. The number of bundles
written to user-created journals can be compared to the number of bundles written
to system-created journals. This proportion indicates how efficiently the system per-
forms I/O to the journal receivers.
When SMAPP is active on the system, the following information is also available:
The number of exposed access paths.
An estimate of the time in minutes required to rebuild the exposed access
paths following an abnormal system end.
The number of adjustments made by the system to internal journal tuning
tables.
Note: The estimated rebuild time is rounded to the nearest full minute. The
estimate is available only on a system-wide basis, not by auxiliary
storage pool (ASP), even though access path recovery times may be
specified on an ASP basis.
The number of exposed access paths and their estimated rebuild exposure does
not include the following:
Access paths that are being journaled by a user
Access paths that were created with the *REBLD maintenance option
See the Backup and Recovery book for more SMAPP considerations.
If you did not use the SELECT parameters, the message No Select parameters
were chosen appears. If you did not use OMIT parameters, the message No Omit
parameters were chosen appears.
Disk Activity–Sample
IOP Utilizations–Sample
Member . . . : CAJð5ð3 Model/Serial . : 51ð-2144/1ð-ð8BCD Main storage . . : 384.ð MB Started . . . . : ð5/ð3/96 14:59:32
Library . . : QPFRDATA System name . . : ABSYSTEM Version/Release : 3/ 7.ð Stopped . . . . : ð5/ð3/96 15:ð4:31
Select Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
Transaction Report
The Transaction and Transition Reports provide detailed information. So, when you
print these reports, use the selection values available on the PRTTNSRPT
command to select specific jobs, users, or time intervals. That way you can limit the
output to relevant information only.
The PRTTNSRPT command uses trace output from the STRPFRMON command.
The STRPFRMON command must be run first.
Notes:
1. In some instances, when a value is too large to fit in the allotted space, a 9 is
printed in each numeric field in the report. To see the actual value, you should
specify RPTTYPE(*FILE) on the PRTTNSRPT command.
2. The PRTTNSRPT command takes some CPU model values from the BEST/1
hardware table to do some calculations.
For samples of each section of the Transaction Report, see “Sample Transaction
Reports” on page 7-49.
If the Job Summary section shows jobs that have high response times, high disk
I/O activity, high processing unit utilization, or a number of lock requests, use the
Transaction Report to investigate further.
If the number of seizes or number of conflicts (Number Sze Cft or Number Lck
Cft columns on this report) is “high,” look at the Transaction or Transition reports
for the job to see how long the conflict lasted, the job that held the object, the name
and type of object being held, and what the job was waiting for.
The exact meaning of the term “high” is dependent on the application. One
example is the number of lock-waits. An application that has many users
accessing a database at the same time could, under normal conditions, have
numerous lock-waits.
You must evaluate each situation individually. If the values are difficult to explain
(an application should have very few locks and yet many are reported), then further
The boundary values that are used to categorize the transactions by processing
unit model were updated to more accurately reflect a typical customer workload.
The boundary values have almost doubled. For the typical customer workload, this
update causes the number of transactions categorized as simple and medium to
increase, and those categorized as complex and very complex to decrease. This
does not change the data itself or how it is collected. The update only changes how
individual transactions are categorized by the Transaction Report.
Note: The Total/Avg is only a total or average of the simple, medium, and
complex categories. The very simple category is a part of the simple cate-
gory. The very complex category is a part of the complex category.
These transaction categories depend on the processing unit model. They are intro-
duced here and in some of the following reports as a way to highlight the differ-
ences that exist in the work being done on the system.
When you are considering adding new applications, determine the new application’s
transaction characteristics. For example, determine if a high volume of complex
transactions is typical with this new application. By analyzing the transaction char-
acteristics of new applications, you may be able to foresee the need to acquire
additional hardware resources for the new application.
If you obtain a new application from a supplier, it is reasonable to ask for informa-
tion about the application’s transaction characteristics.
The Analysis by Interactive Response Time part of the System Summary Data
section provides transaction information sorted by response time categories.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
The Batch Job Analysis section of the Job Summary Report shows information on
the batch job workload during the trace period.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
By looking at the first lines for a particular priority, you can quickly determine if the
system was fully utilizing all available batch activity levels during the trace period.
The performance monitor begins identifying concurrent jobs when the monitor is
started. All jobs that are currently active are assigned to a job set. There will often
be several jobs that are continuously active during the trace period, such as
autostart jobs for SNADS and the QPFRMON job itself.
If another job starts during the trace period and none of the original jobs have
ended, it is assigned to a new job set. If a job ends and another job of the same
priority starts, the new job is considered to be a second job in the same job set.
For example, if the job queue entry for QBATCH has a MAXACT parameter of 3
and you submit 8 jobs to QBATCH during the trace period, there will probably be 3
job sets on the report with a total of 8 jobs shared between them.
The threads are sorted by job priority. Thus, for the above example where the first
thread was running for a total of 8 minutes and 50 seconds and the second thread
was running for a total of 6 minutes and 55 seconds, the order of reporting shows
the statistics for the second thread, then the third, and then the first and assigns
them sequential numbers.
Use the SELECT parameters on the Report Selection Criteria Report to select
pools, jobs, user IDs or functional areas. Or use the OMIT parameters to omit them
If you did not use SELECT parameters, the No Select parameters were chosen
message appears.
If you did not use OMIT parameters, the No Omit parameters were chosen
message appears.
To Print
Use OPTION(*SS) on the PRTTNSRPT command.
Transaction Report
The Transaction Report (RPTTYPE(*TNSACT)) provides detailed information about
each transaction that occurred in the job:
Transaction response time
Name of the program that is active at the time the transaction starts
Processing unit time use
Number of I/O requests
To Print
Use RPTTYPE(*TNSACT) on the PRTTNSRPT command.
Transition Report
The Transition Report (RPTTYPE(*TRSIT)) provides information similar to that of
the Transaction Report, but the data (for example, processing unit time, I/O
requests) is shown for each job state transition, rather than just the transitions
shown when the job is waiting for work station input. The detail shown in this report
helps you to determine the program that ran during a transition, or to determine
when an unsatisfied lock request occurred.
To Print
Use RPTTYPE(*TRSIT) on the PRTTNSRPT command.
Transition Detail
The job transitions for jobs using data queues are in the State column of the Tran-
sition Detail report. If a job uses data queues (CALL QSNDDTAQ or CALL
QRCVDTAQ), each access to the queue is marked with an EOT2-SOT2 pair. If
data is received by a queue when the data queue currently has no entries, the
transition detail report shows a job state of wait (W in the STATE column), but leaves
the job in the activity level up to a short wait time (2 seconds) or until the interval
time set for the time slice end.
When either the time-out value of the QRCVDTAQ API ends or data is returned
from the queue, the transition report records an -->A in the STATE column.
If a job is doing interactive I/O operations to an ICF file, the transition detail records
a W<-- and -->A pair under the STATE column for start (W) and completion (A) of
the write or read operation. For example, if the job is doing APPC I/O operations
within an interactive transition with a display device:
Time stamp SOT1
Time stamp W<--
Time stamp -->A
Time stamp W<--
Time stamp -->A
| job processing
Time stamp EOR1
Time stamp EOT1
The values ADR=000000 or ADR=UNKWN can also appear as the program name.
The ADR=000000 occurs when there was no program active at that level in the job
when the trace record was created. ADR=UNKWN indicates that the program did
not exist on the system at the time the trace record data was dumped to a data-
base file. This happens if you have deleted (or replaced) the program before
dumping the file. The program names are put into the trace record when the
monitor ends and the trace data is put into a database file or when the Dump Trace
(DMPTRC) command is used.
Summary
The summary section of the Transition Report shows the same information as the
summary section of the Transaction Report, described in “Job Summary Data” on
page 7-46.
Table 7-3 on page 7-48 shows jobs with a W← (wait) job state and 130 for a
decimal qualifier. The job went from an active-to-wait state and dropped from the
activity level (this defines the end of a transaction in the report).
Table 7-4 shows jobs with a W (wait) job state and a decimal qualifier of 134. The
job went from active-to-wait state but stayed in the activity level (for example, a
short wait).
Table 7-6 on page 7-49 shows jobs with an A (active) job state.
Job Summary–Sample
Transaction Significance–Sample
Cum ----- Sync Disk I/O Rqs/Tns ----- Async Short Seize Cum
Number Program CPU CPU CPU DB DB NDB NDB DIO Rsp Wait Wait Pct Pct
Rank Tns Name /Tns Util Util Read Write Read Write Sum /Tns /Tns /Tns /Tns Tns Tns
---- ------ ---------- ------ ---- ---- ----- ----- ----- ----- ----- ----- ------ ------ ------ ---- ----
1 147 QUIINMGR .ð85 4.3 4.3 1 4 11 15 1ð .792 .ð31 65.3 65.3
2 32 QSPDSPF .ðð7 .1 4.3 1 1 1 .ð47 14.2 79.6
3 19 QPTPRCSS .ð23 .2 4.5 1 1 .ð51 8.4 88.ð
4 17 QUYLIST .ð63 .4 4.9 11 2 13 2 .411 7.6 95.6
5 3 QSUBLDS .1ð1 .1 5.ð 32 32 1.ð21 1.3 96.9
6 2 QUOCPP .ð34 5.ð 6 5 11 2 .433 .ð35 .9 97.8
7 2 QUIALIST .ð13 5.ð 1 1 .ð34 .9 98.7
8 1 \TRACEOFF\ 9.5ð8 3.3 8.2 27 2ð9 1852 257ð 4658 2118 157.268 .ð39 .4 99.1
9 1 QMHDSMSS .ð62 8.3 3 3 .135 .4 99.6
1ð 1 QUOCMD .ð44 8.3 1 1 .ð68 .4 1ðð.ð
Job Statistics–Sample
| Job Summary Report 9/ð5/98 14:ð8:5ð
| Job Statistics Page ðð91
| Transaction Report Summary
| Member . . . : Q981421246 Model/Serial . : 5ðð-2142/1ð-18ð3D Main storage . . : 128.ð M Started . . . . :ð5/22/98 12:47:42
| Library . . : THREAD1 System name . . : ABSYSTEM Version/Release : 4/ 2.ð Stopped . . . . :ð5/22/98 12:53:25
| JOBS WITH MOST TRANSACTIONS
| T P Cum Sync Async Number Cum
| Job User Name/ Job y t Nbr Rsp CPU CPU CPU DIO DIO Nbr Nbr Nbr Conflict Pct Pct
| Rank Name Thread Number Pl p y Tns /Tns /Tns Util Util /Tns /Tns W-I A-I Evt Lck Sze Tns Tns
| ---- ---------- ---------- ------ -- -- -- ----- ------ ------ ---- ---- ----- ----- --- --- --- --- --- ---- ----
| 1 QPADEVððð9 SUSTAITA ð13832 ð4 I 2ð 43 .ð35 .ð18 .2 .2 93.5 93.5
| 2 QPADEVðð26 SOLBERG ð13841 ð4 I 2ð 3 4.918 .179 .2 .4 154 6.5 1ðð.ð
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 1ð
| JOBS WITH LARGEST AVERAGE RESPONSE TIME
Select Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - Jobname1
Jobname2
Jobnum
Omit Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
When you use the PRTLCKRPT command, the following file is used as input:
File Description
QAPMDMPT Database file that is created by the STRPFRMON command and
updated by the PRTTNSRPT command.
See “QTRDMPT File” on page 7-96 for a description of the database file.
See “QAPTLCKD File” on page 7-101 for the database file description.
Note: In the following description, the term lock means lock or seize unless other-
wise noted.
The PRTLCKRPT command produces several report formats. An optional detail list
of the resource management trace records from QAPMDMPT prints first. This list
may be sorted by the times that a lock occurred, the name of the job requesting the
lock, the name of the job holding the lock, or the name of the locked object. The list
may print four times (once for each of these sequences).
Consider the following points when you use the PRTLCKRPT command:
The PRTTNSRPT output may show a high incidence of wait-to-ineligible state
transitions in the transaction summary output. If this situation occurs, it could
mean that many jobs are waiting for internal system object locks and holding
an activity level while waiting. The PRTLCKRPT report may identify these locks.
The Detailed Lock Conflicts Report (shown in Figure 7-51 on page 7-66)
shows each object lock conflict that meets the specified selection values. Do
When multiple requests (from multiple jobs) cause contention for an object, the
requests are processed in the order received, by job priority. When conflicts
occur, multiple lock requests are made by internal programs in behalf of the
program that originally made the request, until the lock is granted. These
internal requests appear on the summary, resulting in more conflicts than actu-
ally occurred from the originating program’s viewpoint.
PRTLCKRPT processing does not analyze the internal lock conflicts and relate
them to the original request.
Figure 7-51 on page 7-66 shows a sample of the detail listing, sorted by time of
day (in this case). The report options were selected to include only locks lasting at
least two seconds that occurred between 13:33:00 and 13:34:00 (as noted in the
footer printed at the bottom of the detail page).
Figure 7-52 on page 7-66 shows a sample of the Requesting Job Summary
section of the same report. The other summary sections have a similar format.
Conflicts occur when one job has an object lock or seize and another job requests
control of the same object. A common example of a lock conflict is when a job
reads a record for update and a second job requests a lock for the same record.
If the Print Transaction Report (PRTTNSRPT) job summary output shows a high
number for either the number of lock or the number of seize conflicts, look at the
Transaction Detail Report and Transition Detail Report to further analyze the situ-
You can normally expect to see some conflicts occur for a short period of time on
some objects. If you see several lock conflicts occur for nondatabase objects, it
may be a normal situation (such as writers and jobs contending for output queues).
However, if the locks last a long time (more than 5 to 10 seconds), and they cause
objectionable delays to end users, this situation could indicate that you need to
make some changes to the operational environment.
If the report shows several database record locks that last for more than 5 to 10
seconds, a program may have read a record for update and continued processing
without releasing (writing) the record. This situation is normal in many applications.
However, in a heavily loaded system, the job that holds the record lock may reach
the end of its time slice while it holds the lock. When this condition occurs, it delays
other jobs that need the record.
If the report shows several seizes that last for a period of time (over 1 second), this
condition can indicate object contention problems. To ensure the accuracy of the
object, the system does not allow access to the object until all the necessary
changes are made.
| Thread Data
| As you will see in the Lock Report examples, if the data collection contains thread
| activity, and if the job is a secondary thread, the detail in the report shows the job
| name/thread identifier/job number value. If there is no thread activity, the detail
| shows the job name/user name/number value. Figure 7-50 shows a comparison
| between a job that is a secondary thread and a job that is not a secondary thread.
| 9/24/98 7:4ð:ð8 Seize/Lock Wait Statistics by Time of Day Page 1
| TOD of Length Object Record
| Wait of Wait L Requestor's Job Name Holder's Job Name Type Object Name Number
| -------- ------- - ---------------------------- ---------------------------- ------ -------------------------------- ----------
| 13.ð1.28 179 MNTASK QPADEVððð9 SUSTAITA ð13917 LIB QUSRSYS
| 13.ð4.4ð 2ð TPCRTMAX ðððððð57 ð13922 TPCRTMAX SUSTAITA ð13923 LIB QUSRSYS
| Member LOCKDATA Library RWSDATA Period from ðð.ðð.ðð through 23.59.59 ð ms minimum wait
| 9/24/98 7:4ð:ð8 Seize/Lock Wait Statistics Summary Page 2
| Locks Seizes
| Requestor's Job Name Count Avg Length Count Avg Length
| ------------------------------------- ------------- ------------- ------------- -------------
| MNTASK 2 1ð4
| TPCRTMAX SUSTAITA ð13922 ððððððB8 1 193
| Member LOCKDATA Library RWSDATA Period from ðð.ðð.ðð through 23.59.59 ð ms minimum wait
Lock Report–Summary
| 9/24/98 7:39:48 Seize/Lock Wait Statistics Summary Page 1
| Locks Seizes
| Requestor's Job Name Count Avg Length Count Avg Length
| ------------------------------------- ------------- ------------- ------------- -------------
| QPADEVðððC SUSTAITA ð7929ð 4 9ð,394
| QPADEVðð15 SUSTAITA ð79291 4 117,47ð
| QPADEVðð25 SUSTAITA ð79139 4 91,2ð3
| Member LOCKDATA Library RWSDATA Period from ðð.ðð.ðð through 23.59.59 5ðð ms minimum wait
| 9/24/98 7:39:48 Seize/Lock Wait Statistics Summary Page 2
| Locks Seizes
| Holder's Job Name Count Avg Length Count Avg Length
| ------------------------------------- ------------- ------------- ------------- -------------
| QPADEVðððB SUSTAITA ð79289 6 77,39ð
| QPADEVðððC SUSTAITA ð7929ð 3 129,ð22
| QPADEVðð15 SUSTAITA ð79291 3 114,954
| Member LOCKDATA Library RWSDATA Period from ðð.ðð.ðð through 23.59.59 5ðð ms minimum wait
| 9/24/98 7:39:48 Seize/Lock Wait Statistics Summary Page 3
| Object Locks Seizes
| Type Object Name Count Avg Length Count Avg Length
| ------ -------------------------------- ------------- ------------- ------------- -------------
| DS QREXSRC SUSTAITA CRTETH 5 69,ð95
| MQLOCK QMH MESSAG E QUEUE LO 3 123,276
| PGM DMPSPC SUSTAITA 4 12ð,24ð
| Member LOCKDATA Library RWSDATA Period from ðð.ðð.ðð through 23.59.59 5ðð ms minimum wait
If a value is too large to fit in the allotted space, a 9 is printed in each numeric field
in the report.
The information included in this section includes only valid interactive jobs with
CPU activity different than zero, or with any I/O activity.
The information included in this section includes only valid non-interactive jobs with
CPU activity different than zero, or with any I/O activity.
Member . . . : R2162B Model/Serial . : 53ð-ðð1ð/1ð-16B7D Main storage . . : 4ð96.ð M Started . . . : ð3/21/96 ð8:37:14
Library . . : R21626ð827 System name . . : ABSYSTEM Version/Release . : 3/7.ð Stopped . . . : ð3/21/96 ð9:ð7:15
Select Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
If a value is too large to fit in the allotted space, a 9 is printed in each numeric field
in the report.
Note: The Pool Report is produced from the sample data collected by the
STRPFRMON command.
For samples of each section of the Pool Report, see “Sample Pool Interval
Reports.”
Subsystem Activity
The Subsystem Activity section of the Pool Interval Report gives the performance
information on the subsystems during each selected interval. One line is printed for
each subsystem and active pool combination that existed during each selected
interval.
Pool Activity
The Pool Activity section of the Pool Interval Report gives the performance informa-
tion on the storage pools at various time intervals. One line is printed for each
active pool that existed during each selected interval.
Pool Activity–Sample
Member . . . : R2162B Model/Serial . : 53ð-ðð1ð/1ð-16B7D Main storage . . : 4ð96.ð M Started . . . : ð3/21/96 ð8:37:14
Library . . : R21626ð827 System name . . : ABSYSTEM Version/Release . : 3/7.ð Stopped . . . : ð3/21/96 ð9:ð7:15
Select Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
Omit Parameters
Pools - ð1 ð2 ð3 ð4 ð5 ð6 ð7 ð8 ð9 1ð 11 12 13 14 15 16
Jobs - ð12345/Useridwxyz/Jobname123
987654/Useridabcd/Jobname456
If a value is too large to fit in the allotted space, a 9 is printed in each numeric field
in the report.
Information is shown for all disk arms that are configured on the system. Also, the
disk arm with the highest utilization and the disk arm with the highest average seek
time for each time interval are shown. Consistent disk arm utilization at or above
the threshold value will affect system performance and cause longer response
times and/or less throughput.
Information is shown for each disk arm that is configured on the system. Con-
sistent disk arm utilization at or above the threshold value will affect system per-
formance and cause longer response times and/or less throughput.
SDLC Protocol
Figure 7-64 on page 7-82 is a sample of the report section for communications
lines using the synchronous data link control (SDLC) protocol. The data in this
example is sorted by the data collection interval end times.
X.25 Protocol
Figure 7-65 on page 7-82 is a sample of the report section for communications
lines using the X.25 protocol.
TRLAN Protocol
Figure 7-66 on page 7-83 is a sample of the report section for communications
lines using the token-ring local area network (TRLAN) protocol.
DDI Protocol
Figure 7-68 on page 7-84 is a sample of the report section for communications
lines using the distributed data interface (DDI) protocol.
FRLY Protocol
Figure 7-69 on page 7-84 is a sample of the report section for communications
lines using the frame relay (FRLY) protocol.
ASYNC Protocol
Figure 7-70 on page 7-85 is a sample of the report section for communications
lines using the asynchronous (ASYNC) protocol.
Note: A protocol data unit (PDU) for asynchronous communications is a variable-
length unit of data that is ended by a protocol control character or by the
size of the buffer.
BSC Protocol
Figure 7-71 on page 7-85 is a sample of the report section for communications
lines using the binary synchronous communications (BSC) protocol.
IDLC Protocol
Figure 7-74 on page 7-87 and Figure 7-75 on page 7-87 are samples of the report
section for communications lines using the ISDN data link control (IDLC) protocol.
Figure 7-75 on page 7-87 indicates which B-channel the IDLC line was using
during the interval.
Related Information
IOP Utilizations
The IOP Utilizations section of the Resource Interval Report contains a combination
of the following input/output processor (IOP) utilizations:
Disk IOP utilizations
Gives input/output processor (IOP) utilization for direct access storage devices
(DASDs). Consistent Disk IOP utilization at or above the threshold value affects
system performance and causes longer response times and/or less throughput.
Multifunction IOP utilizations
See the sample report shown in shown in Figure 7-76 on page 7-88.
Note: The total for the I/O processor utilization oftentimes does not match the sum
of the three columns (IOP Processor Util Comm, IOP Processor Util LWSC,
and IOP Processor Util DASD). This mismatch is caused by the utilization of
other small components, such as system time.
The response time intervals are set up on the system STRPFRMON command.
The values for the response times may vary depending on the values you use in
the command.
The response time intervals are set up on the system STRPFRMON command.
The values for the response times may vary depending on the values you use in
the command.
Note: This section appears only if a 5494 remote controller is included in the data
collection.
Figure 7-72. Resource Interval Report: Communications Line Detail - ISDN Network Interface
Member . . . : MONDAY Model/Serial . : 2ðð-2ð5ð/1ð-15ðð5ðð Main storage . . : 16ð.ð M Started . . . : 11/ð2/95 14:31:23
Library . . : QPFRDATA System name . . : ABSYSTEM Version/Release . : 3/ 6.ð Stopped . . . : 11/ð2/95 16:26:12
IOP Percent
Name/ Percent Severely -----Detected Access----- Far End
Itv Network Line Errored Errored ----Transmission Error--- Code
End Interface Speed Seconds Seconds In Out Violation
----- ---------- -------- ------- -------- ---------- ---------- ----------
CC11
(2623)
Figure 7-73. Resource Interval Report: Communications Line Detail - NWI Maintenance Channel
IOP Utilizations–Sample
Figure 7-77. Resource Interval Report: Local Work Station Response Times
Figure 7-78. Resource Interval Report: Remote Work Station Response Times
Job Summary
The Job Summary section of the Batch Job Trace Report gives the number of
traces, the number of I/O operations, the number of seize and lock conflicts, the
number of state transitions for each batch job.
Using parameters on this command, you can specify a combination of reports and
files to be built in a single run, select specific time ranges and jobs, and limit the
In the QTRTSUM file, the summary data represents the activity for the transaction.
In the QTRJOBT file, the summary data represents activity that has occurred since
the last TSE or other multiprogramming level trace record.
QTRJSUM File
The job summary file QTRJSUM contains one record for each job or task listed on
the PRTTNSRPT job summary report.
The field names shown below without asterisks contain information taken directly
from the QAPMDMPT file. Field names shown below with an asterisk (*) in front of
them contain information created by the transaction report. Unless otherwise speci-
fied, numeric values are in decimal.
Resource management data. The following three fields contain valid information only for records that have
DTID=X'68' (Resource Management Trace).
The following five fields can have data that is not valid if the object was destroyed before the trace was dumped
to the QAPMDMPT file.
Transaction boundary information. These fields contain valid information only for trace records with DTID = X'AB'
or X'AC'.
Figure 7-80. Equation for the Estimated Number of Active Work Stations
Event Wait /Tns (Transaction) The average time, in seconds, of the event-wait
time per transaction.
Often requests made by a job that runs on the system are made to
asynchronous jobs. These asynchronous jobs use an event to signal
completion of the request back to the requester. The event-wait time is
the time the requesting job waits for such a signal.
EVT (Transaction) Listed in the Wait Code column, Event Wait. This is a long
wait that occurs when waiting on a message queue.
Exception Type (Component) Type of program exception that results from the
internal microprogram instructions being run in internal microprogram
instructions procedure. Because these exceptions are monitored at a
low level within the system, it is difficult to associate these exceptions
with specific end-user operations. The counts are meaningful when the
processing unit time required to process them affects system perform-
ance. A variation in the counts may indicate a system change that could
affect performance. For example, a large variation in seize or lock
counts may indicate a job scheduling problem or indicate that contention
exists between an old application and a new one that uses the same
resources.
| Note: To see the seize and lock counts, you should collect the trace
| data by using the Start Performance Monitor (STRPFRMON)
| command and specifying TRACE(*ALL). Run the Print Trans-
| action Report (PRTTNSRPT) to list the objects and jobs that are
| holding the locks.
1 These codes are in the wait code column, but they are not wait codes. They indicate transaction boundary trace records. For more
information see Chapter 8, “Transaction Boundaries—Manager Feature” on page 8-1.
| Active Time − [
| (multiplier X CPU X Beginning Activity Level) +
| (Number of synchronous disk I/O operations X .ð1ð)]
Figure 7-81. Formula for Excessive Activity-Level Time
2 These codes are in the wait code column, but they are not wait codes. They indicate transaction boundary trace records. For more
information see Chapter 8, “Transaction Boundaries—Manager Feature” on page 8-1.
Figure 7-83 shows the possible job state transitions. For example, from
W to A is y, or yes, which means it is possible for a job to change from
the wait state to the active state.
To state
A = Active state
A W I W = Wait state
From I = Ineligible state
state A y y y
W y - y
I y - -
RV2S087-0
User Name (Component, Transaction, Job Interval, Batch Job Trace) Name of the
user involved (submitted the job, had a conflict, and so on.)
| User Name/Thread (Transaction) If the job information contains a secondary
| thread, then this column shows the thread identifier. If the job informa-
| tion does not contain a secondary thread, then the column shows the
| user name.
| The system assigns the thread number to a job as follows:
| The system assigns thread IDs sequentially. When a job is started
| that uses a job structure that was previously active, the thread ID
| that is assigned to the initial thread is the next number in the
| sequence.
| The first thread of a job is assigned a number.
| Any additional threads from the same job are assigned a number
| that is incremented by 1. For example:
| Job Name User Name/ Job Number
| Thread
| QJVACMDSRV SMITH ð23416
| QJVACMDSRV ððððððð6 ð23416
| QJVACMDSRV ððððððð7 ð23416
| QJVACMDSRV ððððððð8 ð23416
| A thread value greater than 1 does not necessarily mean the job
| has had that many threads active at the same time. To determine
| how many threads are currently active for the same job, use the
| WRKACTJOB, WRKSBSJOB, or WRKUSERJOB commands to find
| the multiple three-part identifiers with the same job name.
User Starts (Component) The number of start journal operations initiated by the
user.
User Stops (Component) The number of stop journal operations initiated by the
user.
User Total (Component) The total number of journal deposits resulting from
system-journaled objects.
Util (Component, Resource Interval) The percent of utilization for each local
work station, disk, or communications IOP, controller, or drive.
Note: The system-wide average utilization does not include data for
mirrored arms in measurement intervals for which such intervals
are either in resuming or suspended status.
Util 2 (Component, Resource) Utilization of co-processor.
3 These codes are in the wait code column, but they are not wait codes. They indicate transaction boundary trace records. For more
information see Chapter 8, “Transaction Boundaries—Manager Feature” on page 8-1.
When the Transaction Report counts transactions, it uses only state transactions.
For example, when a job goes from wait to active state, this marks the beginning of
a transaction. When a job goes from active to wait, the transaction is considered
ended. For the display I/O transactions and the data queue transactions, you can
specify values *DI and *DQ. These values use existing transaction boundary trace
records to count transactions instead of the wait-to-active state transition.
This chapter provides information about the following types of system transactions:
Display I/O information
SNA performance measurements
APPN control point performance
APPC protocol
Performance measurement and SNADS
SNADS sample data
SNADS performance notes
Pass-through
Licensed Internal Code server
Data queue transactions
Workstation AS/400
6 5 4
1 2 3
Application
RV2S090-1
The numbers 1 through 6 in the following list refer to the same numbers in
Figure 8-1.
1 The user presses the Enter key or a function key. This begins the
response time period perceived by the user. However, the system does
not recognize the beginning of the transaction until step 2.
The end of the System Measured Response Time. The next transaction
may begin. Resource usage by the transaction is measured at this point.
This may coincide with the End of Resource Utilization Time (EOR). Any
Active-Wait transition is included here.
This is a trace data point.
6 System response displayed to user.
1 The SOT, EOR, and EOT abbreviations appear on the Transition Report. For an example of a Transition Report, see Figure 7-49
on page 7-62.
Performance data is collected for a controller description only after the controller is
varied on and at least one connection has been established with the adjacent
system. Performance data is not collected after the controller description is varied
off.
The QAPMSNA file contains the SNA performance measurements. The fields in the
QAPMSNA file are categorized as follows:
Correlation fields
Correlation Fields
Correlation fields include external configuration names and internal task names that
allow the performance measurements to be correlated to other parts of the system.
Correlating the SNA performance measurements with other parts of the system is
important. The following correlation fields are defined:
SCTLNM Names the APPC or host controller description.
SLINNM Names the line description that is attached to the controller description.
If *LOCAL is specified for the link type parameter on an APPC controller
description, this field is blank.
STSKNM Identifies the T2 station IOM task that provides services for the controller
description. The QAPMJOBS performance monitor file contains informa-
tion about processing unit use and disk unit accesses for this task.
SLIOMT Identifies the line IOM task that provides services for the line description.
The QAPMJOBS performance monitor file contains information about
processing unit use and disk unit accesses for this task.
Note: Because the line IOM task could service multiple station IOM
tasks, the processing unit use and disk unit access data may not
be attributed to a single station IOM task or controller
description. For example, multiple controller descriptions are
often attached to a single LAN line description.
SACPNM Names the adjacent control point. If the controller description is not
APPN capable, this field may be blank. The adjacent CP name can be
used to correlate with data displayed by the Display APPN Information
(DSPAPPNINF) command.
SANWID Names the adjacent network ID. The adjacent network ID can be used
to correlate with data displayed by the DSPAPPNINF command.
SAPPN Indicates whether or not the controller description is APPN capable. If
the system uses the APPN support, additional performance measure-
ments can be found in the QAPMAPPN performance monitor file.
SCTYP Indicates whether the controller description is an APPC or host con-
troller.
Connection Fields
Connection fields measure the frequency with which connections are established
with the adjacent system.
A connection is established with the adjacent system when the status of the con-
troller description goes from varied off or vary on pending to varied on or active.
You can view this status using the Work with Configuration Status (WRKCFGSTS)
command.
The T2 SIOM task provides services for the controller description. The processing
unit utilization and disk unit accesses for the T2 SIOM task are contained in the
QAPMJOBS performance monitor file. A description of that file can be found in the
Work Management book.
There are two session types: end point and intermediate sessions. End point
session traffic is created by the following device types:
APPC devices
Host devices (for example: 3270 emulation, RJE)
DHCF display devices
NRF display and printer devices
There are four priority levels: network, high, medium and low. Network priority
session traffic is created by the following:
APPN
SNA change to the number of sessions
Alert support
The first two characters of the session traffic field name represent the session type
and priority level. The first character specifies the session type:
E End point
I Intermediate
The remaining four characters represent the function of the field. Figure 8-2 on
page 8-8 shows the layout of the session traffic fields in the QAPMSNA file.
Note: Throughout the remainder of this section, the first two characters of the
session traffic fields are replaced with the prefix tp to generically refer to
any session type and priority level combination.
Sending Data
The SNA processing required to send data can be classified into the following
stages:
Session-level pacing
Internal session-level pacing
Transmission priority
Line transmission
Session-Level Pacing
Session-level pacing is a technique that allows a receiving session to control the
rate at which it receives request units on the normal flow. It is used primarily to
prevent a receiver with unprocessed requests from overloading because the sender
can create requests faster than the receiver can process them.
ELffff
.
. End Point Session/Low Priority
.
INffff
.
. Intermediate Session/Network Priority
.
IHffff
.
. Intermediate Session/High Priority
.
IMffff
.
. Intermediate Session/Medium Priority
.
ILffff
.
. Intermediate Session/Low Priority
.
tpSPWT Specifies the cumulative amount of time that application data was
waiting for a pacing response to be received.
tpSPNW Specifies the number of times that application data was waiting for a
pacing response to be received.
tpSPPW Specifies the total number of pacing windows, which is the potential
number of times that application data could have waited for a pacing
response to be received.
tpSPWS Specifies the cumulative pacing window size.
The following information can be derived from the session-level pacing fields:
The average amount of time spent waiting for a pacing response to be received
is: tpSPWT/tpSPNW.
The percentage of times application data waited for a pacing response to arrive
is: (tpSPNW*100)/tpSPPW.
The average pacing window size is: tpSPWS/tpSPPW.
The INPACING and OUTPACING parameters in the mode description are used to
calculate the limit. The limit used for a given session is (2*n)-1, where n is the
INPACING or OUTPACING parameter. On a slow speed line, it may be necessary
to configure a small limit for batch traffic and a larger limit for interactive traffic to
ensure acceptable interactive response time.
The following information can be derived from the internal session-level pacing
fields:
The average amount of time spent waiting because of internal session-level
pacing is: tpIPWT/tpIPNW.
Transmission Priority
Transmission priority determines the criteria for being selected for transmission to
the adjacent system by allowing different priority levels to be assigned to session
traffic. Three user-defined priorities are defined: high, medium and low. Network pri-
ority is reserved for APPN and SNA control traffic. Interactive traffic is typically
assigned high priority, and batch traffic is typically assigned medium or low priority.
Line Transmission
Performance data is collected to quantify the amount of time required to success-
fully transmit data to the adjacent system. This measurement period begins after
the data leaves the transmission priority queue and ends when the data is success-
fully delivered to the adjacent system.
The following information can be derived from the line transmission fields:
The average length of a delivered request unit is: tpLRUD/tpNRUD.
The average amount of time to deliver a request unit is: tpTRUD/tpNRUD.
Note: This data does not provide an accurate measurement of line utilization
because only a portion of the data being transmitted on the line is meas-
ured.
Receiving Data
Performance data is collected to record the number of request units and cumulative
length of data that is received.
The intermediate session work load can be reduced by decreasing the maximum
intermediate sessions parameter in the network attributes, or decreasing the pacing
counts configured on the end point systems. The AS/400 system configures the
pacing counts on the OUTPACING and INPACING parameters on the mode
description.
The priority level is configured in the Transmission priority parameter on the class-
of-service description.
The QAPMAPPN file does not contain any information regarding session traffic.
APPN session traffic data is maintained in the file QAPMSNA. There is a set of
measurements for each active controller description on the system. The
Topology Maintenance
These work activities maintain the APPN topology database. The APPN topology
database allows routes through the APPN network to be calculated, based on a
class-of-service selected by the user initiating a session. You can display how often
the topology database is viewed using the Display APPN information
(DSPAPPNINF) command.
Topology maintenance can account for a large amount of processing unit and disk
unit accesses. In general, the amount of resource required for topology mainte-
nance grows as networks become larger and as the APPN network becomes
unstable. The instability of a network is caused by frequently activating and deacti-
vating transmission groups or by having line failures and systems failures in the
network. Following are some key terms regarding topology maintenance and a
short explanation of how these work activities affect performance:
Transmission group (TG) update A TG update occurs when a controller
description on the local system has a status change (for example, it
changes from inactive to active). When the TG defines a connection
between two network nodes, this causes the local system to send a
topology database update.
Topology database update (TDU) A TDU is the device used to broadcast a status
change of a resource in the intermediate routing portion of an APPN
network. An AS/400 system sends TDUs for several different reasons. A
TDU is a general data stream (GDS) variable that can block information
about multiple resources into a single entity. Thus, if the topology
routing services (TRS) component receives multiple TG updates, it can
block these together into a single TDU. TDUs are distributed to every
network node in the APPN network that is connected to the remaining
systems in the network using control point sessions.
Node congestion updates These occur when a network node has a status change
in its capacity for performing intermediate routing. On the AS/400
system, node congestion is based simply on the number of intermediate
sessions that are currently active. Node congestion updates cause the
local system to send TDUs.
These measurements are maintained on a network node to show the effort involved
in processing received location registration and deletion requests from attached end
nodes. Various conditions cause an end node to send in registration and deletion
requests (for example, the activation of a control point session, or a configuration
change). The conditions that cause an end node to send these requests can be
found in the configuration and control point session performance measurements.
Multiple locations can be included in a single registration request (such as when an
end node is registering all of its locations following control point session activation).
There are various details associated with the activation and deactivation of control
point sessions. Contention winner control point sessions are primarily used for
sending data (TDUs, directory searches). Contention loser control point sessions
are used to receive control point data from other systems. The activation of a con-
tention winner CP session has many similarities to the activation of a user session.
The steps involved with the activation of a session (single hop route requests, acti-
vate route requests, device selection) are discussed in “Session Setup Work
Activity Details” on page 8-19.
When the local system is an end node and it activates a control point session to its
network node server, all of the local locations are registered with the network node.
To best utilize the APPN performance measurements, the control point presentation
services measurements (CPPS) should be analyzed first. These measurements
provide a summary of the data traffic over the control point sessions for the various
APPN transaction programs. This summary discusses on the correct APPN work
activities and isolates any APPN performance problems. For example, if a time
interval shows a high number of directory services transactions and only a limited
number of topology database updates, the session setup measurements, instead of
the topology maintenance measurements, should be checked.
This information is provided for all of the different APPN transaction programs.
These transaction programs are:
Control point (CP) capabilities Used to send and receive control point capabilities
to adjacent systems immediately after activating control point sessions.
In general, running CP capability transaction programs should only
slightly affect system performance.
Topology database update Used to send and receive TDUs. TDUs are sent on
contention winner CP sessions and received on contention loser CP
sessions. TDUs can significantly affect performance for network nodes.
If the CPPS measurements seem abnormally high (compared to other
time intervals), check the topology maintenance data to determine the
cause of the increase.
The activities performed and the resources used vary between APPN end nodes
and network nodes. Because APPN session setup is a function distributed between
multiple systems, it is necessary to classify session setup work into different work
activities.
Each of these work activities causes different types of work to run on the local
system. Refer to “Session Setup Work Activities” on page 8-17 for a description of
the session setup work activities. Refer to “Session Setup Work Activity Details” on
page 8-19 for a description of measurable work details associated with session
setup. Many of these details are common between the different work activities. The
sample data for session setup keeps separate counts and cumulative elapsed times
for the different work activities being performed.
Following are explanations of some of the key terms of the work activity details:
Initial screening These measurements are functions performed by the location
manager and the control point manager tasks. These measurements
indicate how many new sessions need to be started (which require full
control point services to complete the request) and session requests sat-
isfied by using existing bound sessions. There are also measurements
to count session initiation requests that get pended by the control point.
The pending of session initiation requests improves performance
because the directory search, route selection, and switched link acti-
vation phases need only be done once for multiple session initiation
requests received.
Directory search processing This step involves determining the control point that
owns the target system of a session initiation request. The APPN parts
that are most affected by directory search processing are DS and
CPPS. The effect of search processing on performance is greater on a
network node than on an end node because of the various roles that a
network node can have in search processing. Because a network node
processes the first positive response it receives on a search request and
sends this to the search originator, a network node can still process a
search request after the work activity that started the request has com-
pleted. Even though the bind for a session may have already been sent,
a network node may still be processing subsequent search responses
received from other nodes. The directory search processing phase can
be an asynchronous process if searches are sent to other systems,
which can account for increased values in various cumulative elapsed
time measurements.
Route selection Route selection is carried out by the TRS task. There are different
types of routes that TRS calculates. A single hop route is done by an
end node (when an end node has not received routing information from
a network node server). A single hop route is also done for establishing
a control point session. Request route processing is done by network
nodes for establishing end-to-end routes based on a particular class-of-
service.
Switched link activation This processing is primarily carried out by the machine
services control point (MSCP) task. MSCP receives activate route
requests to start switched link activation sequences. There are many
reasons for delays in this step (such as waiting for operator intervention
to answer a message or dial a switched connection). This step can also
cause a controller description to be automatically created by the oper-
ating system (which can also cause a delay).
Device selection This processing measures the number of times that the T2
station IOM task is requested to select a device description. This step
can lead to the automatic creation and/or vary on of device descriptions.
APPC Protocol
For APPC, there are two types of transactions for which the Performance Tools
collect sample data: inbound and outbound.
An outbound transaction begins when the request is issued and ends when the
complete response is received. An inbound transaction begins when a request is
received and ends when a response is sent.
The transaction timings provide a picture of how much time is spent in processing a
transaction on the local and remote systems.
Program Program
6 3
5 1 2 4
Comm line
RV2S089-3
The following ratios of fields found in the QAPMJOBS file are effective performance
indicators:
JBPUTA/JBPUTN The average number of bytes per put operation. Larger values
indicate greater efficiency because fewer put operations are necessary.
JBPUTA/JBRTI The average number of bytes buffered per transmit (request). Put
operations made by system A go into a communications buffer. The
system transmits the contents of the buffer when it fills up with oper-
The following ratios of fields found in the QAPMJOBS file are effective performance
indicators:
JBGETA/JBGETN The average number of bytes per get operation. Larger values
indicate greater efficiency because fewer get operations are necessary.
JBGETA/JBRRI The average number of bytes made available to the program in a
buffer. The receiving system buffers data received until the buffer fills up
or until an operation (on the transmitting system) requires the immediate
delivery of data to the receiving program.
Notes:
1. A series of multiple put operations can be created by system A. At the end of
these put operations, system A effectively passes control to system B through a
change direction (CD) operation. System B can complete its first get operation
when a buffer of data arrives from system A. It can process subsequent put
operations from system A as it receives them. However, it cannot send any
data back to system A until it receives the change direction (CD) indication.
2. System A's put operations can overlap system B's get operations.
Knowledge of the application design, along with performance data from both
system A and system B, allows you to analyze the application's performance. Using
the outbound time (in the JBPGIL field in the QAPMJOBS file) on the local system
The Work Management book contains complete information on all the APPC infor-
mation collected by the performance monitor.
Performance tuning for SNADS jobs may involve adjusting the job priority or other
attributes contained in the job class or job description. A description of each job
and the characteristics important for performance analysis and tuning is provided in
Work Management. Unless otherwise noted in the detailed sections, SNADS jobs
have the following common characteristics:
All are submitted using the QSNADS job description.
A separate routing entry exists in the QSNADS subsystem for each type of
SNADS job. This allows the customer to identify different job classes (priority)
for each. The default is class QSNADS, which has a run priority of 40.
All run under the QSNADS or QGATE user profile.
All internal distribution objects (those not visible to the user) created by SNADS
are owned by the QSNADS user profile. This identifies how much system
storage is being used by distribution activities.
SNADS Transaction
A SNADS transaction and a distribution within a SNADS job generally have a one-
to-one relationship. A SNADS transaction is the processing done by a SNADS job
as it handles a distribution. Each distribution processed is considered a transaction,
including both distributions processed successfully and distributions processed with
errors.
SNADS Router
The QSNADS router function is the heart of SNADS. All distributions that flow
through SNADS are processed by the router. It uses the system directory and dis-
tribution services configuration to determine what queue or queues to put the dis-
tribution on.
A router transaction begins when the router finds a distribution on its queue. The
transactions ends when the distribution has been placed on all applicable queues
and removed from the router queue.
SNADS Receiver
The SNADS receiver function is a job that runs in response to a SNADS remote
sender opening a session and doing an APPC evoke operation. The SNADS
receiver manages the receive side communications protocol for the SNADS conver-
sation.
A receiver transaction begins when the receiver receives distribution data from the
sender. The distribution data is separated and stored in an internal control block. A
file server object is created if the distribution carried one. The distribution is put on
an internal queue for the SNADS router to process. The receiver then logs and
sends confirmation to the sender function. The transaction ends when the confir-
mation request is complete or the job ends for any reason (for example, a commu-
nications error).
SNADS Sender
The SNADS sender function manages the send side communications protocol for
the SNADS conversation. It starts the remote receiver and sends any available dis-
tributions (queued on its distribution queue) to the remote system. SNADS senders
service *SNADS type distribution queues.
When send conditions are met or they end, a certain amount of overhead is
required to establish or end communications. This is not included in the sender
transaction (resource use time); it is, however, included in the overall job statistics.
If errors occur during this activity, the sample data error count is incremented along
with the active transition count but no other transaction data or counts will change.
A sender transaction begins when the sender dequeues the next distribution to be
sent (send conditions were previously met and a session is active). Distribution
data is put into code and sent to the receiver. If a file server object is present, that
data is read and sent with the distribution. The sender waits for the receiver to
confirm the distribution, at which time it is logged and removed from the distribution
queue. This ends the transaction. The transaction can also be ended by any error
that is detected during processing.
SVDS Receiver
The SVDS receiver function is a job that runs in response to an SVDS remote
sender opening a session and doing an APPC evoke operation. The SVDS receiver
manages the receive side communications protocol for the SVDS conversation.
A receiver transaction begins when the receiver receives distribution data from the
sender. The distribution data is separated and stored in an internal control block. A
file server object is created if the distribution carried one. The distribution is put on
an internal queue for the SNADS router to process. The receiver puts a completion
report message unit on a queue. This ends the transaction. The transaction can
SVDS Sender
The SVDS sender function manages the send side communications protocol for the
SVDS conversation. It starts the remote receiver and sends any available distrib-
utions (queued on its distribution queue) to the remote system. SVDS senders
service *SVDS type distribution queues.
The sender does not establish a communications session or send any distribution
unless its distribution-queue conditions or states allow it.
When send conditions are met or they end, a certain amount of overhead is
required to establish or end communications. This is not included in the sender
transaction (resource use time); it is, however, included in the overall job statistics.
If errors occur during this activity, the sample data error count is increased along
with the active transition count. No other transaction data or counts will change.
A sender transaction begins when the sender dequeues the next distribution to be
sent (send conditions were previously met and a session is active). Distribution
Gateway senders are similar in every respect to SNADS senders except that
SNADS does not handle any communications nor does it matter if the distribution
ever leaves the local system. Based on the same queuing controls as SNADS
senders, distributions are handed over to the appropriate bridge function. When the
bridge function confirms that it has successfully received (or processed) the distrib-
ution, the distribution is removed from the SNADS queue.
The transaction begins when it is time to send and a distribution is found on the
queue. The distribution data is put into code for the bridge function along with any
file server object. The gate sender waits for a response from the bridge indicating
the distribution was sent; then the distribution is logged and removed from the
queue. This ends the transaction. Any error detected by the gateway sender or an
error response from the bridge would also end the transaction.
Gateway senders have the same characteristics as the SNADS senders except:
The job's user profile is QGATE.
The subsystem routing entry compare value is 'QGATEWAY'.
Table 8-2 summarizes the sample data supported for each SNADS function.
This sample data does not include resources used for local distribution (from a local
user to a local user). SNADS involvement is limited to asynchronous remote distrib-
ution. This includes remote systems sending mail to the local system, the local sys-
tem's role as an intermediate node, and local distribution to a remote system.
For SNADS receivers, routers, and senders, the job data reflects the real proc-
essing time, and for receivers and senders it also reflects the APPN/APPC
resources used. Gateway senders are a little different in that the data is only
handed over to a bridge function; there may be additional processing in other jobs.
No communications take place in a gateway sender.
Note: Although SVDS senders are defined with user profile QGATE, they do use
communications.
Resource Use Time (SNRUT): This indicates how long it took the job to process
the transaction. It is a function of system loading, relative job priorities, and commu-
nications line speed (receivers/senders). Another important cause is the size of the
Longer resource use times (especially for senders) also mean longer transaction
times for subsequent queued distributions.
Size (FSO) (SNTRT): Some distributions are very small (for example, messages)
and do not require much communications resource to transfer. Other distributions
can carry data objects or documents. In addition to the obvious effect on communi-
cations, these distributions require added resource and processing time to be
stored on or copied from the local system (only one copy is made).
The amount of data being carried increases all resources and measurements asso-
ciated with the job.
The FSO count (SNFSO) provides a comparison between the number of trans-
actions with and without file server objects. Message distributions do not file server
objects associated with them. The FSO byte count (SNFSOB) also indicates how
much data is being moved by the distributions carrying FSOs.
Errors: The error count should normally be very low or 0. Some router errors may
be expected and reflect an user ID that is not valid or a system that was not
entered in the routing table. Some sender errors may be expected if the remote
system is down or there is a line problem.
In this case, the error count (SNERR) and active transitions count (SNATN)
increase without affecting other transaction counts and data.
If line performance is a problem, error rates for senders and receivers may indicate
that the line is not staying up long enough to complete sending of a distribution,
causing distributions to be sent multiple times.
Recipients: The recipient count (SNNRC) indicates how many users are in the
destination list of the distribution. These may be individual users or names of dis-
tribution lists that expand at the destination systems. The number of recipients has
a major effect on the router but little effect on senders and receivers.
Transitions and Queuing Time: The active transitions count indicates how often
the job was waiting for a distribution to process (provided other controls did not
prevent activity) or how often a sequence of one or more distributions was proc-
essed. Queuing time is a measure of distribution delay. Queuing time is the differ-
ence between transaction time and resource use time.
For the router, job transitions are not expensive. A high transition rate indicates
that the router is moving distributions quickly. A low transition rate combined
with longer queuing times may indicate that the router's job priority is too low
for the distribution rate.
For the first transaction type (request from a personal computer), both the time the
request is received and the time the request is finished are logged. For the
Licensed Internal Code requests, the times should be very short. Locks/Unlocks
typically are only one or two milliseconds. Reads/Writes depend on how much
input/output needs to be done. Change End of File, Force Buffers, and Resets of
files are also handled.
Personal computer functions like the copy or type function are classified into mul-
tiple requests (usually list file attributes, open file, read/write, and close). Only the
times for read and write requests are logged.
The second transaction type described (replies sent to the personal computer) logs
the amount of time it takes for T2 to respond to the file server stating that the reply
(from the file server to the personal computer) has been sent. This is done for com-
mands handled by both the OS/400 program and the Licensed Internal code. Also,
a single command from the personal computer, like a read request, could result in
PC Application 2 Server
1
3
8 5 4
6 7
RV2S072-3
The transaction times start after the server gets the request and end before a reply
is sent.
The total transaction time (in seconds) is stored in the JBRSP field in the
QAPMJOBS file. The number of transactions (5250 only) is stored in the JBNTR
field in the QAPMJOBS file. These fields are also updated by display I/O trans-
actions and by pass-through transactions.
Pass-Through Transactions
Enter 3 4
1 2
View 4
Display 6 5
RV2S071-1
Program A Program B
RV2S091-1
Data Queue
The total application queuing time (in hundredths of a second) is stored in the
JBAIQT field in the QAPMJOBS file. The number of application queuing trans-
actions is stored in the JBNAIQ field in the QAPMJOBS file. These fields are
also updated by display I/O transactions. This also starts the resource utiliza-
tion time.
3. Program B dequeues the next data. This ends the resource utilization time.
The total resource usage time (in seconds) is stored in the JBRUT field in the
QAPMJOBS file. The number of resource usage transactions is stored in the
JBNRU field in the QAPMJOBS file. These fields are also updated by display
I/O transactions.
Summary—Manager Feature
Two distinct types of graphs can be displayed: performance graphs and historical
graphs. Performance graphs use the performance data collected from a single run
of the performance monitor. Performance graphs are useful for singling out jobs
that are performing poorly or evaluating the activities performed by a user or class
of users on the system during a specified period.
Historical graphs use performance data collected from several runs of the perform-
ance monitor. Historical data is the summary of the performance data created by
the STRPFRMON command. The Create Historical Data (CRTHSTDTA) command
is used to summarize the performance data for use by the historical graphs. Histor-
ical graphs are used to show how the performance of a system has changed over
time.
When you select option 9 (Performance graphics) on the IBM Performance Tools
menu, the Performance Tools Graphics menu appears.
Selection or command
===> __________________________________________________________________
_______________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant
F16=System main menu
á ñ
You can also reach this menu by typing the Start Performance Graphics
(STRPFRG) command on the command line of any display. From this menu, you
can work with performance data in a graphical format.
Graph packages allow you to group several graph formats into a single entity. This
is useful for printing, displaying, or plotting a number of graphs at once. Instead of
having to issue several DSPPFRGPH or DSPHSTGPH commands to print several
graphs, you can use the package name (one command) to print all of the graphs in
the graph package. Also included in QPFRDATA is a predefined graph package,
QIBMPKG, which contains the 15 IBM standard graph formats.
If you select option 1 (Work with graph formats and packages) on the Performance
Tools Graphics menu, the Work with Graph Formats and Packages display
appears.
à ð
Work with Graph Formats and Packages
Library . . . . . . . . . . . QPFRDATA
Format/
Option Package Type Text
_ __________ _________________________________________
_ PACKAGE1 PACKAGE Graph Package containing format w/ func. areas
_ QIBMPKG PACKAGE IBM Graph Package
_ FORMAT1 FORMAT CPU Utilization vs. Time-Functional Areas
_ NWCTEST FORMAT
_ QIBMASYNC FORMAT Asynchronous Disk I/O per Second vs. Time
_ QIBMCMNIOP FORMAT Communications IOP Utilization vs. Time
_ QIBMCPUPTY FORMAT CPU Utilization vs. Time (Priority)
_ QIBMCPUTYP FORMAT CPU Utilization vs. Time (Job Type)
_ QIBMDSKARM FORMAT Disk Arm Utilization vs. Time
More...
á ñ
This display shows you the graph formats and graph packages that exist in the
library specified in the Library field. The graph format or graph package name, a
format or package indicator, and a text description appear on the display. If you
cannot find the format or package you want to work with, use the appropriate func-
tion key to sort the formats and packages. You can sort them by name, type, or
text description. When you find the graph format or package you want to work with,
select the function you want to perform by typing the appropriate option in the
Option field and pressing the Enter key.
If you are searching for a graph format or graph package located in a library that is
different from the one currently listed in the Library field at the top of the display,
type a new library name in the field and press the Enter key. A list of the graph
formats and graph packages available in the library you specified appears. You can
then select one of them to work with.
Specify how your graphs are displayed by selecting from the following options:
Titles
X-axis data
Y-axis data
Data type
Individual line breakdown
Graph type
Line Graphs
Use line graphs to show change occurring over time. Line graphs can represent
increases, decreases, trends, and general fluctuations of quality.
80
70
60
50
40
30
20
10
0
08:00 10:00 12:00 14:00 16:00 18:00
Time
Press Enter to continue. Batch
F3=Exit F6=Print F9=Overlay Interact
F12=Cancel F16=Save GDF F17=Plot System
RV2S084-0
Each plotted point is shown by a marker; the plotted points are connected to form a
continuous line. Each line is assigned a different color. If lines overlap, the color of
the last legend entry at that point is displayed.
60 x
x
50 + x x
+
40 x
x x x x
30 + x
+ x x x x
20 + x xx x xx x x
x xx
x x x x x
10 +x x
xx
x x
x
0x
0 200 600 1000 1400 1800 2200 2600 3000
Transactions per Hour
Press Enter to continue. + Batch
F3=Exit F6=Print F9=Overlay x Interact
F12=Cancel F16=Save GDF F17=Plot System
RV2S078-0
Surface Graphs
Use surface graphs like line graphs to show changes occurring over time. Surface
graphs emphasize volume by shading the area between the lines and the X-axis if
you specify Y (yes) for the area fill option.
Note: If you do not use the area fill option in your surface graph, your graph will
be a cumulative line graph. If there is a legend entry with a value of zero to
plot, its line covers the line plotted previously because there is no change to
plot. Although shading requires more time to display or plot than simply
drawing the lines, the area fill option may show more clearly which legend
entries represent the different areas, particularly in cases where a line of
one color may cover another.
RV2S081-0
Use composite-bar graphs to show how parts comprise the entity, and how the
entity relates to other entities.
Floating-bar graphs are similar to composite-bar graphs, except that the first com-
ponent is not shown. Use floating-bar graphs to show the lower limits of each
entity, in addition to the relationship of the elements that comprise the entity.
Legends—Manager Feature
The legends displayed in the graph are controlled by the data type specified (for
example, *JOBTYPE). The maximum number of legend entries you can specify for
each data type is as follows:
Data Type Maximum Legend Entries
All 1
Job Type 16
Priority 16
Functional Area 16
IOP 2
Disk 2
Communications Line 16
á ñ
On this display, type a 1 (Select) by any graph formats that you want to include in
the graph package. If you are unsure about including a graph format in the
package, type a 5 (Display sample graph) by the format in question. This displays a
sample graph using the format selected. When you have made all of your
selections and there are only 1’s in the Option column, press the Enter key to
create the graph package.
á ñ
On this display, 1’s appear next to the graph formats that are already included in
the graph package. To eliminate a graph format from the package, replace the 1
with a blank. To add additional graph formats to the package, type a 1 (Select) next
to the graph formats you want to include. To display a sample of a graph format,
type a 5 (Display sample graph) next to the graph format and press the Enter key.
A sample graph using the graph format is displayed.
Note: You cannot change the IBM standard graph formats and graph package
(QIBMxxxxxx).
à ð
Work with Graph Formats and Packages
Library . . . . . . . . . . . QPFRDATA
Copying graph formats and packages is useful for changing a base format or
package, such as the IBM standard graph formats and package (QIBMxxxxxx).
Bottom
á ñ
On this display, type a 5 (Display sample graph) to see a sample graph displayed
using the graph format.
Notes:
1. Files are created to contain the historical data. For each performance member
with historical data, there is a single value for each type of information that can
be graphed for each day of the member’s performance collection period. Thus,
the amount of data is reduced and summarized into the historical files. Once
you have historical data for a member, you may choose to delete the perform-
ance data (DLTPFRDTA) created through the initial performance data collection
to free file storage space.
| 2. If you want to display a historical graph, select a performance data member
| that contains less than 400 intervals.
| 3. Any time a collection extends beyond midnight, each day counts as one
| member.
Because historical graphs can help show trends in your system’s performance, it is
recommended that you create historical data in a given library for members that are
collected at the same time. (For example, you might want to compare data that was
all collected on Wednesdays from 8:00 a.m. to 12:00 p.m., whereas you probably
would not want a historical graph with one member collected on Wednesday from
8:00 a.m. to 12:00 p.m. and the other on Saturday from 1:00 to 5:00 p.m.)
If you select option 2 (Work with historical data) on the Performance Tools
Graphics menu, the Work with Historical Data display appears.
à ð
Work with Historical Data
Library . . . . . . QPFRDATA
Member Historical
Option Name Data Date Time
_ Q95318ð843 NO 11/14/95 ð8:43:15
_ Q953171ð5ð NO 11/13/95 1ð:51:ðð
_ SATDATA YES 11/11/95 1ð:42:48
_ TESTDATA YES 11/11/95 1ð:26:12
_ NOV111995 NO 11/11/95 ð9:57:27
_ Q95315ð955 NO 11/11/95 ð9:55:41
_ FRIDAY YES 11/1ð/95 11:17:ð3
_ Q953132332 YES 11/ð9/95 23:32:19
_ Q9531214ð7 YES 11/ð8/95 14:ð7:11
_ Q953121142 NO 11/ð8/95 11:42:3ð
_ Q953111538 NO 11/ð7/95 15:39:ð2
More...
F3=Exit F5=Refresh F11=Display text F12=Cancel
F15=Sort by member F16=Sort by text
á ñ
The member name, a historical data indicator, and the date and time you collected
each set of performance data appear on this display. To display the member text
If you are searching for performance or historical data located in a library that is
different from the one currently listed in the Library field at the top of the display,
type a new library name in the Library field and press the Enter key. A list of per-
formance and historical data members available in the library you specified
appears. You can then select one of them to work with.
Note: All of the members in the historical data must have unique names. If you
create a member that has the same name as a historical data member, you
may want to change the name by using the Copy Performance Data
(CPYPFRDTA) command to use the new member for historical purposes.
It is best to use the created name option (*GEN) on the STRPFRMON command to
make sure that the names of your performance data members are unique.
à ð
Confirm Create of Historical Data
Library . . . . . : QPFRDATA
Member Historical
Option Name data Date Time
1 Q95318ð843 NO 11/14/95 ð8:43:15
1 Q953171ð5ð NO 11/13/95 1ð:51:ðð
1 SATDATA YES 11/11/95 1ð:42:48
Bottom
F11=Display text F12=Cancel
á ñ
On this display, press the Enter key to create historical data for the members. Once
historical data has been created for a member, you can delete the original perform-
ance data using the Delete Performance Data (DLTPFRDTA) command if the data
is not needed for performance analysis, capacity planning, or performance
graphing.
If you select option 3 (Display Graphs and Packages) on the Performance Tools
Graphics menu, the Display Graphs and Packages display appears.
à ð
Display Graphs and Packages
Selection or command
===> __________________________________________________________________
_______________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel
á ñ
Two distinct types of graphs can be displayed: performance graphs and historical
graphs. Performance graphs use performance data collected from a single run of
the performance monitor. Performance graphs are used to single out jobs that are
performing poorly or to evaluate which activities were performed by a user or class
of users on the system during a specified period.
Historical graphs use performance data collected from several runs of the perform-
ance monitor. Historical data is the summary of the performance data created by
the STRPFRMON command. The CRTHSTDTA command is used to summarize
the performance data for use by the historical graphs. Historical graphs are used to
show how the performance of a system has changed over time.
Note: It is best to collect the performance data used for historical graphs over the
same period of time. For example, if your normal working day is from 8:00
a.m. to 5:00 p.m., you would not want to create a historical graph to eval-
If you want to collect data at predetermined times, use the Work with Performance
Collection (WRKPFRCOL) command to schedule the running of the performance
monitor. See Chapter 3, Collecting System Performance Data, for more information
on this command.
à ð
Select Graph Formats and Packages
Library . . . . . . . . . . . QPFRDATA
Format/
Option Package Type Text
_ NEWPACKAGE PACKAGE Graph Package for Job Types
_ PACKAGE1 PACKAGE Graph Package containing IOP formats
_ QIBMPKG PACKAGE IBM Graph Package
_ FORMAT1 FORMAT CPU Utilization vs. Time-Functional Areas
_ FORMAT2 FORMAT Response Time vs. Time-Functional Areas
_ QIBMASYNC FORMAT Asynchronous Disk I/O per Second vs. Time
_ QIBMCMNIOP FORMAT Communications IOP Utilization vs. Time
_ QIBMCPUPTY FORMAT CPU Utilization vs. Time (Priority)
_ QIBMCPUTYP FORMAT CPU Utilization vs. Time (Job Type)
_ QIBMDSKARM FORMAT Disk Arm Utilization vs. Time
More...
F3=Exit F5=Refresh F12=Cancel F14=Sort by format F15=Sort by text
á ñ
This display shows you the graph formats and graph packages that exist in the
library you specified. The graph format or graph package name, a format or
package indicator, and a text description appear on the display. If you cannot find
the format or package you want to use in your performance graph, use the appro-
priate function key to sort the formats and packages. You can sort them by name,
type, or text description. When you find the graph format or package you want to
use in your performance graph, type a 1 in the corresponding Option field.
If you are searching for a graph format or graph package located in a library that is
different from the one currently listed in the Library field at the top of the display,
type a new library name in the Library field, and press the Enter key. A list of graph
formats and graph packages available in the library you specified appears. You can
then select one of them to use in your performance graph.
| Note: If you want to display a historical graph, select a performance data member
| that contains less than 400 intervals.
à ð
Select Performance Data Member
Library . . . . . . QPFRDATA
Member
Option Name Text Date Time
_ Q95318ð843 11/14/95 ð8:43:15
_ Q953171ð5ð 11/13/95 1ð:51:ðð
_ SATDATA3 Saturday Data-third run 11/11/95 1ð:42:48
_ SATDATA2 Saturday Data-second run 11/11/95 1ð:26:12
_ SATDATA1 Saturday Data-first run 11/11/95 ð9:57:27
_ Q95315ð955 11/11/95 ð9:55:41
More...
F3=Exit F5=Refresh F12=Cancel F15=Sort by member
F16=Sort by text
á ñ
The member name, a text description, and the date and time you collected each
set of performance data appear on this display. If you cannot find the data you
want to display, use the appropriate function keys to sort the sets of performance
data. You can sort the data by member name, text description, or by the date and
time the member was created. When you find the performance data you want to
use in your performance graph, type a 1 in the corresponding Option field.
If you are searching for a member located in a library that is different from the one
currently listed in the Library field at the top of the display, type a new library name
in the Library field and press the Enter key. A list of the performance members
available in the specified library appears. You can then select a member to display.
à ð
Select Categories for Performance Graphs
Member . . . . . : MONDAYDATA
Library . . . . : QPFRDATA
Type options, press Enter. Press F6 to include all data in the graph.
1=Select
Option Category
_ Job
_ User ID
_ Subsystem
_ Pool
_ Communications line
_ Control unit
_ Functional area
Bottom
F3=Exit F6=Include all data in the graph F12=Cancel
á ñ
Type a 1 in the Option column next to the categories of information from which you
want performance data. Press the Enter key.
Note: Normally, you include all categories of information in your graph. To do this,
do not type a 1 in any category. Instead, simply press F6.
If you choose to display the graph with only certain categories of information, a
display appears that allows you to enter selection criteria for each category. This is
the same as selecting categories of information to include in performance reports.
See Chapter 7, Performance Reports—Manager Feature, for more information on
selecting and omitting.
X-axis range:
First . . . . . \AUTO___ \SAME, \AUTO, Number
Last . . . . . . ________ Number
Y-axis range:
First . . . . . \AUTO___ \SAME, \AUTO, Number
Last . . . . . . ________ Number
Start:
Day . . . . . . \FIRST \FIRST, MM/DD/YY
Time . . . . . . \FIRST \FIRST, HH:MM:SS
More...
F3=Exit F12=Cancel
á ñ
Figure 9-6. Specify Graph Options
à ð
Specify Graph Options
Stop:
Day . . . . . . \LAST \LAST, MM/DD/YY
Time . . . . . . \LAST \LAST, HH:MM:SS
Bottom
F3=Exit F12=Cancel
á ñ
On this display you can specify a new title, subtitle, axis ranges, area fill value, start
time and date, stop time and date, and output value for your performance graph. If
you selected a graph format for your performance graph, the values for the title,
subtitle, axis ranges, and area fill defined in the graph format appear. Changing any
of the values on the Specify Graph Options display only changes the format for the
graph created. The graph format does not change. If you selected a graph package
for your performance graph, *SAME appears for the title, subtitle, and axis ranges.
For example, if you type New Graph Title for the graph title and the graph package
contained three graph formats, the resulting three graphs would have “New Graph
Title” as their title.
The area fill option allows you to override the area fill option on the graph format to
display a graph more quickly. Filling in (or shading) an area is accomplished by
drawing several lines. Densely shaded patterns require more lines. Each line that is
drawn takes time. Consequently, the graph displays faster if area fill is not used. If
the area fill option on the graph format is *YES, then selecting *NO for the area fill
option causes the area not to be filled.
You may specify the start and stop date and time for the performance data to be
shown in the graph. If you do not specify the start and stop date and time, the
graph includes data from the first (or only) date that data was collected to the last
(or only) date that data was collected.
If you select option 2 (Display historical data graphs) on the Display Graphs and
Packages display, the Select Graph Formats and Packages display appears. This
is the same display that is shown for displaying performance graphs. (See “Display
Performance Graphs—Manager Feature” on page 9-16 for more information.) After
you select a graph format or graph package from the Select Graph Formats and
Packages display, the Specify Graph Options display appears.
X-axis range:
First . . . . . \AUTO___ \SAME, \AUTO, Number
Last . . . . . . ________ Number
Y-axis range:
First . . . . . \AUTO___ \SAME, \AUTO, Number
Last . . . . . . ________ Number
More...
F3=Exit F12=Cancel
á ñ
Page down to view the rest of the graph options.
à ð
Specify Graph Options
Start:
Day . . . . . . . . \FIRST__ \FIRST, \SELECT, MM/DD/YY
Stop:
Day . . . . . . . . \LAST___ \LAST, MM/DD/YY
Create historical
data . . . . . . . . . \NO_ \YES, \NO
Bottom
F3=Exit F12=Cancel
á ñ
You must select a graph format with the same X-axis specified.
Note that when you overlay a graph, there is a maximum of 16 legend entries
between the two graphs. Therefore, if you are currently displaying a graph with two
legend entries, your overlaid graph may have only a maximum of 14 legend entries
(if allowed for the data type in the graph format). See “Legends—Manager Feature”
on page 9-9 for the maximum number of legend entries for the individual data
types. If you are currently displaying a graph with 16 legend entries, you cannot
overlay a second graph.
Press F9 (Overlay), and the Select Graph Format display appears. Select the graph
format that you want to overlay above the graph that is currently displayed.
à ð
Select Graph Format
Library . . . . . . QPFRDATA
á ñ
Select a graph format and press the Enter key, and the Specify Graph Overlay
Options display appears.
Y-axis range:
First . . . . . \AUTO_____ \SAME, \AUTO, Number
Last . . . . . . __________ Number
F3=Exit F12=Cancel
á ñ
Specify a title and subtitle for your new, overlaid graph on this display. If you do
not specify a new title and subtitle, your new graph title and subtitle are left blank.
The Y-axis range value defaults to the value that was specified in the graph format.
Here, again, you have the chance to change it. You may choose to have the same
range as defined in the graph format (*SAME), you may choose to have it automat-
ically fit the range of values (*AUTO), or you may specify the range yourself by
typing in the numbers.
You also select whether to have area fill in the overlaid graph.
After you press the Enter key, your two graphs should be displayed. You can use
the function keys on the display to print or plot the overlay or send the overlay
format to a GDF file. Figure 9-7 shows an example of an overlay graph.
RV2S077-0
à ð
Performance Utilities
Select one of the following:
The utilities shown on the Performance Utilities display provide you with support for
the detailed performance analysis of applications when you are working to under-
stand or improve the performance of those applications.
Job Traces
If you select option 1 (Work with job traces) on the Performance Utilities display,
the Work with Job Traces display appears.
à ð
Work with Job Traces
On this display you can choose to start or stop a job trace. After you collect the
trace data, you can print job trace reports that show information about input/output
(I/O) operations, file use, transaction timing, job flow, and so on.
The options in the Job Trace display and the corresponding commands are as
follows:
Job Traces Corresponding Command
Start Job Trace STRJOBTRC
Stop Job Trace ENDJOBTRC
Print Job Trace Reports PRTJOBTRC
à ð
Select File and Access Group Utilities
On this display you can choose to create reports that show the program-to-file use,
the physical-to-logical file relationships, the file key structure, or access group data.
You can also use this display to determine if the application programs use shared
display and database files, if the files are ordered by their frequency of use, if the
files remain open but have no activity, or if programs free their static storage or
keep it active.
Notes:
1. Before you use option 3, be sure that the processing for option 2 has com-
pleted. The output from option 2 is used as input for this function.
2. Option 5 is dependent on data collected by option 4. So you must take option 4
first.
The options in the Select File and Access Group Utilities display and the corre-
sponding commands are as follows:
For more information on file and PAG utilities, see “Analyzing the Relationship of
Programs and Database Files” on page 10-9 and “Analyzing Process Information”
on page 10-16.
Do not produce the detailed job analysis until you define which program or job you
want to analyze.
Job trace analysis enhances the operating system’s standard trace job reports and
provides a summary of job operation and transaction processing. The primary use
for job trace analysis is to determine how a job processes. You can determine
what parts of a job use the most resources, and measure the effect of program
changes relative to previous trace data. Do not use job trace analysis to determine
accurate job or transaction processing times.
The database file QAPTTRCJ is created as output when you use the ENDJOBTRC
command. Table 10-1 shows the names and descriptions of the fields in the
QAPTTRCJ file.
The printer file created by this command is the same as that created by the
PRTJOBTRC command, as described in Print Job Trace (PRTJOBTRC) Command.
The following printer files are the output when you use the PTRJOBTRC command:
File Description
QPPTTRC1 First part of the summary report (Trace Analysis Summary)
QPPTTRC2 Second part of the summary report (Trace Analysis I/O Summary)
QPPTTRCD Trace record detail report (Trace Job Information)
Both the Trace Analysis Summary Report and the Trace Analysis I/O Summary
Report show the job trace data detail by transaction. On these reports, two lines for
each transaction show all the trace records for that transaction. A transaction
boundary is determined by consecutive trace records with these characteristics:
The first trace record indicates a call to the program specified by the end of
transaction (ENDTNS) parameter.
The second trace record indicates a return to the program specified by the start
of transaction (STRTNS) parameter.
The default ENDTNS and STRTNS parameters cause the trace records to be
shown by work station transactions on these reports. A transaction begins when a
user presses the Enter key, or otherwise responds to a program prompt, and ends
The summary reports show you the number and types of I/O operations that
occurred for each transaction, the number of full and shared file opens and closes,
the number of subfile operations, and the number of messages that occurred in the
transaction. Messages may be the result of normal operation or they may be due to
program actions that you can avoid (full open/close, duplicate keys in a file, or
incorrect subfile processing).
The summary reports also contain a reference to the detail report. Every detail
record has a sequence number in it. The summaries show the starting and ending
detail report sequence numbers for each transaction summarized. The detail report
program can be limited to a range of sequence numbers. This feature allows you to
run the summaries, then print only the detail you are interested in.
The collection of trace data takes a certain amount of processing time, the amount
of which can vary depending on such factors as system load and model. This
overhead time is included in the trace data on which the PRTJOBTRC command
reports. The command attempts to subtract the overhead time from the reported
figures, leaving only the time used for program processing. Due to the variability of
the overhead time, this adjustment may not be accurate. This adjustment is an
estimate only. Therefore, do not use reported processing times as an absolute
measure of the response time of a program or set of programs.
Figure 10-1 on page 10-6 shows an example of the Trace Analysis Summary
Report.
The header of the Trace Analysis Summary Report shows the following values:
Title The title specified on the command.
FILE The name of the database file containing the trace data.
LIBRARY The library the database file is in.
MBR The database file member containing the trace data.
JOB The name of the job that was traced.
The columns in the detailed section of the Trace Analysis Summary Report are as
follows:
ACTIVE or WAIT-ACT The time between the ENDTNS and STRTNS programs is
labeled Wait-Act. If you were tracing an interactive job and used the
default STRTNS and ENDTNS parameters, this value is the time taken
to process the transaction.
SECONDS The approximate time the job was waiting or active.
CPU SECONDS The approximate processing unit time used for the transaction. If
the value is zero (or blank), you may have chosen the wrong value for
the model parameter.
DB READS The number of physical database reads that occurred.
NON-DB RDS The number of physical nondatabase reads that occurred.
WRITES The number of physical writes that occurred.
Figure 10-2 on page 10-7 shows an example of the Trace Analysis I/O Summary
Report.
The columns in the Trace Analysis I/O Summary Report are as follows:
Title The title specified on the command.
FILE The name of the database file containing the trace data.
LIBRARY The library the database file is in.
MBR The database file member containing the trace data.
JOB The name of the job that was traced.
WAIT-ACT The time that the job was inactive, probably due to typing or think time
by the user.
ACTIVE The time the job was processing.
SECONDS The time the job was waiting or active.
SEQNCE The job trace sequence number in the detail computer printout that this
summary line refers to.
PROGRAM NAME The name of the last program called that was not in the library
QSYS before the end of a transaction.
PROGRAM CALL The number of non-QSYS library programs called during the
step. This is not the number of times that the program named in the
PROGRAM NAME field was called.
PROGRAM INIT The number of times that the IBM-supplied initialization program
was called during the transaction. For RPG programs this is QRGXINIT,
for COBOL it is QCRMAIN. Each time the user program ends with LR
(RPG) or END (COBOL), the IBM-supplied program is also called. This
is not the number of times the program named in the Program Name
field was initialized. QCRMAIN is used for functions other than program
initialization (for example, blocked record I/O, some data conversions).
PROGRAM DATABASE I/O The number of times the IBM-supplied database
modules were used during the transaction. The database module names
have had the QDB prefix removed (PUT instead of QDBPUT). The type
of logical I/O operation performed by each is as follows:
GETDR Get direct
GETSQ Get sequential
GETKY Get by key
GETM Get multiple
PUT, PUTM Add a record
UDR Update, delete, or release a record
The values for OPENS and CLOSES in the programs are as follows:
FULL OPN The number of full opens for all types of files.
FULL CLS The number of full closes for all types of files.
SHARE OPN The number of shared opens for all types of files.
SHARE CLS The number of shared closes for all types of files.
The Trace Job Information Report, shown in Figure 10-3 on page 10-8, has essen-
tially the same format as the system-supplied trace job output. The AS/400
Licensed Internal Code Diagnostic Aids - Volume 1 book contains additional infor-
mation on trace jobs.
FUNCTION This causes the trace entry to be recorded. The possible trace entries
are as follows:
Trace Entry Description
Call Call external.
Data A data trace.
Event Event handler.
EXTXHINV External exception handler.
EXTXHRET Call termination because of a return from an exception.
INTXHINV Internal exception handler.
INTXHRET Return from an exception.
INVEXIT Call because of a call exit routine.
ITERM Intervening call termination.
ITRMXRSG Call termination because of a resignaling exception.
PTRMTPP Process termination.
PTRMUNHX Termination because of an unhandled exception.
Return Return external.
RSMTRC Trace resumed.
SSPTRC Trace suspended.
XCTL Transfer control.
PROGRAM The name of the program for the entry.
LIBRARY The library name that contains the program associated with the trace
entry.
The read and write counts do not include any asynchronous I/O operations. The
counts indicate the number of I/O requests (either single or multiple page) sent to
the device, and describe the request queuing at the device.
Use the Analyze Database File Keys (ANZDBFKEY) command to print an overview
of the key structure of logical files in an application.
These commands provide you with a file and program use overview and key defi-
nition detail. It may be that your files or programs have changed since they were
first written and the file use has changed. For example, there may now be more
logical files over your physical files than the application currently needs. This situ-
ation can cause performance degradation, especially if many key field changes or
record adds occur. Remove any unneeded logical views.
Although you may use these commands infrequently, it is recommended that you
use them periodically to get a good understanding of the program-to-file relation-
ships and of the logical file structure used in the applications.
When you use the ANZPGM command, the following printer files are created as
output:
File Description
QPPTANZP The program-to-file relationship report (Program-to-File Cross-
Reference)
QPPTANZP The file-to-program relationship report (File-to-Program Cross-
Reference)
When you use the ANZDBF command, the following files are created as output:
File Description
QPPTANZD The printer file that has the physical-to-logical database file relation-
ships report (Database Relation Cross-Reference).
QPPTANZD The printer file that has the logical-to-physical database file relation-
ships report (Logical File Listing).
QAPTAZDR The database file that serves as input to the ANZDBFKEY command.
Figure 10-6 on page 10-12 shows an example of the ANZDBF Database Relation
Cross-Reference Report.
The entries in the Type, File, and Library columns are left blank if they are the
same as the previous line.
Figure 10-7 on page 10-13 shows an example of the ANZDBF Logical File Report.
When you use the ANZDBFKEY command, the following input file is used:
File Description
QAPTAZDR Database file that is the output from the ANZDBF command.
Note: Because the ANZDBFKEY command uses the output from the ANZDBF
command as its input, be sure the ANZDBF command is finished before
you use the ANZDBFKEY command. The ANZDBFKEY command tests the
existence of the ANZDBF output file and, if the file does not exist, the
program ends.
When you use the ANZDBFKEY command, the following files are created as
output:
File Description
QPPTANZK Printer file for the access path and record selection report (Key Fields
and Select/Omit Listing).
The information provided in these reports may suggest ways of combining logical
files, for physical files with a number of logical files over them. This process of
combining reduces the total number of logical files the system must maintain.
For example, consider an application that uses these two logical views of the same
physical file:
Logical file FILEA with key FIELD1
Logical file FILEB with keys FIELD1 and FIELD2
In this case, it is likely that you could delete FILEA and use FILEB instead.
Reducing the number of logical views an application uses can help the performance
of the application and of the system.
Figure 10-8 gives an example of the ANZDBFKEY Key Fields and Select/Omit
Listing.
This report lists the access path and selection (logical files only) values based on
the output produced by the Display File Description (DSPFD) command with a
single line for each key field or selection rule.
In the ANZDBFKEY Key Fields and Select/Omit Listing Report, the first output line
shows the following:
File The file name and, to the left of the name, the file type—physical (PHY)
or logical (LGL).
Library The name of the library in which the file is contained.
Order Ascending or descending sequence for the keys (LIFO, FIFO).
Path Type The type of access path (ARRIVAL, KEYED, or SHARED).
If record selection is used, the third output line shows the following:
Format The logical file format name.
Field The select/omit field name.
S/O Whether to select (S) or omit (O).
Comp The compare relation such as EQ, GT, LT, and AL (all).
Values The values to compare against.
Printer File QPPTANKM lists the file names, and for logical files, the key fields for
each format in descending order from major key to minor key.
You can use this list to find ways to combine logical files, when physical files have
many logical files over them. By combining files, you can reduce the number of
logical views an application requires and the total number of logical files the system
must maintain. Having fewer files to maintain can improve the performance of the
application and of the system.
The columns in the ANZDBFKEY Analysis of Keys for Database Files Report are
as follows:
Physical File The name of the physical file.
Library The physical file library.
File The logical files over the physical file.
Library The library the file is in.
Logical Format The logical file format name.
Maint Maintenance. Specify I (immediate), R (rebuild), or D (delay).
Key Fields Major to Minor Up to seven key fields.
No. Keys The number of key fields in the file.
S/O Whether select/omit is specified for key. YES indicates it is specified.
Use DSPACCGRP to report on PAG data for selected jobs. Use ANZACCGRP to
further analyze the DSPACCGRP output.
Process access group analysis provides you with a view of the operational environ-
ment for all jobs, or a group of jobs, in the system at a given time. Use the infor-
mation from process analysis to tune your system. When you tune your system,
you improve the program environment, causing a reduction in the number of the
following:
Open files
File buffer and work space sizes
File open placement in a program
When you use the DSPACCGRP command, the following output files are created:
File Description
QPPTPAGD Printer file
QAPTPAGD Database file (input to the ANZACCGRP command)
The following DSPACCGRP display appears only when you specify OUTPUT(*).
Figure 10-10 shows an example of the DSPACCGR Process Access Group Infor-
mation Report. The fields on this report are the same as those on the display.
All of these conditions can affect system performance, especially if the jobs have
very large PAGs.
Consider the size of the PAG when you decide whether to use the PURGE(*NO)
job attribute when running an application. An application that requires fast response
time and has frequent and steady operator interaction would be a candidate for
running in a PURGE(*NO) environment.
The availability of main storage to dedicate to this application is the critical factor in
the decision to use PURGE(*NO). In general, the larger the PAG, the larger the
amount of main storage that would need to be dedicated.
The ANZACCGRP command uses the QAPTPAGD database file (the output from
the DSPACCGRP command) as input.
Note: Because the ANZACCGRP command uses the output from the
DSPACCGRP command, be sure to run the DSPACCGRP command first
with parameter OUTPUT(*FILE) or OUTPUT(*BOTH).
| The collection functions and related commands of performance explorer are part of
| the OS/400 operating system. The reporting function and its associated commands
| are part of the Performance Tools for AS/400 licensed product, the Manager
| feature. The AS/400 Performance Explorer Tips and Techniques, SG24-4781, pro-
| vides additional examples of the performance explorer functions and examples of
| the enhanced performance explorer trace support.
This tool is designed for application developers who are interested in understanding
or improving the performance of their programs. It is also useful for users know-
ledgeable in performance management to help identify and isolate complex per-
formance problems.
Note: If you are familiar with the Sampled Address Monitor (SAM) function or the
TPST PRPQ, your transition to the performance explorer should be smooth.
If you are using the advisor, you are probably doing routine performance mainte-
nance. If you are using the explorer, you know that you have a performance
problem, and you are having a hard time identifying its cause.
This detail is good because many times the factors that contribute to performance
problems are not isolated. Often, there are several contributing factors to the
problem. Since many factors are contributing to the problem, it is difficult to identify
individual causes using tools that assess the whole system. You need a tool that
provides the details.
Performance explorer can be used to isolate the factors behind a problem that you
have identified. This tool pulls the symptoms together. For example, a sluggish
system could be caused by DASD reads and writes, or CPU, or a combination of
two or more. With performance explorer, you can find the cause.
You can access the commands associated with the performance explorer tool using
one of the following:
à ð
Work with Performance Explorer
Selection or command
===>
á ñ
Each type gathers data in a different way and organizes it in a unique fashion.
| Statistical type identifies applications and IBM programs or modules that consume
| excessive CPU use or that perform a high number of disk I/O operations. Typically,
| you use the statistical type to identify programs that should be investigated further
| as potential performance bottlenecks.
| For example, you may find that the highest CPU utilization program or module is
| called only once during the collection period. You can have another program or
| module that uses a moderately high level of CPU utilization but is called hundreds
| of times. You need to decide which program or module should be analyzed: the
| one called only once or the one called hundreds of times.
| Profile type identifies high-level language (HLL) programs that consume excessive
| CPU utilization based on source program statement numbers.
| You can also identify a program that is constantly branching between the start of
| the program and subroutines at the end of the program. If the program is large
| enough, this constant jumping back and forth can cause excessive page fault rates
| on a system with limited main storage.
When a trace, statistics, or profile mode is selected, a number of options are pro-
vided to limit the scope of the collected performance data. You can collect on spe-
cific jobs, tasks, OS/400 programs, modules, and procedures.
Database PRTPEXRPT
Command
Runs
STRPEX Collections ENDPEX
Command Command
RV3S161-0
Before creating a new definition, consider what kinds of information you want and
the amount of detail you need. In general, the three main types of collections have
the following characteristics:
Statistics type definitions
– Using this definition results in collecting the same basic information as the
TPST tool.
– Good for first order analysis of OS/400 original program model (OPM) pro-
grams, procedures, and MI complex instructions.
- Gives number of invocations
- Gives both inline and cumulative CPU usage in microseconds
| Use the OUTFILE parameter when you want to customize your Trace Report. The
| performance explorer stores its collected data in the QAVPETRCI file, which is
| located in the QPFR library. Type the following command to view the contents for a
| single record:
| DSPFFD FILE(QPFR/QAVPETRCI)
à ð
Select Performance Explorer Session
Event
Option Session User Type State Count
| Table 11-1. Sections that are available for the performance explorer reports
| Section Statistics Report Profile Report Trace Report Base Report
| Definition X X X X
| Run X X X X
| Task X X X X
| CPU Summary X X
| Library X X
| Main X X X
Definition Information
You define what kind of data to collect with the ADDPEXDFN command. The Defi-
nition Information report reflects the definition that was used in collecting the data.
This heading appears only once in any type of report.
Run Information
This report provides general information about when the data was collected, the
state of the machine from which the data was collected, details about the length of
collection, and who ran the collection. This heading appears only once in any type
of report.
Figure 11-3 on page 11-12 shows an example of the Run Information section. The
Run Information section provides the same information for each of the main reports,
which is general system and session information.
| The Run Information section shows the start, stop,and total run times of the col-
| lection. You also see that the job ran the collection on system ABSYSTEM.
Task Information
This report shows the jobs and task from which data was collected. AS/400
Licensed Internal Code Diagnostic Aids - Volume 1 contains a list of LIC tasks and
descriptions.
| Figure 11-4 on page 11-14 shows an example of the Task Information section. The
| Task Information section provides the same information for each of the main
| The Priority values that are shown do not correspond to the Run priority
| (RUNPTY) parameter value. However, for OS/400 jobs with priority values of 1-99,
| you can subtract 140 to correspond to the RUNPTY value.
| For Licensed Internal Code (LIC) tasks, the user cannot change them. In most
| cases LIC task priorities are higher than OS/400 jobs. However, some LIC tasks
| run at the same priority as the user job for which they are performing a function.
| The disk drive tasks that start with prefix DBI or DBL typically run under the
| RUNPTY value of the OS/400 job for which they are performing the function.
Summary Information
Summary information provides a subset of the information shown in the main
reports. The Profile Report and the Statistics Report have their own Summary Infor-
mation. The Trace Report does not include a Summary Information Report.
The Profile CPU Summary Information Report shows the following values:
Library The library the database file is in.
Member The database file member containing the data.
Description The description the user associated with the collected data
Total CPU The total amount of CPU used by the tasks and jobs that were collected
on (not the whole system CPU).
Job CPU The total amount of CPU used by the jobs that were collected on.
Task CPU The total amount of CPU used by the tasks that were collected on.
Total Samples The total number of samples collected during a session.
Total Hits The total number of samples that occurred within the programs the user
specified.
The Statistics Summary shows the same fields as the Profile Summary with the
addition of the following values:
| Job name The job name, user ID, and job number. ALL JOBS/TASKS IN
| SESSION is a special value.
Library Information
Library information - shows collection information for each library. Also provides
data on call and complex MI counts, CPU utilization, and disk I/O operations. This
section is available for the statistical report only.
The library section identifies the libraries that contained the programs or modules
that were active during the collection period. All CPU usage and disk I/O operation
statistics for all the programs or modules in a specific library are totaled for that
library. It is common to have a cumulative CPU percent total that is higher than
99.9%. In those cases, you see a CPU percent value of ****. The **** value is con-
sidered normal in most cases. Figure 11-7 on page 11-17 shows a Library Section
that summarizes the CPU and disk I/O activity at the library level.
| One area of interest is the **Unknown category. You can start and stop a collection
| at any time. You receive resource usage data, but depending on what the programs
| in a job are doing, you may not see it accounted for accurately. When this
| happens, the results end up in the **Unknown category and not in the program that
| you thought was using all the resources.
| The shorter the time period that you run a collection, the greater the percentage
| allocated to **Unknown may be. This occurs because performance explorer collects
| data from the entry to a program and from the exit from a program. If the program
| is already entered when you start the collection, the data that is collected is not
| allocated to that specific program. Instead, the data gets counted and put into a
| counter called **Unknown.
The Statistics Report, at the library level, shows the following values:
Library The library the database file is in.
Member The database file member containing the data.
Description The description of the data that was saved.
Name The Name of the library for which the statistics are being shown.
Times Called The number of times programs in that library were called.
Calls Made The number of calls programs in the library made
MI CPLX Issued The number of MI complex instructions that were called by a
program or procedure. MI complex instructions are the architected MI
instructions of AS/400. They are identified in the report with a single “*”
in front of the instruction name.
Inline Stats The statistics that were incurred directly by programs in the library.
| Figure 11-8 shows a sample Library section from the Profile Information Report.
| Library Section
| Library . . : COOK
| Member. . . : RBPROF2PGM
| Description : RBPROF-CMDCSTPEXH (CLCSTPEXHI, CSTPEX)
| Histogram Hit Hit Cum Start Map Stmt Name
| Cnt % % Addr Flag Numb
| ----------------------------------------------------------------------------------------------------------------------------------
| \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 11ð8 1ðð.ð 1ðð.ð 22B55B7DFDðð236ð MP 7 PFREXP
Statistics Report
The Statistics Report provides general performance statistics to help identify
problem areas. In partaicular, the statistics details show potential program perform-
ance trouble spots of a job or system.
The report also shows a variety of other use statistics, such as invocations and
number of disk I/Os. From the Statistics Report, you should be able to determine
how much resource the programs in your application are using. Using this informa-
tion, you can determine if there is a performance problem that requires further
investigation.
| If you notice a single library with a high level of CPU utilization or DASD I/O oper-
| ations, you might want to focus on programs in that library. Libraries that you might
| see could include the following:
| QSYS, which stores most of the OS/400 modules.
| QTCP, which provides TCP/IP support.
| QIJS, which provides the Job Scheduler for OS/400 support.
| QBRM, which provides the Backup Recovery and Media Services support.
See the “Library Information” on page 11-16 section for a discussion of the column
descriptions.
Profile Report
The Profile Report provides output to show relative CPU time by procedure. This
allows the user to identify where to focus efforts to provide overall performance of
the application or program.
Note: You can also summarize profile counts at a procedure, module, or program
level.
See the “Library Information” on page 11-16 section for a discussion of the column
descriptions.
Trace Report
The Trace Report provides a historical trace of performance activity generated by
one or more jobs or tasks on the system.
In addition to the previous columns that are shown for the Trace Report, you see
the following columns when you specify the TRCTYPE parameter.
Address Offset The hexadecimal representation of an address associated with the
event.
Object Name The name of the object associated with the event.
Obj T ST The object type and subtype (in hexadecimal) of the object associated
with the event.
| Trace Event Descriptions: The following tables describe each event available
| when you specify SLTEVT(*YES) on the ADDPEXDFN command. The tables also
| indicate the relationships between the TRCTYPE parameter and the events that are
| included in the performance explorer definition.
| The data that is collected for the BASE events are placed in the QAYPEDTIDX and
| QAYPEBASE files.
| The data that is collected for the ASM events are placed in the QAYPETIDX and
| QAYPEASM files.
| Disk events trace I/O activity with the disk storages devices of the AS/400.
| The data that is collected for the Disk events are placed in the QAYPETIDX and
| QAYPEDASD files.
| A page fault occurs whenever an address is referred to and is not in the main
| storage of the AS/400 system.
| The data that is collected for the page fault events are placed in the QAYPETIDX
| and QAYPEPGFLT files.
| The mangagement of the MI interrupts are for the jobs or processes running on the
| AS/400 system
| The mangagement of the seizes and locks used for resource serialization that
| occurr on the AS/400 system.
| The data that is collected for the RMSL events are placed in the QAYPETIDX and
| QAYPERMSL files.
| The data that is collected for the SAR events are placed in the QAYPETIDX and
| QAYPESAR files.
| Program bracket events trace the call flow of programs and procedures as well as
| MI complex instructions. These events give information on when programs, proce-
| dures and MI complex instruction are entered into (or called) and exited from (or
| returned).
| The data that is collected for the dasd server events are placed in the QAYPETIDX
| and QAYPEMBRKT files.
| Java events describe activity occurring in the Java virtual machine of the AS/400
| system.
| The data that is collected for the DASD server events are placed in the
| QAYPETIDX and QAYPEJAVA files.
| Basic Report
| The Basic Report provides summary information that includes the definition, run,
| and task information sections for any of the previous types.
The HLL statements that appear in the report have to be converted to hexadecimal
and matched up with the INST column in the Generated Output section of the
compile listing. The values under the Break column of the same section map the
source statement numbers of the program.
| To determine the actual source code statement numbers, do the following steps:
| 1. Compile the original program model (OPM) program with an *LIST generation
| option. This listing includes the original HLL source statement numbers and the
| corresponding MI instructions that were generated for this HLL statement.
| These MI instructions are assigned their own INSTruction number on the listing.
| 2. Collect data that includes the OPM program.
| 3. Print the report by specifying:
| PRTPEXRPT TYPE(\PROFILE) PROFILEOPT(\SAMPLECOUNT \STATEMENT)
| 4. Find the highest count statement number for the OPM program and convert the
| number to its corresponding hexadecimal value. For example, decimal 241 is
| hexadecimal F1 ((F15 *16) + 1.
| 5. Scan the MI statement portion of the listing (Generate Output section) to find
| the hexadecimal instruction number under the column heading INST. On the
| right side of that same print line you see the HLL source statement number
| under the Break column heading. Two lines before the matched INST line you
| see BRK 'HLL source statement number'.
| 6. Find that statement number in your original source portion of the listing.
Figure 11-12 (Part 1 of 2). Mapping Control Language Source to Statement Numbers
Figure 11-12 (Part 2 of 2). Mapping Control Language Source to Statement Numbers
à ð
Configure and Manage Tools
Selection or command
===> _____________________________________________________________________
__________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel
á ñ
From this display you can manage or change the objects used in the Performance
Tools.
For the Agent feature, choose option 2 (Manage performance data) on the IBM
Performance Tools menu.
Selection or command
===> _____________________________________________________________________
__________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant
F16=System main menu
á ñ
The Manage Performance Data display will appear.
à ð
Manage Performance Data
Selection or command
===> _____________________________________________________________________
__________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel
á ñ
From this display you can manage the objects used in the performance tools.
If you choose option 1 (Work with functional areas) on the Configure and Manage
Tools display, the Work with Functional Areas display appears.
à ð
Work with Functional Areas
Library . . . . . . . . . . . QPFRDATA
Functional
Option Area Text
1 My Func Area My department
ACCOUNTING Func Area for Accounting
DEPARTMENT A Func Area for Dept. A
DEPARTMENT B Func Area for Dept. B
DEPARTMENT C Func Area for Dept. C
DEPARTMENT D Func Area for Dept. D
MANAGEMENT Func Area for Managers
MANUFACTURING Func Area for Manufacturing
PAYROLL Func Area for Payroll
SALES FORCE Func Area for Sales Force
SECRETARIAL Func Area for Secretaries
More...
F3=Exit F5=Refresh F12=Cancel F16=Sort by text
á ñ
This display shows the functional areas that exist in the library you specified. To
create a new functional area, type option 1, the name, and the description on the
first line under the Functional Area and Text columns, and press the Enter key. To
select an existing functional area, type a 2 (Change), 3 (Copy), or a 4 (Delete) in
the Option column next to the functional area of your choice.
More...
F3=Exit F12=Cancel
á ñ
On this display you specify the job name and the user ID (or both) you want to
include in the functional area. If you choose, you can specify only a job name, only
a user ID, a generic job name (of the form yyy*), or a generic user name. Thus,
WS* in the Job column would include all jobs that have a job name starting with
WS and any user ID name. You can leave a blank field in the Job or User column
to include all jobs with any job name or all jobs with any user ID name.
When you have finished entering all the job names and user IDs, press the Enter
key to create the functional area. Make sure you put a 1 in front of each job and
user you enter.
1 JOB1 MARY
1 OPGMR
1 DSPð2 A\
1 M\
_ _________ __________ _ _________ _________
_ _________ __________ _ _________ _________
_ _________ __________ _ _________ _________
More...
F3=Exit F5=Refresh F12=Cancel F15=Sort by job name
F16=Sort by user name
á ñ
On this display you specify new job names and user IDs to include in the functional
area by using option 1, or remove jobs and users from the functional area by using
option 4. When you have made all of your entries, press the Enter key to change
the functional area.
Library . . . . . . QPFRDATA__
Bottom
F3=Exit F5=Refresh F12=Cancel F15=Sort by member F16=Sort by text
á ñ
The members that appear on this display are those used on the Start Performance
Monitor (STRPFRMON) command for the keyword MBR when data was collected.
To delete a member from this list, type a 4 (Delete) next to the appropriate member
and press the Enter key. The member you delete is deleted from the following data
collection files:
QAPGSUMD QAPMIOPD
QAPMAPPN QAPMPOOL
QAPMASYN QAPMRESP
QAPMBSC QAPMRWS
QAPMBUS QAPMSAP
QAPMCIOP QAPMSBSD
QAPMCONF QAPMSNA
QAPMDBMON QAPMSNADS
QAPMDDI QAPMSTNE
QAPMDIOP QAPMSTNL
QAPMDISK QAPMSYS
QAPMDMPT QAPMTJOB
QAPMECL QAPMTSK
QAPMETH QAPMX25
QAPMFRLY QAPTLCKD
QAPMHDLC QTRIDX
QAPMHDWR QTRDMPT
QAPMIDLC QTRJOBT
QAPMJOBS QTRJSUM
QAPMLAPD QTRSLWT
QAPMLIOP QAPMSTND
QAPMMIOP QAPMSTNY
QTRTSUM
à ð
Select Performance Member
Library . . . . . . QPFRDATA__
á ñ
The members that appear on this display are those used on the Start Performance
Monitor (STRPFRMON) command for the keyword MBR when data was collected.
To copy a member or members from the list, type a 1 (Select) next to the appro-
priate member(s) and press the Enter key. The Copy Performance Data display
appears.
F3=Exit F12=Cancel
á ñ
This display shows you the members you selected to copy and where they are to
be copied to. For each member listed, type the name of the new member and the
library that contains it in the Copy To entries of the display, and then press the
Enter key. When the copy completes, you have exact copies of the old perform-
ance members in the new performance members for the following files:
QAPMAPPN QAPMLAPD
QAPMASYN QAPMLIOP
QAPMBSC QAPMMIOP
QAPMBUS QAPMPOOL
QAPMCIOP QAPMRESP
QAPMCONF QAPMRWS
QAPMDBMON QAPMSAP
QAPMDDI QAPMSBSD
QAPMDIOP QAPMSNA
QAPMDISK QAPMSNADS
QAPMDMPT QAPMSTND
QAPMECL QAPMSTNE
QAPMETH QAPMSTNL
QAPMFRLY QAPMSTNY
QAPMHDLC QAPMSYS
QAPMHDWR QAPMTJOB
QAPMIDLC QAPMTSK
QAPMIOPD QAPMX25
QAPMJOBS
Selection or command
===> 4________________________________________________________________________
______________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel
á ñ
When you select option 4, the Convert Performance Data (CVTPFRDTA) command
prompt display appears.
à ð
Convert Performance Data (CVTPFRDTA)
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
á ñ
The Convert Performance Data (CVTPFRDTA) command converts performance
data from the previous release to the formats needed to be processed by the
current release of the performance measurement/analysis tools. First, the release
level on which the data was collected is determined. Then, all members of all files
that need conversion are converted to the appropriate format.
The following files must be present for the conversion to take place:
The following files are copied, or converted if necessary, if they are present:
QACPCNFG QAPMDMPT
QACPGPHF QAPMECL
QACPPROF QAPMETH
QACPRESP QAPMHDLC
QAITMON QAPMIDLC
QAPGHSTD QAPMLAPD
QAPGHSTI QAPMMIOP
QAPGPKGF QAPMSBSD
QAPMASYN QAPMTSK
QAPMBSC QAPMX25
QAPMBUS QAPTAPGP
The conversion can be done in the library in which the current data resides or in a
different library. If the conversion is done in the same library, the current data is
replaced by the new data. If the conversion is done in a different library, the new
data exists in the new library while the current data continues to exist in the current
library.
Notes:
1. If a different library is specified for the new data, those files in the current
library that do not need conversion are copied to the new library.
2. If user-created logical files exist over any of these files, you must delete and
re-create these logical files after the performance data has been converted.
3. Historical data cannot be converted without the performance monitor files
required for converting.
To convert performance data collected prior to the current release, complete the
following items on the display.
From library Specifies the library that contains the data being converted.
To library Specifies the library that contains the converted data.
Job Description Specifies the job description used to submit the file-conversion job
for batch processing.
You should read “Performance Analysis Overview” on page 1-8 before reading this
case study.
Some of the tools discussed are not available in the Agent feature. Appendix D,
Comparison of Performance Tools, provides additional information about Perform-
ance Tools functions.
Note: Although the technique used represents just one of many different
approaches to performance analysis, and the problem described is a small
subset of the real-life possibilities, the example is designed to provide initial
guidance in developing an overall strategy for performance problem anal-
ysis. The names of people and the events described in this chapter are ficti-
tious, and any likeness to actual people is purely coincidental. Because
customer applications and requirements vary, IBM makes no representation
or warranty that the methodology described herein will solve or eliminate
unique customer performance problems.
Initially, the analyst knows the user is not satisfied with the way the system is
working. For example, it may be running too slow, too noisy, too hot, and so on.
The analyst, mechanic, or repair person must first understand what the problem
really is. The best way to find out is to observe the problem condition personally.
Can the analyst confirm the user’s complaint? If the analyst cannot, he should get
as much information as possible from those users who have experienced the
problem. What are the most common problem descriptions?
The key to success with any performance issue is to have a clear definition of the
users’ performance criteria. In other words, given the application mix, what do the
When the objectives are understood, it is important to assess whether the hardware
configuration is adequate to support the workload. Is there enough processing unit
capacity? Is main storage sufficient for the application mix? It the analyst answers
these questions first, perhaps through capacity planning modeling techniques,
needless effort can be avoided later.
The Players
Sue Miller is the new data processing (DP) manager for Armstrong and is the
person who provided the IBM support team with most of the information regarding
the perceived performance problem. Having been the DP manager for just a short
time, Sue is anxious to establish her credibility with the company by quickly
addressing an end-user concern over system performance.
As you read through the rest of this story, you can look over Bob’s shoulder as he
observes the symptoms of Armstrong’s performance problem and then proceeds to
isolate the cause. Along the way, you will be introduced to additional people who
prove to be instrumental in getting the problem resolved.
The Configuration
Here is the configuration of the system in this story:
One AS/400 Model 510, 384 megabytes main storage
Two communications lines
– A 2400 baud electronic customer support switched line
– A spare line that is currently unused
One 6380 Tape Unit
One 4028 Printer
Twenty-four 3197 Display Stations
Two 4224 Printers
Four 6603 Disk Units
One 6607 Disk Unit
| OS/400 Version 4 Release 2 licensed program
With this information as the base for our example, let’s begin!
The Problem
It was 9:00 a.m. Monday morning, and Sue Miller had just finished introducing
herself as the new data processing manager to Bob Williams, a systems engineer
from IBM. The two of them were in her office to review the systems management
procedures currently in place at Armstrong. During the discussion, Sue mentioned
that no formal attempt was being made to monitor the system’s performance on a
regular basis. Other activities, such as system backup and change management,
had already been addressed by Armstrong, but Sue felt that she needed to have a
better understanding of how well their current system was handling the daily
demands of the company. This interest was actually prompted by concerns brought
up at a recent meeting with the department managers. Some of the end users had
complained that the system was running too slow and at times appeared to “go to
sleep.”
Bob was happy to hear that Sue wanted to start developing a performance man-
agement strategy for Armstrong. He remarked that he had worked with several
companies in the past who unfortunately waited until a serious situation occurred
before starting to make an effort to better understand their system requirements.
Without historical information to compare past performance, the problem analysis
became much more difficult.
Bob and Sue then continued talking the rest of the morning about other topics of
interest involving the data processing department. At the close of their discussion,
With that, Bob left with the agreement that they would get together on Friday
morning.
Review
Sue is new to Armstrong and is not familiar with the system’s performance history.
She must quickly learn the objectives of the end users. How important is it that
certain display station operators receive subsecond response time, and is it realistic
given the requirements of the application? Are there any critical batch jobs that
must be finished by the end of the day? These kinds of questions need to be
answered for Sue to determine if a problem exists.
As Bob mentioned, even though the AS/400 system provides software tools to
monitor performance, both in the operating system and in optional licensed pro-
grams, many companies do not track their system’s resource usage. Using the
AS/400 system’s ability to continuously collect performance data, a business can
review workload trends on a periodic basis.
At this point, Sue suspects a problem exists because of informal remarks by some
of the end users. She has no solid evidence describing the problem and, therefore,
cannot give Bob any concrete information to work with. We are not even sure if
there is a performance problem. This is usually where many analysis experiences
begin. Bob decided that before proceeding with the analysis, the customer should
first review basic tuning guidelines, make sure an important software product he
relies on (the Performance Tools Manager feature) is ready to use, check to see if
the system is running without hardware problems, and gather more information
from the end users.
Using these commands, he could quickly see if the system was able to handle the
requests for processing unit, disk, and main storage adequately at that instant in
time. He cautioned that because the results changed dynamically with the work-
load, he could not determine for sure that the system had all the capacity it needed
all the time. Also, it was important that the time selected to run these commands
did not include work not normally running (for example, excessive sign-ons and
sign-offs). Sue assured Bob that now would be a good time to look at the system.
The following illustrations show the results of the commands and how Bob inter-
preted them. (All output was generated using the OS/400 Version 3 Release 7
licensed program.)
First Bob issued the Work with System Status (WRKSYSSTS) command.
à ð
Work with System Status SYS4ðð
ð7/ð7/98 ð9:31:43
% CPU used . . . . . . . : 55.7 Auxiliary storage:
Elapsed time . . . . . . : ðð:ð9:31 System ASP . . . . . . : 8.12 G
Jobs in system . . . . . : 1ð2 % used . . . . . . . . : 57.5494
% addresses used: Total . . . . . . . . : 8.12 G
Permanent . . . . . . : 2.483 Current unprotect used : 326 M
Temporary . . . . . . : .ð26 Maximum unprotect . . : 328 M
Bottom
Command
===>
F3=Exit F4=Prompt F5=Refresh F9=Retrieve F1ð=Restart
F11=Display transition data F12=Cancel F24=More keys
á ñ
The overall processing unit use was 55.7 percent and did not reflect an exces-
sively busy system.
The elapsed time for measurement was greater than 5 minutes but less than
15 minutes–a good choice when looking for valid data that is not skewed by
short surges of activity or long periods that tend to average out problems.
The number of jobs in the system at first appeared high to Sue, but Bob
explained that this number reflected all the jobs the system was keeping track
of, even if they had finished but still had output yet to print (for example, job
logs).
à ð
Work with System Status SYS4ðð
ð7/ð7/98 14:ð7:43
% CPU used . . . . . . . : 55.7 Auxiliary storage:
Elapsed time . . . . . . : ðð:ð9:31 System ASP . . . . . . : 8.12 G
Jobs in system . . . . . : 1ð2 % used . . . . . . . . : 57.5494
% addresses used: Total . . . . . . . . : 8.12 G
Permanent . . . . . . : 2.483 Current unprotect used : 326 M
Temporary . . . . . . : .ð26 Maximum unprotect . . : 328 M
Bottom
Command
===>
F3=Exit F4=Prompt F5=Refresh F9=Retrieve F1ð=Restart
F11=Display transition data F12=Cancel F24=More keys
á ñ
The ratio of Wait->Ineligible to Active->Wait for the interactive pool (system pool
4) was approximately 10% and confirmed to Bob that the activity level was set
properly. He added that many customers set their activity levels so that the
Wait->Ineligible is always zero. The level could be too high, causing major
problems during exceptionally busy periods.
Active->Ineligible for system pool 4 was zero. Usually, any value greater than
zero in the interactive storage pool is a good indication that jobs are exceeding
their time-slice values and may be candidates for submission to batch for proc-
essing.
Bob then issued the Work with Active Jobs (WRKACTJOB) command.
á ñ
The active job count was 35. When divided into the number of jobs in the
system (102/35=3.0), the result showed that Armstrong was doing a good job of
cleaning up the job logs and keeping the number of jobs the system tracked to
a minimum.
No interactive jobs were using an excessive amount of processing unit use
(more than 2 percent).
Next, Bob issued the Work with Disk Status (WRKDSKSTS) command.
à ð
Work with Disk Status SYS4ðð
ð7/ð7/98 1ð:ð3:59
Elapsed time: ðð:ð9:11
Bottom
Command
===>
F3=Exit F5=Refresh F12=Cancel F24=More keys
á ñ
Except for disk unit 1 (load source unit), all the other units had approximately
the same amount of space used, indicating an evenly distributed system, and
none of those units were over 75 percent full.
The net result of Bob’s initial observation of the system showed that the system
was responding well to the workload at that moment in time. Sue again commented
that this period of the day was a good representation of Armstrong’s normal
demands on the system.
Bob felt he had a good idea of what the overall system was doing, but he planned
to later validate his findings by using the Advisor option on the Performance Tools
menu. The advisor is a tool that can be run over data gathered by the performance
monitor to provide conclusions and recommendations about system performance. In
the meantime, with the feedback from the different departments still pending, Bob
suggested using another means of gathering performance data from the system.
This could be done by starting the performance monitor using the Work with Per-
formance Collection (WRKPFRCOL) command. With this command, information
similar to that provided by the earlier commands and additional detailed data on job
processing could be collected over a number of days (that is, with multiple data
collections) without operator intervention. Another way to start the performance
monitor would be to use the Start Performance Monitor (STRPFRMON) command,
but this command does not allow for automatic data collection, which is what Bob
and Sue were after. The collected data could then be reviewed through commands
provided by Performance Tools.
Sue entered the WRKPFRCOL command and specified the values as shown in the
following display:
Performance
Opt Collection Status Description
1 PERFPROB__
Bottom
F3=Exit F5=Refresh F12=Cancel
á ñ
The following display was shown next. Sue typed the values that are highlighted.
à ð
Add Performance Collection (ADDPFRCOL)
This command ensures that the performance monitor is started at the right times.
Review
Bob lacked information on who was experiencing the performance problem, so he
decided to take some preliminary steps in understanding how well the system was
responding to the daily workload. He did this by using the standard system com-
mands, which dynamically show usage of main storage, processing unit, and disk.
The important point that Bob wanted Sue to understand was that these commands
only displayed this information for a very specific point in time and could not be
used to represent the system’s performance under all the different workloads it had
to handle. This was a quick means of looking for obvious resource problems.
The next step was to capture data over a longer period of time using the Work with
Performance Collection (WRKPRFCOL) command. Maybe the problem was occur-
ring at a specific time of the day.
In most everyday situations, performance data could be collected over large periods
of time to get a good idea of system activity and trends. Sampling intervals of
longer duration (20 to 30 minutes) are fine for normal system tracking, but Bob and
Sue are investigating a possible problem. Shorter intervals (10 to 15 minutes)
would help to highlight a problem.
Still critical to Bob’s investigation was the result of Sue’s survey. They still did not
know what kind of a problem they were facing. It is important to thoroughly define
the problem.
On a scale of 1 to 5, please rate how well the computer system meets your
needs in the following categories:
(We will follow up this survey with personal interviews for those
who would like to help the data processing department improve its
services to all the end users.)
Sue met briefly with the order-entry department to discuss their survey responses
and to better understand their performance requirements. During the meeting, Sue
learned that the department’s daily workload included both batch and interactive
processing. Their batch jobs ran mostly in the evenings unattended and were not
presenting a problem. The interactive jobs, however, were experiencing much
longer response times than the department’s objective of 2 seconds. Sue reviewed
some basic application requirements, such as the average number of database
read operations per transaction, and could not readily determine the source of the
problem. Sue then decided that it would be better to review her findings with Bob
on Friday.
à ð
Select Time Intervals to Analyze
Bottom
F3=Exit F5=Refresh F11=Display histogram F12 Cancel F13=Select all
á ñ
Bob suggested to Sue that they analyze all the intervals at this stage to get an idea
of overall system performance. Sue agreed and Bob pressed F13 (Select all) and
pressed the Enter key.
à ð
Display Recommendations
à ð
PERFORMG Performance Tools Graphics
System: SYS4ðð
Selection or command
===> 3
á ñ
Bob explained to Sue that Performance Tools contains numerous pre-formatted
graphs for customers to user. Option 1 allows the user to work with the graph
formats and packages, and option 2 allows the user to create historical data from
data collected over different monitor runs (for example, once a week for a month).
Historical data summarizes performance members so you can display each
member as a point on the historical graph. Then a user can view system perform-
ance trends in a graphical format. Because Armstrong had previously not been col-
lecting performance data, Sue agreed to set up a collection schedule for once a
week to establish some historical data. Bob suggested they use the IBM-supplied
graph formats to show performance graphs (rather than historical graphs), so they
selected option 3 (Display performance data graphs).
Selection or command
===> 1
á ñ
Bob pointed out that the QIBMxxx formats are supplied by IBM. He commented that
a good graph to begin with is the processing unit use versus time (by job type), so
they selected the QIBMCPUTYP member and pressed the Enter key.
à ð
Select Graph Formats and Packages
Library . . . . . . . . . . . QPFRDATA
Format/
Option Package Type Description
QIBMPKG PACKAGE IBM GRAPH PACKAGE
QIBMASYNC FORMAT Asynchronous Disk I/O per Second vs. Time
QIBMCMNIOP FORMAT Communications IOP Utilization vs. Time
QIBMCPUPTY FORMAT CPU Utilization vs. Time (Priority)
1 QIBMCPUTYP FORMAT CPU Utilization vs. Time (Job Type)
QIBMDSKARM FORMAT Disk Arm Utilization vs. Time
QIBMDSKIOP FORMAT Disk IOP Utilization vs. Time
QIBMDSKOCC FORMAT Percentage of Disk Occupied vs. Time
QIBMLWSIOP FORMAT Local Workstation IOP Utilization vs. Time
QIBMMFCIOP FORMAT Multifunction IOP (Comm) Util vs. Time
QIBMMFDIOP FORMAT Multifunction IOP (Disk) Util vs. Time
More
F3=Exit F1ð=Restore list F12=Cancel F14=Sort by type F15=Sort by name
F16=Sort by Description
á ñ
On the following display Bob selected the performance data member to be
graphed.
Library . . . . . . QPFRDATA
Member
Option Name Description Date Time
1 PERFPROB ð7/ð7/98 14:33:24
Bottom
F3=Exit F5=Refresh F12=Cancel F15=Sort by member
F16=Sort by Description F19=Sort by date/time
á ñ
On the following display Bob pressed F6 (Include all data) and pressed the Enter
key and proceeded to the next display (Figure 13-1 on page 13-16) containing the
graph.
à ð
Select Categories for Performance Graphs
Member . . . . . : PERFPROB
Library . . . . : QPFRDATA
Type options, press Enter. Press F6 to include all data in the graph.
1=Select
Option Category
Job
User ID
Subsystem
Pool
Communications line
Control unit
Functional area
Bottom
F3=Exit F6=Include all data F12=Cancel
á ñ
RV2S075-0
Here Bob commented to Sue that he would only show the first two and one-half
hours of the collected data to give her a quick idea of what it would look like. He
did this by changing the start and stop parameters to produce the following dis-
plays. The following are the graphs that Bob and Sue elected to look at (that is,
they followed the same previous steps to use the formats QIBMRSP,
QIBMDSKARM, and QIBMDSKIOP).
Interactive
Response Time Interactive Response Time vs Time
4.50
4.00
3.50
3.00
2.50
2.00
1.50
1.00
0.50
0.00
08:00 08:30 09:00 09:30 10:00 10:30
Time
Press Enter to continue.
F3=Exit F6=Print F9=Overlay Interact
F12=Cancel F16=Save GDF F17=Plot
RV2S076-0
RV2S079-0
Bob then explained the graphs that they had produced and commented to Sue that
the processing unit use, disk arm use, and disk IOP use showed no resource prob-
lems, and that the graphs were a quick way to pick up those types of problems
without having to analyze the reports. The interactive response time graph,
however, did show an abnormality just after 10:00 a.m., which should be investi-
gated further. While the graphs gave a clear overview of how the system was per-
forming, in Armstrong’s situation, more detailed analysis was required of the
gathered data.
Another way to review the collected data was to use the Display Performance Data
(DSPPFRDTA) command. They could quickly see a summary of all the data inter-
actively and isolate data of interest, which they could explore further. Following is
the sequence of steps Bob used to perform further analysis.
à ð
Display Performance Data
á ñ
1. As in the earlier Work with Active Job (WRKACTJOB) and Work with Disk
Status (WRKDSKSTS) commands, Bob found that the overall use of the proc-
à ð
Display by Interval
á ñ
The Display by Interval display showed that the system was performing well for
most of the users. Bob quickly rolled through all the displays, searching for the
intervals where the average response times seemed noticeably higher than the
average from the previous Display Performance Data display. Bob explained
that if an intermittent response time problem existed, the shorter sampling
interval should help to highlight it. This logic is not foolproof, he added,
because high transaction counts could still reduce the average response time
and mask a problem.
2. Bob found several intervals where the average response exceeded the 1.45
second average significantly. He reviewed the data to see who was having the
worst response times by:
a. Selecting option 5 (Display jobs) on the Display by Interval display
b. Pressing F24 (More keys)
c. Pressing F21 (Sort by response)
á ñ
DSP18 and DSP19 had very high average responses, but the total number of
disk I/Os for each of these jobs did not appear to be high. Sue confirmed that
these were the order-entry users that had been complaining.
3. Bob entered option 5 (Display job detail) on the Display Jobs display for both
these jobs to further investigate them.
à ð
Display Job Detail
Bottom
Press Enter to continue.
á ñ
The Display Job Detail display allowed Bob to review the job’s resource
requirements in greater detail. There are actually three views that make up the
total detail picture.
Bob proceeded to review all the detail information for those two jobs. The following
conclusions were drawn:
Both jobs were experiencing extremely wide variations in average response
times.
These variations were occurring between 9:30 a.m. and 4:00 p.m. on both of
the days that data was collected.
Resource utilizations (processing unit, disk, and main storage) were not exces-
sively high at those times.
Bob mentioned to Sue that these two jobs were definite candidates for further
investigation. The sample data, however, would not give them the detail to deter-
mine the actual cause of the erratic response times. They would need to capture
another type of data using the Start Performance Monitor command. Trace data
would give them greater detail on individual transactions, such as the program that
was most likely running. First, though, they would meet with the order-entry per-
sonnel to get more information on how they use the system and what types of
problems they were experiencing.
Review
Bob reviewed the system performance by using the advisor to confirm his earlier
conclusion about system performance. Bob and Sue then used the graphics to
quickly see if there were intervals that showed particularly bad response times and
high use of system resources (higher than the guidelines). This helped Bob and
Sue focus on certain time intervals rather than the whole time period.
Bob decided that another way to quickly review the daily workload and its effect on
system resources was to use the Display Performance Data (DSPPFRDTA)
command. Rather than scan a printed report, he could interactively scan the col-
lected sample data and isolate individual jobs that might be experiencing poor per-
formance.
Normally, sample data could be collected with longer intervals (20 to 30 minutes)
over longer periods (possibly all day) and be used to track the system’s perform-
ance trends. This would enable a company to better manage its system’s resources
and perhaps prevent major performance surprises.
Though Sue informed Bob of the particular jobs to investigate, Bob decided to ini-
tially use the Display Performance Data command to review the overall system sta-
tistics. He then proceeded to focus on individual jobs. Bob could have just as easily
selected only the order-entry jobs to look at. With no previous data to look at, Bob
wanted to view all the jobs to get a feel for Armstrong’s system usage.
Even with this type of data, more detail on what a job is doing must be gathered
using the trace parameter of the Start Performance Monitor command if the cause
Bob suggested a plan to help find the cause of the intermittent response time
problem. Because transferring collected trace data to a database file might affect all
of the users on the system, his plan involved controlling both the amount of time
that the monitor ran and when the trace data would be dumped to a file.
Sue would run the Start Performance Monitor (STRPFRMON) command with
tracing active for one hour, and she would have the option to dump the trace table
later. At the end of each run, she would call Karen or Tim and ask if the problem
occurred. If it had, Sue would give Bob a call, and, at the end of the day, explicitly
dump the trace table with the Dump Trace (DMPTRC) command. If the problem
had not occurred, Sue would restart the monitor for another hour (the trace table is
overlaid with the new data). The problem happened often enough, so it should only
take a few attempts to capture the necessary data.
The following shows how Sue entered the Start Performance Monitor
(STRPFRMON) command that afternoon:
à ð
Start Performance Monitor (STRPFRMON)
Time interval (in minutes) . . . 5 5, 1ð, 15, 2ð, 25, 3ð, 35...
Stops data collection . . . . . \ELAPSED \ELAPSED, \TIME, \NOMAX
Days from current day . . . . . ð ð-9
Hour . . . . . . . . . . . . . . 1 ð-999
Minutes . . . . . . . . . . . . ð ð-99
Data type . . . . . . . . . . . \ALL \ALL, \SYS
Select jobs . . . . . . . . . . \ALL \ALL, \ACTIVE
Trace type . . . . . . . . . . . \ALL \NONE, \ALL
Dump the trace . . . . . . . . . \NO \YES, \NO
Job trace interval . . . . . . . .5 .5 - 9.9 seconds
Job types . . . . . . . . . . . \DFT \NONE, \DFT, \ASJ, \BCH...
+ for more values
More...
F3=Exit F4=Prompt F5=Refresh F1ð=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
á ñ
Notice that Trace type was changed to *ALL and Dump the Trace was changed to
*NO.
During the first monitor run that afternoon, the problem did not occur. After the
second monitor run ended, Sue received word that Tim experienced two major
response time problems when trying to enter a telephone order. No more monitor
runs would be needed. At the end of the day (after most of the users had signed
off), Sue issued the Dump Trace (DMPTRC) command to prepare the necessary
data for Bob. The command looked like this:
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
á ñ
With that accomplished, Sue was ready for Bob’s visit on Monday.
à ð
Print Transaction Report (PRTTNSRPT)
Additional Parameters
\EV
More...
F3=Exit F4=Prompt F5=Refresh F1ð=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
á ñ
More...
F3=Exit F4=Prompt F5=Refresh F1ð=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
á ñ
The following pages show selected sections from the Print Transaction Report
output with areas that Bob highlighted and discussed with Sue.
Job Summary
The job summary for the order-entry department had the report and results shown
in Figure 13-2 on page 13-29.
Sue asked Bob about the two in the Lock Conflict column. Bob remarked that this
value indicated the number of times that ORDENTRY01 needed to wait for an
object being held by another job.
This first page of the report indicated to Bob that Tim was definitely experiencing
poor response times, especially because his workload was similar to Karen’s. Bob
needed further information on what components of the response time were causing
the problem.
Bob saw further data supporting the existence of a problem. He explained to Sue
that these high numbers still reflected averages.
The following information regarding response time was extracted from this trace
report:
Of the 57 transactions measured, only two were greater than 10 seconds, and
together they averaged 36.664 seconds.
Almost all of that time (36.497 seconds) was spent as exceptional wait time.
Remember that exceptional wait time is nonproductive time. What were those
two transactions doing?
This section of the report allows Bob to help evaluate performance versus objec-
tives. Bob sees that both jobs are actually getting excellent service most of the
time. Two transactions, however, seem to be the source of the high averages.
This section lists the individual transactions of various statistics (longest response
time, processing unit, service time, and so on).
ORDENTRY01 had two very long response times during the collection period,
one at 14:23:27 (38.157 seconds) and the other at 14:32:08 (35.171 seconds).
Bob noticed that, at both of these times, the program involved in the transaction
was ORD110.
Bob and Sue now had an idea of what was causing the problem. But what kind of
lock was it and why couldn’t ORDENTRY01 get that lock? More questions needed
answering.
This section lists the longest seize/lock conflicts in descending order with the time it
happened, the requesting job, the holding job, and the held object.
The two transactions with the long response times for ORDENTRY01 are listed
here as the two longest instances of a lock conflict. The times coincide with
those earlier in the report.
The holding job (preventing ORDENTRY01 from obtaining the necessary lock)
in both instances was ORDENTRY02 (Karen’s interactive job).
The lock request is for a file called ORDCTL in library OELIB.
Bob narrowed the problem to a conflict between the two jobs ORDENTRY01 and
ORDENTRY02. However, Bob wanted to get a little more information on the trans-
actions that both ORDENTRY01 and ORDENTRY02 were running during the lock
conditions. Further detail on the transactions in question could be explored by
running another Print Transaction Report, this time asking for transition detail infor-
mation. This report normally produces a great deal of output. The report could be
efficiently reviewed by selecting only the jobs and times involved with the problem.
Bob entered the Print Transaction Report (PRTTNSRPT) command to get the fol-
lowing display:
Additional Parameters
á ñ
à ð
Print Transaction Report (PRTTNSRPT)
Bottom
F3=Exit F4=Prompt F5=Refresh F1ð=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
á ñ
Notice that this time the output had been reduced to only showing information
about the ORDENTRY01 and ORDENTRY02 jobs between 14:20:00 and 14:35:00.
First, Bob scanned the Transition Report for ORDENTRY01 and noticed:
At 14.23.28.135, ORDENTRY01 went into a lock wait for 37.819 seconds
because of a request for file ORDCTL, over which job ORDENTRY02 had a
lock.
ORD110 appeared to be the order-entry program asking for the file. Programs
starting with the letter Q (for example, QDBGETSQ) are normally IBM-supplied
system service routines.
The same condition appeared to be happening at 14.32.08.691.
Bob felt that exploring program ORD110 might help them understand why the locks
were occurring. Sue took Bob to the data processing department to talk with
Armstrong’s lead programmer.
Review
Bob and Sue together determined that they would first select only the order-entry
jobs when producing the transaction summary reports. They could do this only
because they had a good idea of the jobs in question. Under different circum-
stances, using all of the jobs as input to the report may be necessary. Limit the
number of transactions to analyze whenever possible.
Through the different sections of the report, Bob was able to isolate not only the job
in trouble, but also the individual transactions, times, and programs involved in the
problem.
It is important to note that Bob did not stop at finding the job having a problem. It is
much more critical that the cause of the problem be found. ORDENTRY01 is the
job preventing ORDENTRY02 from obtaining service. By looking at job transition
information and matching times, the suspected program (ORD110) was identified.
With this information, Bob and Sue could now approach the application developers
for a solution.
Member . . . : OEPROBLEM Model/Serial . . : 51ð-2144/XX-XXXXX Main storage . . : 384.ð M Started . . . . : ð5/13/98 14:ð3:19
Library . . : QPFRDATA System name . . . : SYS4ðð Version/Release : 4/ 2.ð Stopped . . . . : ð5/13/98 14:57:5ð
\On/Off\ T P P Tot Response Sec CPU Sec ---- Average DIO/Transaction ----- Number K/T
Job User Job y t r Nbr ------------- ------------------ ------ Synchronous ----- --Async-- Cft /Tns
Name Name Number Pl p y g Tns Avg Max Util Avg Max DBR NDBR Wrt Sum Max Sum Max Lck Sze Sec
---------- ---------- ------ -- -- -- - ---- ------ ------ ---- ------ ------ ---- ---- ---- ---- ---- ---- ---- ------ -----
DSP18 ORDENTRYð1 ð31288 ð2 I 2ð N 26 3.2 38.2 .4 .24 .42 4 8 3 15 51 1 13 2 2 85
DSP19 ORDENTRYð2 ð31289 ð2 I 2ð N 31 .3 2.ð .5 .26 .87 3 9 2 14 29 74
DATA FOR SELECTED TIME INTERVAL (OR TOTAL TRACE PERIOD IF NO TIME SELECTION).
T Avg CPU/ ----- Sync Disk I/O Rqs/Tns ----- Async W-I Excp Key/ Active Est
y Nbr Nbr Pct Tns Rsp Tns DB DB NDB NDB DIO Wait Wait Think K/T Of
p Prg Jobs Tns Tns /Hour (Sec) (Sec) Read Write Read Write Sum /Tns /Tns /Tns /Tns /Tns AWS
-- --- ---- ------ ----- ----- ------ ------ ----- ----- ----- ----- ----- ----- ------ ------- ------ ------ ---
I NO 2 57 1ðð.ð 62 1.613 .253 3 2 8 1 14 ð .ððð 1.314 79.ð92 55.254
A-I Short Short Seize Lock Event Excs EM327ð DDM Svr Other
Wait Wait WaitX Wait Wait Wait ACTM Wait Wait Wait
Type Purge /Tns /Tns /Tns /Tns /Tns /Tns /Tns /Tns /Tns /Tns
---- ----- ------ ------ ------ ------ ------ ------ ------ ------ ------- ------
I NO .ððð .ð33 .ððð .ðð3 1.277 .ððð .ðð1 .ððð .ððð .
Member . . . : OEPROBLEM Model/Serial . . : 51ð-2144/XX-XXXXX Main storage . . : 384.ð M Started . . . . : ð5/13/98 14:ð3:19
Library . . : QPFRDATA System name . . . : SYS4ðð Version/Release : 4/ 2.ð Stopped . . . . : ð5/13/98 14:57:5ð
Rank Value Time Program Job Name User Name Number Pool Type Priority
---- -------- ------------ ---------- ---------- ---------- ------ ---- ---- ---------
1 38.157 14.23.27.921 ORD11ð DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
2 35.171 14.32.ð8.618 ORD11ð DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
3 2.274 14.36.11.625 QUIINMGR DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
4 1.951 14.41.22.7ð5 QUIINMGR DSP19 ORDENTRYð2 ð31289 ð2 I 2ð
5 1.543 14.ð5.56.163 QUIINMGR DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
6 1.ð41 14.ð5.47.886 QUIINMGR DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
7 .777 14.35.55.734 QUIINMGR DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
8 .567 14.33.ð8.82ð QUIINMGR DSP19 ORDENTRYð2 ð31289 ð2 I 2ð
9 .562 14.35.4ð.131 QUIINMGR DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
1ð .491 14.29.15.ð71 QUIINMGR DSP19 ORDENTRYð2 ð31289 ð2 I 2ð
Rank Value Time Program Job Name User Name Number Pool Type Priority
---- -------- ------------ ---------- ---------- ---------- ------ ---- ---- ---------
1 37.822 14.23.27.921 ORD11ð DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
2 34.977 14.32.ð8.618 ORD11ð DSP18 ORDENTRYð1 ð31288 ð2 I 2ð
3
4
5
6
7
8
9
1ð
Member . . . : OEPROBLEM Model/Serial . . : 51ð-2144/XX-XXXXX Main storage . . : 384.ð M Started . . . . : ð5/13/98 14:ð3:19
Library . . : QPFRDATA System name . . . : SYS4ðð Version/Release : 4/ 2.ð Stopped . . . . : ð5/13/98 14:57:5ð
Job User Job Holder- Job Name.. User Name. Number Pool Type Pty
Rank Value Time Name Name Number Pl Typ Pty S/L Object- Type.. Library... File...... Member.... RRN......
---- -------- ------------ ---------- ---------- ------ -- --- --- --- ---------------------------------------------------------
1 37.819 14.23.28.135 DSP18 ORDENTRYð1 ð31288 ð2 I 2ð L HOLDER- DSP19 ORDENTRYð2 ð31289 ð2 I 2
OBJECT- DS OELIB ORDCTL ORDCTL
2 34.974 14.32.ð8.691 DSP18 ORDENTRYð1 ð31288 ð2 I 2ð L HOLDER- DSP19 ORDENTRYð2 ð31289 ð2 I 2ð
OBJECT- DS OELIB ORDCTL ORDCTL
3 .ð9ð 14.32.43.67ð DSP18 ORDENTRYð1 ð31288 ð2 I 2ð S HOLDER- DSP19 ORDENTRYð2 ð31289 ð2 I 2ð
OBJECT- DS OELIB ORDCTL ORDCTL
4 .ð89 14.24.ð5.959 DSP18 ORDENTRYð1 ð31288 ð2 I 2ð S HOLDER- DSP19 ORDENTRYð2 ð31289 ð2 I 2ð
OBJECT- DS OELIB ORDCTL ORDCTL
Transition Reports
Member . . . : OEPROBLEM Model/Serial . . : 51ð-2144/XX-XXXXX Main storage . . : 384.ð M Started . . . . : ð5/13/98 14:2ð:ðð
Library . . : QPFRDATA System name . . . : SYS4ðð Version/Release : 4/ 2.ð Stopped . . . . : ð5/13/98 14:35:ðð
Job name . . : DSP18 User name . . . . : ORDENTRYð1 Job number . . . : ð31288 TDE/Pl/Pty/Prg . : ð1B4 ð2 2ð
14.23.27.921 ->A 1
14.23.28.135 LKWT \/ 37.819/\ HOLDER-- DSP19 ORDENTRYð2 ð31289
OBJECT- DS OELIB ORDCTL ORDCTL
14.23.28.136 W<- LKW .215 .ð78 1 QDBGETSQ ORD11ð QUIMNDRV QUICMENU
14.24.ð5.957 ->A 37.822 2
14.24.ð5.959 SZWT \/ .ð89/\ HOLDER-- DSP19 ORDENTRYð2 ð31289
OBJECT- DS OELIB ORDCTL ORDCTL
14.24.ð6.ð77 W<- .12ð .ð14 2 QT3REQIO QWSGET ORD11ð QUMNDRV
---------- ORD11ð 38.157\ .ð92 ð ð 4 ð 4\
Member . . . : OEPROBLEM Model/Serial . . : 51ð-2144/XX-XXXXX Main storage . . : 384.ð M Started . . . . : ð5/13/98 14:2ð:ðð
Library . . : QPFRDATA System name . . . : SYS4ðð Version/Release : 4/ 2.ð Stopped . . . . : ð5/13/98 14:35:ðð
Job name . . : DSP19 User name . . . . : ORDENTRYð2 Job number . . . : ð31289 TDE/Pl/Pty/Prg . : ð1C3 ð2 2ð
To Bob and Mike, the record lock conflict for ORDCTL was very obvious. With only
one clerk using ORD110, the lock on the control record for update did not present
any problem. Armstrong’s original policy of having Karen as the only authorized
user of ORD110 ensured that only one clerk would use ORD110. The other orders
received through the mail would not be assigned an order number until the night
time batch job.
With the change in policy allowing multiple clerks to access ORD110, two clerks
could now attempt to enter an order at the same time. Only one clerk, though,
could have the ORD110D display available to them because they would first need
an exclusive lock on the control record. This record would be locked for the entire
order process. The requesting job’s display would be inhibited while the holding job
completed its order. Because the process only lasted about 30 seconds, the control
record was released before another requesting job timed out (the default wait time
on a record lock is 60 seconds). Had the time-out occurred, a function check would
have alerted the data processing department to a lock problem much sooner.
Mike quickly created a coding correction for ORD110 such that the reading, incre-
menting, and updating of the control record would be done at the end of the order
process. This would allow the records to be locked and released in an instant and
allow other jobs to do the same. Later on, a more efficient technique, such as using
a data area to store the control information, could be further explored.
Bob suggested to Sue that she run the performance monitor again for the next day
to measure the results of the change. The tracing option would be off and the
monitor should run for the whole day. The order-entry department was to notify her
if the response time situation occurred again. At a later date, Bob would return to
work with Sue on developing some system monitoring practices that Armstrong
should use with Performance Tools.
Final Review
The case study you just read is an example of one person’s approach to solving a
typical application performance problem. The methodology was based on several
logical steps:
1. Understand the symptoms of the problem
Initially, Bob was made aware of a problem with very little information to help
him to solve it. His first actions involved using commands to determine how well
Finally, the fact may be that the resources are seriously overcommitted and that it
is time for a model upgrade or another disk controller. Use the capacity planning
option of Performance Tools to help you determine the additional resources needed
to meet the performance objectives.
Learn the proper usage of the tools available to you, and start to put into place a
strategy that will help you get the most out of your AS/400 system.
The Agent feature allows you to create historical data, which may then be analyzed
on another AS/400 system that has the Manager feature installed. You can also
analyze the data using your own programs or queries. Appendix E, Managing
AS/400 System Performance in a Network, provides a customer scenario which
illustrates how a customer can create historical data at remote AS/400 sites. The
historical data is then transmitted to a central AS/400 system for analysis using the
Manager feature. The Manager feature provides the capability to present historical
data in the form of graphics. Appendix D, Comparison of Performance Tools pro-
vides more information on the functions provided in Performance Tools.
Note: Files are created to contain the historical data. For each performance
member with historical data, there is a single value for each type of informa-
tion that can be graphed for each day of the member’s performance col-
lection period. Thus, the amount of data is reduced and summarized into
the historical files. Once you have historical data for a member, you may
choose to delete the performance data (DLTPFRDTA) created through the
initial performance data collection to free file storage space.
Since historical data can help show trends in your system’s performance, it is
recommended that you create historical data in a given library for members that are
collected at the same time. (For example, you might want to compare data that was
all collected on Wednesdays from 8:00 a.m. to 12:00 p.m., whereas you probably
would not want a historical data with one member collected on Wednesday from
8:00 a.m. to 12:00 p.m. and the other on Saturday from 1:00 to 5:00 p.m.)
To simplify data management, consider using separate libraries for comparable col-
lections of data.
If you select option 3 (Work with historical data) on the Performance Tools
Graphics menu, the Work with Historical Data display appears.
Library . . . . . . QPFRDATA
Member Historical
Option Name Data Date Time
_ Q95318ð843 NO 11/14/95 ð8:43:15
_ Q953171ð5ð NO 11/13/95 1ð:51:ðð
_ SATDATA YES 11/11/95 1ð:42:48
_ TESTDATA YES 11/11/95 1ð:26:12
_ NOV111995 NO 11/11/95 ð9:57:27
_ Q95315ð955 NO 11/11/95 ð9:55:41
_ FRIDAY YES 11/1ð/95 11:17:ð3
_ Q953132332 YES 11/ð9/95 23:32:19
_ Q9531214ð7 YES 11/ð8/95 14:ð7:11
_ Q953121142 NO 11/ð8/95 11:42:3ð
_ Q953111538 NO 11/ð7/95 15:39:ð2
More...
F3=Exit F5=Refresh F11=Display text F12=Cancel F15=Sort by Member
F16=Sort by text
á ñ
The member name, a historical data indicator, and the date and time you collected
each set of performance data appear on this display. To display the member text
description, press F11 (Display text). If you cannot find the data you want to work
with, use the appropriate function key to sort the sets of performance and historical
data. You can sort them by member name, text description, or by the date and time
the member was created. When you find the data you want to work with, indicate
the function you want to perform by typing the appropriate option.
If you are searching for performance or historical data located in a library that is
different from the one currently listed in the Library field at the top of the display,
type a new library name in the Library field and press the Enter key. A list of per-
formance and historical data members available in the library you specified
appears. You can then select one of them to work with.
Note: All of the members in the historical data must have unique names. If you
create a member that has the same name as a historical data member, you
may want to change the name by using the Copy Performance Data
(CPYPFRDTA) command to use the new member for historical purposes.
It is best to use the created name option (*GEN) on the STRPFRMON command to
make sure that the names of your performance data members are unique.
Library . . . . . : QPFRDATA
Member Historical
Option Name data Date Time
1 Q95318ð843 NO 11/14/95 ð8:43:15
1 Q953171ð5ð NO 11/13/95 1ð:51:ðð
1 SATDATA YES 11/11/95 1ð:42:48
Bottom
F11=Display text F12=Cancel
á ñ
On this display, press the Enter key to create historical data for the members. Once
historical data has been created for a member, you can delete the original perform-
ance data using the Delete Performance Data (DLTPFRDTA) command if the data
is not needed for performance analysis, capacity planning, or performance
graphing.
à ð
Manage Performance Data
Selection or command
===> _____________________________________________________________________
__________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel
á ñ
From this display you can manage the performance data collected by the perform-
ance monitor.
Library . . . . . . QPFRDATA__
Bottom
F3=Exit F5=Refresh F12=Cancel F15=Sort by member F16=Sort by text
á ñ
The members that appear on this display are those used on the Start Performance
Monitor (STRPFRMON) command for the keyword MBR when data was collected.
To delete a member from this list, type a 4 (Delete) next to the appropriate member
and press the Enter key. The member you delete is deleted from the following data
collection files:
Library . . . . . . QPFRDATA__
à ð
Copy Performance Data Member
F3=Exit F12=Cancel
á ñ
This display shows you the members you selected to copy and where they are to
be copied to. For each member listed, type the name of the new member and the
library that contains it in the Copy To entries of the display, and then press the
When you select option 4, the Convert Performance Data (CVTPFRDTA) display
appears. You can also use the CVTPFRDTA command to select the CVTPFRDTA
display.
à ð
Convert Performance Data (CVTPFRDTA)
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
á ñ
The Convert Performance Data (CVTPFRDTA) command converts performance
data from the previous release to the formats needed to be processed by the
current release of the performance measurement/analysis tools. First, the release
level on which the data was collected is determined. Then, all members of all files
that need conversion are converted to the appropriate format.
The following files are copied, or converted if necessary, if they are present:
The conversion can be done in the library in which the current data resides, or in a
different library. If the conversion is done in the same library, the current data is
replaced by the new data. If the conversion is done in a different library, the new
data exists in the new library while the current data continues to exist in the current
library.
Note: If a different library is specified for the new data, those files in the current
library that do not need conversion are copied to the new library.
To convert performance data collected prior to the current release, complete the
following items on the display.
From library Specifies the library that contains the data being converted.
To library Specifies the library that contains the converted data.
Job Description Specifies the job description used to submit the file-conversion job
for batch processing.
| à ð
| Convert Pfr Thread Data (CVTPFRTHD)
| Member . . . . . . . . . . . . . Name
| Library . . . . . . . . . . . . QPFRDATA Name
| Replace . . . . . . . . . . . . \YES \YES, \NO
| Bottom
| F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
| F24=More keys
| á ñ
The following commands are part of the Performance Tools Agent feature as well
as the Performance Tools Manager feature.
The following commands relate to the performance explorer tool and are part of the
OS/400 product (with the exception of the PRTPEXRPT command, which is part of
the Performance Tools licensed program). You do not have to have the Perform-
ance Tools licensed program installed to use these commands.
ADDPEXDFN ENDPEX
CHGPEXDFN RMVPEXDFN
DLTPEXDTA STRPEX
The following commands are part of the OS/400 product and are described in the
CL Reference and the Programming Reference Summary book. You do not have to
have the Performance Tools licensed program installed to use these commands.
The following commands are BEST/1 Capacity Planning commands. They are part
of the Performance Tools licensed program and are described in the BEST/1
Capacity Planning Tool book. You must have the Performance Tools licensed
program installed to use these commands.
ANZBESTMDL (Manager feature only)
See Table D-2 on page D-2 for a table showing all performance-related commands
and whether they are part of OS/400, part of the Manager feature of Performance
Tools, or part of the Agent feature of Performance Tools.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──ADDPEXDFN──DFN(──definition-name──)─── ─┬────────────────────────┬─────5
│ ┌─\STATS───┐ │
└─TYPE(──┼─\TRACE───┼──)─┘
└─\PROFILE─┘
5──┬──────────────────────────┬───────────────────────────────────────────5
│ ┌─\───────────┐ │
└─JOB(──┼─\ALL────────┼──)─┘
│ ┌──
─────────┐ │
└──6─┤ Job ├─┴─┘
5──┬────────────────────────────────────────────┬─────────────────────────5
| │ ┌─\NONE────────────────────────┐ │
| └─TASK(──┼─\ALL─────────────────────────┼──)─┘
| │ ┌──
────────────────────────┐ │
| └──6─┬─task-name──────────┬─┴──
(2)
─┘
| └─generic\-task-name─┘
5──┬──────────────────────────────────────────────────────────────┬───────5
│ ┌──
─────────────────────────────────────────────┐ │
│ │ ┌─\LIBL/───┐ │ │
(3) 6 (4)
└─PGM(─── ───┼──────────┼──program-name──┤ PGM Details ├─┴── ──)─┘
└─library/─┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\FLAT─┐ │
(5)
└─DTAORG(─── ─┴─\HIER─┴──)─┘
5──┬────────────────────────────────────────────┬─────────────────────────5
│ ┌─1ðððð───────────────────┐ │
(6, 7)
└─MAXSTG(──── ─┴─maximum-K-bytes-storage─┴──)─┘
5──┬─────────────────────────────┬──┬───────────────────────────┬─────────5
│ ┌─\STOPTRC─┐ │ │ ┌─\YES─┐ │
(8) (9)
└─TRCFULL(─── ─┴─\WRAP────┴──)─┘ └─INCDEPJOB(─── ─┴─\NO──┴──)─┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\YES─┐ │
(10)
└─MRGJOB(──── ─┴─\NO──┴──)─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
(11, 12)
└─INTERVAL(────── ───milliseconds────)─┘
5──┬────────────────────────────────────┬──┬─────────────────────────┬────5
| │ ┌──
───────────────┐ │ │ ┌─\NO──┐ │
(13)
| │ │ ┌─\CALLRTN──┐ │ │ └─SLTEVT(──── ─┴─\YES─┴──)─┘
| └─TRCTYPE(──┬──6─┼─\BASIC────┼─┴─┬──)─┘
| │ ├─\DSKIO1───┤ │
| │ ├─\DSKIO2───┤ │
| │ ├─\DSKSVR───┤ │
| │ ├─\DSKSTG───┤ │
| │ ├─\VRTADR───┤ │
| │ ├─\PGMACT───┤ │
| │ ├─\FILEOPEN─┤ │
| │ ├─\PRFDTA───┤ │
| │ └─\TASKSWT──┘ │
| └─\SLTEVT───────────┘
5──┬─────────────────────────────┬────────────────────────────────────────5
│ ┌─\BLANK────────┐ │
└─TEXT(──┴─'description'─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
| │ ┌─\ALL────────────────────────────┐ │
(14)
| └─MCHINST(──── ─┼─\NONE───────────────────────────┼──)─┘
| │ ┌──
──────────────────────────┐ │
| └──6─machine-instruction-name─┴───
(15)
─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(16)
| └─BASEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(17)
| └─PGMEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(18)
| └─STGEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(19)
| └─DSKEVT(──── ─┼─\ALL─────────────────┼──)─┘
| ├─\ALLSTR──────────────┤
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
| │ ┌─\NONE────────────────┐ │
(20)
| └─FAULTEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(21)
| └─JOBEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(22)
| └─LCKEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
| │ ┌─\NONE────────────────┐ │
(23)
| └─SAREVT(──── ─┼─\ALL─────────────────┼──)─┘
| ├─\ALLSTR──────────────┤
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬────────────────────────────────────────────┬─────────────────────────5
| │ ┌─\NONE────────────────┐ │
(24)
| └─DSKSVREVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
5──┬─────────────────────────────────────────┬───────────────────────────5%
| │ ┌─\NONE────────────────┐ │
(25)
| └─JVAEVT(──── ─┼─\ALL─────────────────┼──)─┘
| │ ┌──
──────────────────┐ │
| └──6─event-identifier─┴─┘
Job:
┌─\ALL/───────┐ ┌─\ALL/───────────────┐
(1)
├──┼─────────────┼──┼─────────────────────┼──┬─job-name──────────┬─── ─────┤
└─job-number/─┘ ├─generic\-user-name/─┤ └─generic\-job-name─┘
└─user-name/──────────┘
PGM Details:
┌─\ALL────────┐ ┌─\ALL──────┐ ┌─\PGM────┐ ┌─4─────────┐
├──────┴─module-name─┴──┴─procedure─┴──┴─\SRVPGM─┴──┴─pane-size─┴─────────┤
Notes:
P All parameters preceding this point can be specified in positional form.
1 A maximum of 10 repetitions.
| 2 A maximum of 10 repetitions.
4 A maximum of 16 repetitions.
| 15 A maximum of 50 repetitions.
Purpose
The Add Performance Explorer Definition (ADDPEXDFN) command adds a new
performance explorer definition to the system. Each definition is stored as a
member in the QAPEXDFN file in library QUSRSYS. A performance explorer defi-
nition identifies the performance data that is to be collected during a performance
explorer session. A session can be started using the STRPEX (Start Performance
Explorer) command. When starting a new session, a performance explorer defi-
nition name must be provided.
Examples
Example 1: Using TYPE(*TRACE)
ADDPEXDFN DFN(TEST1) TYPE(\TRACE)
JOB(\) MAXSTG(5ððð)
This command adds a new performance definition named TEST1, which will result
in a member named TEST1 being added to file QAPEXDFN in library QUSRSYS.
When this definition is used to start a performance explorer session (STRPEX
command), detailed trace information will be collected for the job that invoked the
STRPEX command. A maximum of 5000 kilobytes of trace data will be collected.
When the trace record storage area is full no more trace records will be collected.
This command adds a new performance explorer definition named TEST2. When
this definition is used to start a performance explorer session (STRPEX command),
performance profile information for service program MYSRVPGM1 in library MYLIB
will be collected.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──ANZACCGRP──┬──────────────────────────┬───────────────────────────────5
│ ┌─QAPAGDTA────┐ │
└─MBR(──┴─member-name─┴──)─┘
5──┬───────────────────────────┬──┬───────────────────────────────┬───────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\BLANK─────────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─TITLE(──┴─'report-title'─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─ANZACCGRP─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Purpose
The Analyze Access Group (ANZACCGRP) command produces a report that sum-
marizes the Process Access Group (PAG) data collected earlier with the Display
Access Group (DSPACCGRP) command. The report is useful in examining the
process access group data from a large number of jobs.
| The environment section of the report shows a summary of all job types, the
| average number of files, duplicate files, display files, I/O counts, and process-
| access group size for the different job types. The job section shows information for
| each selected job. The file section shows, for each open file, the file name and
| type, the number of jobs using the file, the number of opens, the I/O count, and the
| average ODP (Open Data Path) size.
Example
ANZACCGRP
This command produces a report from the PAG data previously stored in the
default location, member QAPAGDTA of QPFRDATA/QAPTPAGD, by the Display
Access Group (DSPACCGRP) command.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌──
──────────────┐
55──ANZDBF──LIBL(───6─library-name─┴──
(1) (P)
──)─── ─┬───────────────────────┬─────5
│ ┌─ANZDBF───┐ │
└─JOB(──┴─job-name─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Notes:
1 A maximum of 10 repetitions
P All parameters preceding this point can be specified in positional form.
Purpose
The Analyze Database File (ANZDBF) command produces two reports that show
the physical and logical files in a set of libraries and the relationships between the
files. It saves the information in a database file for further analysis by the Analyze
Database File Keys (ANZDBFKEY) command. Both reports (physical to logical file
relationships and logical to physical file relationships) are written to the printer file
QPPTANZD (two printer files with the same name are produced; one printer file
contains summary data; the other contains detail data). The data is saved in
member QAPTAZDR of the database file QPFRDATA/QAPTAZDR.
Example
ANZDBF LIBL(APDTA ARDTA)
This command produces reports showing the relationships for all files in the
Accounts Payable (APDTA) and Accounts Receivable (ARDTA) data libraries.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──ANZDBFKEY──┬─────────────────────────┬────────────────────────────────5
│ ┌─\NUMLF────┐ │
└─FILE(──┴─file-name─┴──)─┘
5──┬───────────────────────────┬──┬────────────────────────┬──────────────5
│ ┌─5──────────┐ │ │ ┌─ANZDBFKEY─┐ │
└─NUMLF(──┴─file-count─┴──)─┘ └─JOB(──┴─job-name──┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Purpose
The Analyze Database File Keys (ANZDBFKEY) command produces, from the data
created by the ANZDBF command, two reports showing the key structure of the
database files.
One report is written to the printer file QPPTALNK, the other to QPPTKEYMTX.
Example
ANZDBFKEY FILE(\NUMLF) NUMLF(2)
This command produces reports on the keys for all files that reference physical files
with at least two associated logical files.
Format
Job: I Pgm: I REXX: I Exec
55──ANZPFRDTA──┬──────────────────────────┬───────────────────────────────5
│ ┌─\SELECT─────┐ │
└─MBR(──┴─member-name─┴──)─┘
5──┬───────────────────────────┬──┬─────────────────────┬─────────────────5
│ ┌─QPFRDATA─────┐ │ └─PERIOD(──┤ Period ├─┘
└─LIB(──┴─library-name─┴──)─┘
5──┬────────────────────────┬──┬──────────────────────────┬──────────────5%
│ ┌─\──────┐ │ │ ┌─\ALL────┐ │
└─OUTPUT(──┴─\PRINT─┴──)─┘ └─DTATYPE(──┴─\SAMPLE─┴──)─┘
Period:
┌─\FIRST─────┐ ┌─\FIRST─────┐
├──┼─\SELECT────┼──┼────────────┼──)──┬──────────────────────────────────┬──┤
└─start-time─┘ └─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
└─end-date─┘
Purpose
The Analyze Performance Data (ANZPFRDTA) command produces recommenda-
tions to improve the performance of the user's system. In the interactive mode, you
can request that the system make the recommended changes. In the batch mode,
the recommended changes are printed, and you must then must enter the indi-
vidual commands to make the recommended changes.
Example
ANZPFRDTA
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌──
──────────────┐
55──ANZPGM──LIBL(───6─library-name─┴──
(1) (P)
──)─── ─┬───────────────────────┬─────5
│ ┌─ANZPGM───┐ │
└─JOB(──┴─job-name─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Notes:
1 A maximum of 10 repetitions
P All parameters preceding this point can be specified in positional form.
Purpose
The Analyze Program (ANZPGM) command produces a report that shows the pro-
grams and files in a set of libraries and the relationships between them. Both
reports are written to the printer file QPPTANZP (two print files are produced with
the same name; one printer file contains summary data; the other contains detail
data).
Example
ANZPGM LIBL(APPGM ARPGM)
This command produces reports showing the program and file relationships for all
programs in the Accounts Payable (APPGM) and Accounts Receivable (ARPGM)
program libraries.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──CHGFCNARA──FCNARA(──functional-area-name──)───────────────────────────5
(P)
5──┬───────────────────────────┬── ──┬─────────────────────────────┬───────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\SAME─────────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─TEXT(──┼─\BLANK────────┼──)─┘
└─'description'─┘
5──┬──────────────────────────────────────────────────┬──────────────────5%
│ ┌─\SAME───────────────────────────────┐ │
└─JOB(──┼─\NONE───────────────────────────────┼──)─┘
│ ┌──
───────────────────────────────┐ │
└──6───┬─────────────┬──job name───┴──
(1)
─┘
└─ user-name/─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 A maximum of 250 repetitions
Purpose
The Change Functional Area (CHGFCNARA) command allows the user to change
functional areas on the system. Functional areas are used by Performance Tools
for reports and graphics. A functional area is a pre-defined list of job names and/or
user names that are to be included in a report or graph.
Examples
Example 1: Changing Functional Area to Three Entries
CHGFCNARA FCNARA(PERSONNEL)
JOB(DAN/\N MARCY/\N RANDY/QPG\)
This command changes the functional area 'Performance Tools' to four entries:
Any job beginning with PRT.
The user TERESA.
The user KAREN.
Any QPFRMON job submitted by JIM.
The functional area is created in library RPFT.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
55──CHGGPHFMT──GPHFMT(──┼───────────────┼──format-name──)─────────────────5
└─library-name/─┘
(P, K)
5──┬─────────────────────────────┬──── ────────────────────────────────────5
│ ┌─\SAME─────────┐ │
└─TEXT(──┼─\BLANK────────┼──)─┘
└─'description'─┘
5──┬──────────────────────────────┬───────────────────────────────────────5
│ ┌─\SAME─────────┐ │
└─TITLE(──┼─\BLANK────────┼──)─┘
├─\MBRTEXT──────┤
└─'graph-title'─┘
5──┬────────────────────────────────────┬─────────────────────────────────5
│ ┌─\SAME────────────┐ │
└─SUBTITLE(──┼─\BLANK───────────┼──)─┘
├─\MBRTEXT─────────┤
└─'graph-subtitle'─┘
5──┬───────────────────────────┬──┬─────────────────────────────┬─────────5
│ ┌─\SAME────┐ │ │ ┌─\SAME─────┐ │
└─GPHTYPE(──┼─\SURFACE─┼──)─┘ └─DATATYPE(──┼─\ALL──────┼──)─┘
├─\LINE────┤ ├─\FCNARA───┤
├─\CBAR────┤ ├─\JOBTYPE──┤
├─\FBAR────┤ ├─\PRIORITY─┤
└─\SCATTER─┘ ├─\IOP──────┤
├─\DISK─────┤
└─\CMNLINE──┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\SAME─┐ │
└─AREAFILL(──┼─\NO───┼──)─┘
└─\YES──┘
5──┬────────────────────────────────────────┬─────────────────────────────5
│ ┌─\SAME─────────────────┐ │
└─REFLINE(──┼─\NONE─────────────────┼──)─┘
└─reference-line-number─┘
5──┬──────────────────────┬──┬──────────────────────┬─────────────────────5
└─XAXIS(──┤ Xaxis ├──)─┘ └─YAXIS(──┤ Yaxis ├──)─┘
5──┬──────────────────────────┬───────────────────────────────────────────5
(1)
└─FCNARA(─── ─┤ Fcnara ├──)─┘
5──┬────────────────────────────────────────────────────────────────────┬──5
│ ┌─\SAME───────────────────────────────────────────┐ │
│ │ ┌──
───────────────────────────────────────────┐ │ │
(3)
└─JOBTYPE(─── ─┴──6─(──┬─\ALL───────┬──┬─────────────────┬──)─┴──
(4)
─┴──)─┘
├─\ALLINTER──┤ └─┤ More Values ├─┘
├─\ALLBATCH──┤
├─\ALLSYSTEM─┤
├─\ASJ───────┤
├─\BCH───────┤
├─\CA4───────┤
├─\DDM───────┤
├─\EVK───────┤
├─\INT───────┤
├─\MRT───────┤
├─\PCS───────┤
├─\PDJ───────┤
├─\PJ────────┤
├─\PTH───────┤
├─\RDR───────┤
├─\S36───────┤
├─\SBS───────┤
├─\SYS───────┤
├─\WTR───────┤
└─\OTHER─────┘
5──┬────────────────────────────────────────────────────────────┬────────5%
(5)
├─PRIORITY(─── ─┤ Priority ├──)───────────────────────────────┤
│ ┌─\SAME─────────────────────────────────────┐ │
│ │ ┌───────────────────────────────────────┐ │ │
(7)
├─IOP(─── ─┴──6─(──┬─\AVG─┬──┬─────────────────┬──)─┴── (8)
─┴──)───┤
│ └─\MAX─┘ └─┤ More Values ├─┘ │
│ ┌─\SAME──────────────────────────────────────┐ │
│ │ ┌── ─────────────────────────────────────┐ │ │
(9)
├─DISK(─── ─┴──6─(──┬─\AVG─┬──┬─────────────────┬──)─┴───(10)
─┴──)─┤
│ └─\MAX─┘ └─┤ More Values ├─┘ │
(11)
├─CMNLINE(──── ─┤ Cmnline ├──)────────────────────────────────┤
│ ┌─\SAME───────────────┐ │
(13)
└─ALLDATA(──── ─┴─┬─────────────────┬─┴──)────────────────────┘
└─┤ More Values ├─┘
More Values:
├──┬────────────────────────────────────────────────────────────┬─────────┤
│ ┌─\DFT──────────┐ │
└─┼─\BLANK────────┼──┬─────────────────────────────────────┬─┘
(14)
└─'description'─┘ │ ┌─7──── ────────────┐ ┌─\─────────┐ │
└─┴─line-type-number─┴──┼───────────┼─┘
└─character─┘
Xaxis:
┌─\SAME─────┐
├──┼─\TIME─────┼──┬──────────────────────────────────────────────────┬────┤
├─\CPU──────┤ │ ┌─\SAME──────────┐ ┌─\SAME────────────────────┐ │
├─\TNS──────┤ └─┼─\DFT───────────┼──┼──────────────────────────┼─┘
├─\NBRTNS───┤ ├─\BLANK─────────┤ ├─\AUTO────────────────────┤
├─\RSP──────┤ └─'x-axis-title'─┘ └─start-number──end-number─┘
├─\SYNCIO───┤
├─\NBRSYNC──┤
├─\ASYNCIO──┤
├─\NBRASYNC─┤
├─\TOTDSKIO─┤
└─\NBRDSKIO─┘
Yaxis:
┌─\SAME──────┐
├──┼─\CPU───────┼──┬──────────────────────────────────────────────────┬───┤
├─\TNS───────┤ │ ┌─\SAME──────────┐ ┌─\SAME────────────────────┐ │
├─\NBRTNS────┤ └─┼─\DFT───────────┼──┼──────────────────────────┼─┘
├─\RSP───────┤ ├─\BLANK─────────┤ ├─\AUTO────────────────────┤
├─\SYNCIO────┤ └─'y-axis-title'─┘ └─start-number──end-number─┘
├─\NBRSYNC───┤
├─\ASYNCIO───┤
├─\NBRASYNC──┤
├─\TOTDSKIO──┤
├─\NBRDSKIO──┤
├─\CMNIOP────┤
├─\DSKIOP────┤
├─\LWSIOP────┤
├─\MFCIOP────┤
├─\MFDIOP────┤
├─\DSKARM────┤
├─\PCTDSKOCC─┤
└─\CMNLINE───┘
Fcnara:
┌─\SAME─────────────────────────────────────────────────────┐
│ ┌──
─────────────────────────────────────────────────────┐ │
├──┴──6─(──┬─\OTHER───────────────┬──┬─────────────────┬──)─┴──
(2)
─┴──────────┤
└─functional-area-name─┘ └─┤ More Values ├─┘
Priority:
┌─\SAME─────────────────────────────────────────────────────────┐
│ ┌──
─────────────────────────────────────────────────────────┐ │
├──┴──6─(──┬─\ALL─────────────────────┬──┬─────────────────┬──)─┴──
(6)
─┴──────┤
├─\OTHER───────────────────┤ └─┤ More Values ├─┘
└─lower-limit──upper-limit─┘
Cmnline:
┌─\SAME──────────────────────────────────────────────────────────┐
│ ┌──
─────────────────────────────────────────────────────────┐ │
├──┴──6─(──┬─\MAX─────────────────────┬──┬─────────────────┬──)─┴───
(12)
─┴─────┤
└─communications-line-name─┘ └─┤ More Values ├─┘
Notes:
P All parameters preceding this point can be specified in positional form.
2 A maximum of 16 repetitions
4 A maximum of 16 repetitions
6 A maximum of 16 repetitions
8 A maximum of 2 repetitions
10 A maximum of 2 repetitions
12 A maximum of 16 repetitions
14 Solid line
Purpose
The Change Graph Format (CHGGPHFMT) command changes a graph format
used to display performance and historical graphs that are created from perform-
ance data members.
Example
CHGGPHFMT GRAPH(FORMAT1) DATATYPE(\ALL)
ALLDATA(ABCCOMPANY \DFT 7)
This command changes the graph format named FORMAT1 in the QPFRDATA
library and groups all the data together. The data legend description is
ABCCOMPANY, and it is represented on the graph with a solid line.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
(P, K)
55──CHGGPHPKG──GPHPKG(──┼───────────────┼──package-name──)───── ───────────5
├─\CURLIB/──────┤
└─library-name/─┘
5──┬─────────────────────────────┬────────────────────────────────────────5
│ ┌─\SAME─────────┐ │
└─TEXT(──┼─\BLANK────────┼──)─┘
└─'description'─┘
5──┬───────────────────────────────────┬─────────────────────────────────5%
│ ┌─\SAME─────────────┐ │
(1)
└─GPHFMT(──┼─\SELECT─── ────────┼──)─┘
│ ┌──
─────────────┐ │
└──6─format-name─┴──(2)
─┘
Notes:
P All parameters preceding this point can be specified in positional form.
K All parameters preceding this point are key parameters.
2 A maximum of 25 repetitions
Purpose
The Change Graph Package (CHGGPHPKG) command changes a graph package
to include one or more graph formats.
Examples
Example 1: Changing Graph Package to Contain Three Formats
CHGGPHPKG GPHPKG(EXAMPLE) TEXT('THIS IS AN
EXAMPLE') GPHFMT(GPH1 GPH9 GPH12)
This command changes a graph package called MYPKG to contain the formats of
MYGPH1 and MYGPH2. MYPKG is located in the MYLIB library.
Format
Job: I Pgm: I REXX: I Exec
55──CHGJOBTYP──MBR(──performance-data-member-name──)──────────────────────5
(P)
5──┬────────────────────────────────────────────┬── ──────────────────────5%
│ ┌─QPFRDATA──────────────────────┐ │
└─LIB(──┴─performance-data-library-name─┴──)─┘
Note:
P All parameters preceding this point can be specified in positional form.
Purpose
The Change Job Type (CHGJOBTYP) command allows you to change the job type
for jobs that appear on the reports you produce using the Print Transaction Report
(PRTTNSRPT) command. With this command you can change the characteristics
of a job (for example, from batch to interactive), correct a missing job type, or
assign a job type.
Examples
Example 1: Start a New Session
CHGJOBTYP MBR(TEST)
LIB(QPFRDATA)
This command changes MBR TEST from a batch job to an interactive job.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P, K)
55──CHGPEXDFN──DFN(──definition-name──)───── ─┬────────────────────────┬───5
│ ┌─\SAME────┐ │
└─TYPE(──┼─\STATS───┼──)─┘
├─\TRACE───┤
└─\PROFILE─┘
5──┬────────────────────────────┬─────────────────────────────────────────5
│ ┌─\SAME─────────┐ │
└─JOB(──┼─\─────────────┼──)─┘
├─\ALL──────────┤
│ ┌──
─────────┐ │
└──6─┤ Job ├─┴──
(2)
─┘
5──┬────────────────────────────────────────────┬─────────────────────────5
| │ ┌─\SAME────────────────────────┐ │
| └─TASK(──┼─\NONE────────────────────────┼──)─┘
| ├─\ALL─────────────────────────┤
| │ ┌──
────────────────────────┐ │
| └──6─┬─task-name──────────┬─┴──
(3)
─┘
| └─generic\-task-name─┘
5──┬────────────────────────────────────────────────────────────────┬─────5
│ ┌─\SAME───────────────────────────────────────────┐ │
│ │ ┌──
─────────────────────────────────────┐ │ │
│ │ │ ┌─\LIBL/───┐ │ │ │
(4)
└─PGM(─── ─┴─(───6─┼──────────┼──program-name──┤ Pgm ├─┴──
(5)
──)─┴──)─┘
└─library/─┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\SAME─┐ │
(6)
└─DTAORG(─── ─┼─\FLAT─┼──)─┘
└─\HIER─┘
5──┬────────────────────────────────────────────┬─────────────────────────5
│ ┌─\SAME───────────────────┐ │
(7, 8)
└─MAXSTG(──── ─┴─maximum-K-bytes-storage─┴──)─┘
5──┬─────────────────────────────┬──┬─────────────────────────────┬───────5
│ ┌─\SAME────┐ │ │ ┌─\SAME─┐ │
(9) (10)
└─TRCFULL(─── ─┼─\STOPTRC─┼──)─┘ └─INCDEPJOB(──── ─┼─\YES──┼──)─┘
└─\WRAP────┘ └─\NO───┘
5──┬──────────────────────────┬───────────────────────────────────────────5
│ ┌─\SAME─┐ │
(11)
└─MRGJOB(──── ─┼─\YES──┼──)─┘
└─\NO───┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\SAME─────────────┐ │
(12, 13)
└─INTERVAL(────── ─┴─sampling-interval─┴──)─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
| │ ┌─\SAME───────────┐ │
(14) (15)
| └─TRCTYPE(──── ─┼─\SLTEVT──── ─────┼──)─┘
| │ ┌──
─────────────┐ │
| └──6┬─\CALLRTN──┬┴─┘
| ├─\BASIC────┤
| ├─\DSKIO1───┤
| ├─\DSKIO2───┤
| ├─\DSKSVR───┤
| ├─\DSKSTG───┤
| ├─\VRTADR───┤
| ├─\PGMACT───┤
| ├─\FILEOPEN─┤
| ├─\PRFDTA───┤
| └─\TASKSWT──┘
5──┬─────────────────────────────┬───────────────────────────────────────5%
│ ┌─\SAME─────────┐ │
└─TEXT(──┼─\BLANK────────┼──)─┘
└─'description'─┘
Job:
┌─\ALL/───────┐ ┌─\ALL/───────────────┐
├──┼─────────────┼──┼─────────────────────┼──┬─job-name──────────┬────────┤
└─job-number/─┘ ├─generic\-user-name/─┤ └─generic\-job-name─┘
└─user-name/──────────┘
Pgm:
┌─\ALL────────┐ ┌─\ALL──────┐ ┌─\PGM────┐ ┌─4─────────┐
├──┼─\PGM────────┼──┴─procedure─┴──┴─\SRVPGM─┴──┴─pane-size─┴─────────────┤
└─module-name─┘
Notes:
1 Only valid when TYPE(*STATS) or TYPE(*TRACE) is specified.
2 A maximum of 10 repetitions.
| 3 A maximum of 10 repetitions.
5 A maximum of 16 repetitions.
| command.
Purpose
The Change Performance Explorer Definition (CHGPEXDFN) command changes
an existing performance explorer definition. The current values stored in an existing
definition are inserted when the CHGPEXDFN command is prompted. Each defi-
nition is stored as a member in the QAPEXDFN file in library QUSRSYS. A per-
formance explorer definition identifies the performance data to be collected during a
performance explorer session. A session can be started using the Start Perform-
ance Explorer (STRPEX) command. When starting a new session, a performance
explorer definition name must be provided.
Examples
Example 1: Using TYPE(*TRACE)
CHGPEXDFN DFN(TEST1) TYPE(\TRACE)
JOB(\) MAXSTG(5ððð)
This command changes the performance definition named TEST1. When this defi-
nition is used to start a performance explorer session (STRPEX command),
detailed trace information will be collected for the job that invoked the STRPEX
command. A maximum of 5000 kilobytes of trace data will be collected. When the
trace record storage area is full no more trace records will be collected.
This command changes the performance explorer definition named TEST2. When
this definition is used to start a performance explorer session (STRPEX command),
performance profile information for service program MYSRVPGM1 in library MYLIB
will be collected.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──CPYFCNARA──FROMFCNARA(──functional-area-name──)───────────────────────5
5──┬───────────────────────────────┬──────────────────────────────────────5
│ ┌─QPFRDATA─────┐ │
└─FROMLIB(──┴─library-name─┴──)─┘
5──┬────────────────────────────────────────┬─────────────────────────────5
│ ┌─\FROMFCNARA──────────┐ │
└─TOFCNARA(──┴─functional-area-name─┴──)─┘
(P)
5──┬─────────────────────────────┬── ──┬───────────────────────┬──────────5%
│ ┌─\FROMLIB─────┐ │ │ ┌─\NO──┐ │
└─TOLIB(──┴─library-name─┴──)─┘ └─REPLACE(──┴─\YES─┴──)─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Copy Functional Area (CPYFCNARA) command allows the user to copy a
functional area over to a new functional area. Functional areas are used for Per-
formance Tools reports and graphics. A functional area is a pre-defined list of job
names and user names that are included in a report or graph.
Examples
Example 1: Copying in the Same Library
CPYFCNARA FROMFCNARA(PERSONNEL) TOFCNARA(MIKE)
This command copies the functional area PERSONNEL to the functional area
MIKE. Both functional areas are in the QPFRDATA library.
This command copies the functional area 'Performance Tools' to the functional area
MIKE in library USRLIB.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
(P)
55──CPYGPHFMT──FROMFMT(──┼───────────────┼──format-name──)─── ─────────────5
├─\CURLIB/──────┤
└─library-name/─┘
5──┬───────────────────────────────────────────────┬──────────────────────5
│ ┌─\FROMLIB/─────┐ ┌─\FROMFMT────┐ │
└─TOFMT(──┼───────────────┼──┴─format-name─┴──)─┘
├─\CURLIB/──────┤
└─library-name/─┘
5──┬───────────────────────┬─────────────────────────────────────────────5%
│ ┌─\NO──┐ │
└─REPLACE(──┴─\YES─┴──)─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Copy Graph Format (CPYGPHFMT) command copies an existing graph format
into a graph format specified by the user.
Examples
Example 1: Sending a Copy to the Default Library
CPYGPHFMT FROMFMT(MYFMT) TOFMT(YOURFMT)
This command makes a copy of FMT1 in the MYLIB library and sends it to FMT2 in
the YOURLIB library.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
(P)
55──CPYGPHPKG──FROMPKG(──┼───────────────┼──package-name──)─── ────────────5
├─\CURLIB/──────┤
└─library-name/─┘
5──┬────────────────────────────────────────────────┬─────────────────────5
│ ┌─\FROMLIB/─────┐ ┌─\FROMPKG─────┐ │
└─TOPKG(──┼───────────────┼──┴─package-name─┴──)─┘
├─\CURLIB/──────┤
└─library-name/─┘
5──┬───────────────────────┬─────────────────────────────────────────────5%
│ ┌─\NO──┐ │
└─REPLACE(──┴─\YES─┴──)─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Copy Graph Package (CPYGPHPKG) command copies an existing graph
package into a graph package specified by the user.
Examples
Example 1: Sending a Copy to the Default Library
CPYGPHPKG FROMPKG(MYPKG) TOPKG(YOURPKG)
This command makes a copy of PKG1 in the MYLIB library and sends it to PKG2
in the YOURLIB library.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──CPYPFRDTA──┬──────────────────────────────┬───────────────────────────5
(1)
│ ┌─\SELECT─── ──┐ │
└─FROMMBR(──┴─member-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬────────────────────────────┬────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\FROMMBR────┐ │
└─FROMLIB(──┴─library-name─┴──)─┘ └─TOMBR(──┴─member-name─┴──)─┘
5──┬─────────────────────────────┬────────────────────────────────────────5
│ ┌─\FROMLIB─────┐ │
└─TOLIB(──┴─library-name─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Notes:
1 *SELECT is not valid when submitting a batch job.
P All parameters preceding this point can be specified in positional form.
Purpose
The Copy Performance Data (CPYPFRDTA) command creates a copy of a per-
formance data member.
Examples
Example 1: Showing List of Performance Data Members
CPYPFRDTA
This command shows a display for selecting from all of the performance data
members in the QPFRDATA library. From this list, the user can select performance
data members to copy.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──CRTFCNARA──FCNARA(──functional-area-name──)───────────────────────────5
(P)
5──┬───────────────────────────┬── ──┬─────────────────────────────┬───────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\BLANK────────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─TEXT(──┴─'description'─┴──)─┘
5──┬──────────────────────────────────────────┬──)───────────────────────5%
│ ┌─\NONE────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
└─JOB(──┴──6─┬────────────┬──job-name─┴─┴──
(1)
─┘
└─user-name/─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 A maximum of 250 repetitions
Purpose
The Create Functional Area (CRTFCNARA) command allows the user to create
functional areas on the system. Functional areas are used by Performance
Tools/400 for reports and graphics. A functional area is a pre-defined list of job
names and/or user names that are to be included in a report or graph.
Examples
Example 1: Creating a Functional Area in the Default Library
CRTFCNARA FCNARA(PERSONNEL)
JOB(MIKE/\N ROSS/\N QPFR\)
This command creates the functional area PERSONNEL with three entries:
The user MIKE
The user ROSS
Any job beginning with QPFR
The functional area is created in the QPFRDATA library.
This command creates the functional area 'Performance Tools' with three entries:
The user TODD
The user MARTY
Any QPFRMON job submitted by DEB
The functional area is created in the RPFT library.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
55──CRTGPHFMT──GPHFMT(──┼───────────────┼──format-name──)─────────────────5
└─library-name/─┘
(P)
5──┬─────────────────────────────┬──┬──────────────────────────────┬── ────5
│ ┌─\BLANK────────┐ │ │ ┌─\BLANK────────┐ │
└─TEXT(──┴─'description'─┴──)─┘ └─TITLE(──┼─\MBRTEXT──────┼──)─┘
└─'graph-title'─┘
5──┬────────────────────────────────────┬─────────────────────────────────5
│ ┌─\BLANK───────────┐ │
└─SUBTITLE(──┼─\MBRTEXT─────────┼──)─┘
└─'graph-subtitle'─┘
5──┬───────────────────────────┬──┬─────────────────────────────┬─────────5
│ ┌─\SURFACE─┐ │ │ ┌─\ALL──────┐ │
└─GPHTYPE(──┼─\LINE────┼──)─┘ └─DATATYPE(──┼─\FCNARA───┼──)─┘
├─\CBAR────┤ ├─\JOBTYPE──┤
├─\FBAR────┤ ├─\PRIORITY─┤
└─\SCATTER─┘ ├─\IOP──────┤
├─\DISK─────┤
└─\CMNLINE──┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─\NO──┐ │
└─AREAFILL(──┴─\YES─┴──)─┘
5──┬────────────────────────────────────────┬──┬───────────────────┬──────5
│ ┌─\NONE─────────────────┐ │ └─XAXIS(──┤ Xaxis ├─┘
└─REFLINE(──┴─reference-line-number─┴──)─┘
5──┬───────────────────┬──┬──────────────────────────────────────┬────────5
└─YAXIS(──┤ Yaxis ├─┘ │ ┌──
──────────────────┐ │
(1) 6 (2)
└─FCNARA(─── ───(──┤ Fcnara ├──)─┴── ──)─┘
5──┬────────────────────────────────────────────────────────────────┬─────5
│ ┌──
───────────────────────────────────────────┐ │
(3) 6 (4)
└─JOBTYPE(─── ───(──┬─\ALL───────┬──┬─────────────────┬──)─┴── ──)─┘
├─\ALLINTER──┤ └─┤ More Values ├─┘
├─\ALLBATCH──┤
├─\ALLSYSTEM─┤
├─\ASJ───────┤
├─\BCH───────┤
├─\CA4───────┤
├─\DDM───────┤
├─\EVK───────┤
├─\INT───────┤
├─\MRT───────┤
├─\PCS───────┤
├─\PDJ───────┤
├─\PJ────────┤
├─\PTH───────┤
├─\RDR───────┤
├─\S36───────┤
├─\SBS───────┤
├─\SYS───────┤
├─\WTR───────┤
└─\OTHER─────┘
5──┬────────────────────────────────────────────────────────────┬────────5%
│ ┌──
──────────────┐ │
├─PRIORITY(─── (5)
────6─┤ Priority ├─┴──(6)
────)─────────────────────┤
│ ┌──
─────────────────────────────────────┐ │
(7)
├─IOP(─── ────6─(──┬─\AVG─┬──┬─────────────────┬──)─┴── (8)
────)───┤
│ └─\MAX─┘ └─┤ More Values ├─┘ │
│ ┌──
─────────────────────────────────────┐ │
(9)
├─DISK(─── ────6─(──┬─\AVG─┬──┬─────────────────┬──)─┴─── (10)
────)─┤
│ └─\MAX─┘ └─┤ More Values ├─┘ │
│ ┌──
─────────────┐ │
├─CMNLINE(────(11)
────6─┤ Cmnline ├─┴───
(12)
────)─────────────────────┤
(13)
└─ALLDATA(──── ───┬─────────────────┬────)────────────────────┘
└─┤ More Values ├─┘
More Values:
├──┬────────────────────────────────────────────────────────────┬─────────┤
│ ┌─\DFT──────────┐ │
└─┼─\BLANK────────┼──┬─────────────────────────────────────┬─┘
(14)
└─'description'─┘ │ ┌─7──── ────────────┐ ┌─\─────────┐ │
└─┴─line-type-number─┴──┼───────────┼─┘
└─character─┘
Xaxis:
┌─\TIME─────┐
├──┼─\CPU──────┼──┬──────────────────────────────────────────────────┬──)──┤
├─\TNS──────┤ │ ┌─\DFT───────────┐ ┌─\AUTO────────────────────┐ │
├─\NBRTNS───┤ └─┼─\BLANK─────────┼──┼──────────────────────────┼─┘
├─\RSP──────┤ └─'x-axis-title'─┘ └─start-number──end-number─┘
├─\SYNCIO───┤
├─\NBRSYNC──┤
├─\ASYNCIO──┤
├─\NBRASYNC─┤
├─\TOTDSKIO─┤
└─\NBROSKIO─┘
Yaxis:
┌─\CPU───────┐
├──┼─\TNS───────┼──┬──────────────────────────────────────────────────┬──)─
─┤
├─\NBRTNS────┤ │ ┌─\DFT───────────┐ ┌─\AUTO────────────────────┐ │
├─\RSP───────┤ └─┼─\BLANK─────────┼──┼──────────────────────────┼─┘
├─\SYNCIO────┤ └─'y-axis-title'─┘ └─start-number──end-number─┘
├─\NBRSYNC───┤
├─\ASYNCIO───┤
├─\NBRASYNC──┤
├─\TOTDSKIO──┤
├─\NBRDSKIO──┤
├─\CMNIOP────┤
├─\DSKIOP────┤
├─\LWSIOP────┤
├─\MFCIOP────┤
├─\MFDIOP────┤
├─\DSKARM────┤
├─\PCTDSKOCC─┤
├─\CMNLINE───┤
| └─\LGLDBIO───┘
Fcnara:
├──┬─\OTHER───────────────┬──┬─────────────────┬──────────────────────────┤
└─functional-area-name─┘ └─┤ More Values ├─┘
Priority:
├──(──┬─\ALL─────────────────────┬──┬─────────────────┬──)────────────────┤
├─\OTHER───────────────────┤ └─┤ More Values ├─┘
└─lower-limit──upper-limit─┘
Cmnline:
├──(──┬─\MAX─────────────────────┬──┬─────────────────┬──)────────────────┤
└─communications-line-name─┘ └─┤ More Values ├─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 Valid only when DATATYPE(*FCNARA) is specified
2 A maximum of 16 repetitions
4 A maximum of 16 repetitions
6 A maximum of 16 repetitions
8 A maximum of 2 repetitions
10 A maximum of 2 repetitions
12 A maximum of 16 repetitions
14 Solid line
Purpose
The Create Graph Format (CRTGPHFMT) command creates a graph format used
to display performance and historical graphs that are created from performance
data members.
Example
CRTGPHFMT GPHFMT(FORMAT1) TITLE(\MBRTEXT)
DATATYPE(\FCNARA)
FCNARA((ACCOUNTING 'ACCOUNTING')
(SALES 'SALES' 7 #) (OFFICE 'OFFICE' 7 @))
This command creates a graph format named FORMAT1 in the QPFRDATA library.
The member that is presented on the graph using this format supplies the title for
the graph. The graph is a surface graph with no area fill nor a reference line. The
jobs presented on the graph are grouped according to three functional areas:
1. ACCOUNTING
2. SALES
3. OFFICE
The functional area of accounting is represented on the graph with a solid line with
the label, ACCOUNTING. If the format is displayed on a non-graphics work station,
the asterisk (*) symbol is used to graphically represent the functional area of
accounting. The functional areas, sales and office, are formatted in the same
manner as accounting, except SALES is graphically represented with the # symbol
on a non-graphics work station, and OFFICE is graphically represented with the at
@ symbol on a non-graphics work station.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
(P)
55──CRTGPHPKG──GPHPKG(──┼───────────────┼──package-name──)─── ─────────────5
├─\CURLIB/──────┤
└─library-name/─┘
5──┬─────────────────────────────┬────────────────────────────────────────5
│ ┌─\BLANK────────┐ │
└─TEXT(──┴─'description'─┴──)─┘
5──┬───────────────────────────────────┬─────────────────────────────────5%
(1)
│ ┌─\SELECT─── ────────┐ │
│ │ ┌──
─────────────┐ │ │
└─GPHFMT(──┴──6─format-name─┴──(2)
─┴──)─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 *SELECT not in batch.
2 A maximum of 25 repetitions
Purpose
The Create Graph Package (CRTGPHPKG) command creates a graph package of
one or more graph formats.
Examples
Example 1: Creating a Package Containing Three Formats
CRTGPHPKG GPHPKG(EXAMPLE)
TEXT('THIS IS AN EXAMPLE')
GPHFMT(GPH1 GPH9 GPH12)
This command creates a graph package called EXAMPLE, which contains three
formats, GPH1, GPH9, and GPH12. This package is saved in the default library,
QPFRDATA.
This command creates a graph package called MYPKG which contains the formats
of MYGPH1 and MYGPH2. MYPKG is saved in library MYLIB.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──CRTHSTDTA──MBR(──member-name──)──┬───────────────────────────┬── ──────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┼─\CURLIB──────┼──)─┘
└─library-name─┘
5──┬───────────────────────┬──────────────────────────────────────────────5
│ ┌─\NO──┐ │
└─REPLACE(──┴─\YES─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Create Historical Data (CRTHSTDTA) command creates the files required to
create historical graphs. If the files already exist, this command updates the files to
contain the specified data of a member. Historical data is an ongoing summary of
the system containing the members that have been summarized using this
command.
Examples
Example 1: Creating Files in Default Library
CRTHSTDTA MBR(MONDAY)
This command creates files containing historical data that contain the member
named MONDAY.
This command creates files containing historical data that contain the member
named TUESPM located in library MYLIB.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──DLTFCNARA──FCNARA(──functional-area-name──)───────────────────────────5
(P)
5──┬───────────────────────────┬── ───────────────────────────────────────5%
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Delete Functional Area (DLTFCNARA) command allows the user to delete
functional areas from the system. Functional areas are used by Performance
Tools/400 for reports and graphics. A functional area is a pre-defined list of job
names and user names that are included in a report or graph.
Examples
Example 1: Deleting the Functional Area from the Default Library
DLTFCNARA FCNARA(PERSONNEL)
This command deletes the functional area named PERSONNEL from library
QPFRDATA.
This command deletes the functional area named 'Performance Tools' from library
RPFT.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
(P)
55──DLTGPHFMT──GPHFMT(──┼───────────────┼──format-name──)─── ─────────────5%
├─\CURLIB/──────┤
└─library-name/─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Delete Graph Format (DLTGPHFMT) command deletes a specific graph
format. This command also deletes the specified graph format from any packages
that contain it.
Examples
Example 1: Deleting a Graph Format in a Specified Library
DLTGPHFMT GPHFMT(MYLIB/MYFMT)
This command deletes the graph format named MYFMT located in the MYLIB
library.
DLTGPHFMT GPHFMT(TESTFMT)
This command deletes the graph format named TESTFMT located in the default
library QPFRDATA.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
(P)
55──DLTGPHPKG──GPHPKG(──┼───────────────┼──package-name──)─── ────────────5%
├─\CURLIB/──────┤
└─library-name/─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Delete Graph Package (DLTGPHPKG) command deletes a graph package.
Examples
Example 1: Deleting a Package in a Specified Library
DLTGPHPKG GPHPKG(MYLIB/MYPKG)
This command deletes the graph package MYPKG from library MYLIB.
This command deletes graph package TESTPKG from default library QPFRDATA.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──DLTHSTDTA──┬────────────────────────────────┬─────────────────────────5
(1)
│ ┌─\SELECT─── ────────┐ │
│ │ ┌──
─────────────┐ │ │
└─MBR(──┴──6─member-name─┴──(2)
─┴──)─┘
(P)
5──┬───────────────────────────┬── ────────────────────────────────────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Notes:
1 *SELECT not valid in batch.
2 A maximum of 50 repetitions
Purpose
The Delete Historical Data (DLTHSTDTA) command deletes historical data for the
specified members from the historical database files.
Example
DLTHSTDTA MBR(TEST1)
This command deletes historical database file member TEST1 from the historical
database files found in the library QPFRDATA. QPFRJOBD is used for the job
description of the job.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──DLTPEXDTA──DTAMBR(──data-member-name──)─── ────────────────────────────5
5──┬───────────────────────────────────┬─────────────────────────────────5%
│ ┌─QPEXDATA──────────┐ │
└─DTALIB(──┴─data-library-name─┴──)─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The DLTPEXDTA (Delete Performance Explorer Data) command deletes data that
was collected by the performance explorer tool and was saved across a set of
physical files in a particular library.
Restriction: The user must have object existence authority for each performance
explorer database file in the specified library.
Example
DLTPEXDTA DTAMBR(STATS3)
DTALIB(TESTLIB)
This command will remove members named STATS3 from the performance
explorer database files in library TESTLIB. These members could have been
created when the user ended a performance explorer data collection session
(ENDPEX CL command) specifying 'SSNID(STATS3) DTAOPT(*LIB)
DTALIB(TESTLIB)'.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──DLTPFRDTA──┬────────────────────────────────┬─────────────────────────5
(1)
│ ┌─\SELECT─── ────────┐ │
│ │ ┌──
─────────────┐ │ │
└─MBR(──┴──6─member-name─┴──(2)
─┴──)─┘
(P)
5──┬───────────────────────────┬── ────────────────────────────────────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Notes:
1 *SELECT not valid in batch.
2 A maximum of 50 repetitions
Purpose
The Delete Performance Data (DLTPFRDTA) command deletes performance data
members from the performance database files.
Example
DLTPFRDTA MBR(TEST1)
This command deletes performance data member TEST1 from the performance
database files found in library QPFRDATA. QPFRJOBD is used for the job
description of the job.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──DSPACCGRP──┬───────────────┬──┬───────────────────────────────┬───────5
└─JOB(──┤ Job ├─┘ │ ┌─\BLANK─────────┐ │
└─TITLE(──┴─'report-title'─┴──)─┘
5──┬────────────────────────┬──┬──────────────────────────┬───────────────5
│ ┌─\──────┐ │ │ ┌─QAPAGDTA────┐ │
└─OUTPUT(──┼─\PRINT─┼──)─┘ └─MBR(──┴─member-name─┴──)─┘
├─\FILE──┤
└─\BOTH──┘
5──┬───────────────────────────┬──┬─────────────────────┬────────────────5%
│ ┌─QPFRDATA─────┐ │ │ ┌─\YES─┐ │
└─LIB(──┴─library-name─┴──)─┘ └─CLEAR(──┴─\NO──┴──)─┘
Job:
┌─\─────────────────────────────────────────────────────────────┐
├──┼─\SEC──────────────────────────────────────────────────────────┼──)───┤
├─\INT──────────────────────────────────────────────────────────┤
└───┬───────────────────────────────────────────────────────┬───┘
│ ┌─\ALL─────┐ │
└─┬─────────────────────────────────────┬──┴─job-name─┴─┘
│ ┌─\ALL───────┐ │
└─┬─────────────────┬──┴─user-name/─┴─┘
│ ┌─\ALL────────┐ │
└─┴─job-number/─┴─┘
Purpose
The Display Access Group (DSPACCGRP) command shows, for each selected job,
the process access group (PAG) size, the names and I/O counts for all open files,
and the program data storage used. It also optionally writes this information to a
database file for further analysis by the Analyze Process Access Group
(ANZACCGRP) command.
Jobs can be selected for the report using several criteria, including job type, job
name, user name, and job number. The job and user names may be generic; only
the first characters of the corresponding information for a job must match the speci-
fied value for selection of the job. Only jobs that match all specified criteria are
selected.
Examples
Example 1: Displaying Access Group Information
DSPACCGRP JOB(GL\)
This command selects all active jobs with names starting with GL (since GL* is not
one of the special single values, it is interpreted as a three-part job identifier; since
only one part is given, it is taken to be the job name, and the job number and user
name default to *ALL). Since no OUTPUT value is specified, output is displayed if
there is only one GL job. A report is spooled if there is more than one GL job.
This command writes the PAG information for all active jobs to member SAMPLE1
of the database file QPFRDATA/QAPTPAGD for later analysis by the ANZACCGRP
command.
This command displays the PAG information for job number 001234. Since the job
number is guaranteed to uniquely identify the job, a report cannot be spooled (no
more than one job can be selected).
This command selects all jobs with a user name of WILLIAMS and a job name
beginning with AP.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
55──DSPHSTGPH──GRAPH(──┼───────────────┼──┬─format-name────┬──)───────────5
(1)
├─\CURLIB/──────┤ └─package-name─── ┘
└─library-name/─┘
(P)
5──┬───────────────────────────┬── ──┬──────────────────────────────┬──────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\SAME─────────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─TITLE(──┼─\BLANK────────┼──)─┘
├─\MBRTEXT──────┤
└─'graph-title'─┘
5──┬──────────────────────────────┬──┬──────────────────────────┬─────────5
│ ┌─\SAME──────┐ │ │ ┌─\────────┐ │
└─SUBTITLE(──┼─\BLANK─────┼──)─┘ └─OUTPUT(──┼─\PRINT───┼──)─┘
├─\MBRTEXT───┤ ├─\PLOT────┤
└─'subtitle'─┘ └─\OUTFILE─┘
5──┬────────────────────────────────┬─────────────────────────────────────5
│ ┌─4214─────────┐ │
(2)
└─PRTDEV(─── ─┼─4234─────────┼──)─┘
├─522X─────────┤
├─\IPDS────────┤
├─\NONGRAPHIC──┤
└─printer-name─┘
5──┬──────────────────────────────────────────────────────┬───────────────5
│ ┌─\PRTDEV──────────────────────────────┐ │
│ │ ┌─\LIBL/────────┐ │ │
(3)
└─OUTQ(─── ─┴─┼───────────────┼──output-queue-name─┴──)─┘
└─library-name/─┘
5──┬────────────────────────────┬──┬─────────────────────────────────┬────5
│ ┌─\PRTDEV─┐ │ │ ┌─1ðð───────────┐ │
(4) (5)
└─PAGELEN(─── ─┼─51──────┼──)─┘ └─PLTSPD(─── ─┴─plotter-speed─┴──)─┘
└─66──────┘
5──┬─────────────────────────────┬────────────────────────────────────────5
│ ┌─3─────────┐ │
(6)
└─PLTPEN(─── ─┴─pen-width─┴──)─┘
5──┬───────────────────────────────────┬──────────────────────────────────5
│ ┌─1───────────────┐ │
(7)
└─PLTADR(─── ─┴─plotter-address─┴──)─┘
5──┬─────────────────────────────────────────────┬────────────────────────5
│ ┌─LIBL/─────────┐ │
(8)
└─OUTFILE(─── ─┼───────────────┼──file-name──)─┘
├─\CURLIB/──────┤
└─library-name/─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
│ ┌─\FIRST──────┐ ┌─\REPLACE─┐ │
└─OUTMBR(──┴─member-name─┴──┼──────────┼──)─┘
└─\ADD─────┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\GPHFMT─┐ │
(9)
└─TYPE(─── ─┴─\GPHPKG─┴──)─┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\FIRST─────┐ ┌─\LAST────┐ │
(10)
└─PERIOD(──┼─\SELECT──── ┼──┼──────────┼──)─┘
└─start-date─┘ └─end-date─┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\NO──┐ │
└─CRTHSTDTA(──┴─\YES─┴──)─┘
5──┬───────────────────────────────────────────────┬──────────────────────5
│ ┌─\SAME──────────────────────────┐ │
└─XAXIS(──┼─\AUTO──────────────────────────┼──)─┘
└─starting-number──ending-number─┘
5──┬───────────────────────────────────────────────┬──────────────────────5
│ ┌─\SAME──────────────────────────┐ │
└─YAXIS(──┼─\AUTO──────────────────────────┼──)─┘
└─starting-number──ending-number─┘
5──┬─────────────────────────┬──┬────────────────────────┬────────────────5
│ ┌─\SAME─┐ │ │ ┌─DSPHSTGPH─┐ │
└─AREAFILL(──┼─\YES──┼──)─┘ └─JOB(──┴─job-name──┴──)─┘
└─\NO───┘
5──┬──────────────────────────────────────────────────────────┬──────────5%
│ ┌─\NONE───────────────────────────────────┐ │
│ │ ┌─\LIBL/────────┐ │ │
(11)
└─JOBD(──── ─┴─┼───────────────┼──job-description-name─┴──)─┘
├─\CURLIB/──────┤
└─library-name/─┘
Notes:
1 A package-name is not valid if OUTPUT(*OUTFILE) is specified.
actual printer name, for example, PRT01, PRT02, and so on, is not specified.
4 The PRTDEV parameter is valid only when OUTPUT(*PRINT) is specified.
5 The PLTSPD, PLTPEN, and PLTADR parameters are valid only when
OUTPUT(*PLOT) is specified.
6 The PLTSPD, PLTPEN, and PLTADR parameters are valid only when
OUTPUT(*PLOT) is specified.
7 The PLTSPD, PLTPEN, and PLTADR parameters are valid only when
OUTPUT(*PLOT) is specified.
8 The OUTFILE parameter and the OUTMBR parameter are valid only when
OUTPUT(*OUTFILE) is specified.
9 A package-name is not valid if OUTPUT(*OUTFILE) is specified.
Purpose
The Display Historical Graph (DSPHSTGPH) command produces a graph from the
historical data created by the Create Historical Data (CRTHSTDTA) command. The
DSPHSTGPH command is intended to give the user a historical perspective of the
system in a graphical representation.
been defined by the Create Graph Format (CRTGPHFMT) command. The graph
can be directed to a graphics terminal, non-graphics terminal, printer, plotter, and a
graphics data format (GDF) file that can be used by other systems. Historical data
members can be selectively included in the graph.
Note: It is important that the CRTHSTDTA command has been run for each of the
members that the user wants to include in the graph. If the CRTHSTDTA
command has not been run for a member, it is not included in the graph
unless CRTHSTDTA(*YES) is specified.
Examples
Example 1: Displaying a Data File
DSPHSTGPH GRAPH(GRAPHLIB/CPU)
This command shows the historical data file in library QPFRDATA on the user's
screen. It is shown using the graph format CPU in library GRAPHLIB. All of the
historical information in library QPFRDATA is included in the graph.
This command submits a job to save the graph in a GDF file. The graph is saved in
the file USERLIB/USERFILE/TEST.
This command submits a job to print the graph on the system printer named
PRT03.
This command submits a job to print all of the graphs defined in PACKAGE1 in
GRAPHLIB. The print job is sent to the system printer named PRT03. It uses the
historical data members in QPFRDATA for its information.
This command shows the historical members selection menu for the members in
library MONDAY. The user then selects the members to be shown in the graph.
Format
Job: I Pgm: I REXX: I Exec
55──DSPPFRDTA──┬──────────────────────────┬───────────────────────────────5
(1)
│ ┌─\SELECT─── ──┐ │
└─MBR(──┴─member-name─┴──)─┘
(P)
5──┬───────────────────────────┬── ──┬─────────────────────┬──────────────5%
│ ┌─QPFRDATA─────┐ │ └─PERIOD(──┤ Period ├─┘
└─LIB(──┴─library-name─┴──)─┘
Period:
┌─\FIRST─────┐ ┌─\FIRST─────┐
├──┼─\SELECT────┼──┼────────────┼──)──┬──────────────────────────────────┬─┤
─
└─start-time─┘ └─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
└─end-date─┘
Notes:
1 *SELECT cannot be used in a batch environment.
P All parameters preceding this point can be specified in positional form.
Purpose
The Display Performance Data (DSPPFRDTA) command uses a series of displays
to show the performance data collected by the Start Performance Monitor
(STRPFRMON) command.
Examples
Example 1: Displaying List of Members
DSPPFRDTA
This command uses the Select Performance Member display to list the members
available in the default library QPFRDATA so the user can select a member to
display performance data.
This command displays the performance data stored in member JUNE1 located in
library QPFRDATA.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─QPFRDATA/─────┐
55──DSPPFRGPH──GRAPH(──┼───────────────┼──┬─format-name────┬──)───────────5
(1)
├─\CURLIB/──────┤ └─package-name─── ┘
└─library-name/─┘
5──MBR(──member-name──)──┬───────────────────────────┬────────────────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬──────────────────────────────┬── ─────────────────────────────────────5
│ ┌─\SAME─────────┐ │
└─TITLE(──┼─\BLANK────────┼──)─┘
├─\MBRTEXT──────┤
└─'graph-title'─┘
5──┬────────────────────────────────────┬─────────────────────────────────5
│ ┌─\SAME────────────┐ │
└─SUBTITLE(──┼─\BLANK───────────┼──)─┘
├─\MBRTEXT─────────┤
└─'graph-subtitle'─┘
5──┬──────────────────────────┬──┬────────────────────────────────┬───────5
│ ┌─\────────┐ │ │ ┌─4214─────────┐ │
(2)
└─OUTPUT(──┼─\PRINT───┼──)─┘ └─PRTDEV(─── ─┼─4234─────────┼──)─┘
├─\PLOT────┤ ├─522X─────────┤
└─\OUTFILE─┘ ├─\IPDS────────┤
├─\NONGRAPHIC──┤
└─printer-name─┘
5──┬──────────────────────────────────────────────────────┬───────────────5
│ ┌─\PRTDEV──────────────────────────────┐ │
│ │ ┌─\LIBL/────────┐ │ │
(3)
└─OUTQ(─── ─┴─┼───────────────┼──output-queue-name─┴──)─┘
└─library-name/─┘
5──┬────────────────────────────┬──┬─────────────────────────────────┬────5
│ ┌─\PRTDEV─┐ │ │ ┌─1ðð───────────┐ │
(4) (5)
└─PAGELEN(─── ─┼─51──────┼──)─┘ └─PLTSPD(─── ─┴─plotter-speed─┴──)─┘
└─66──────┘
5──┬─────────────────────────────┬────────────────────────────────────────5
│ ┌─3─────────┐ │
(6)
└─PLTPEN(─── ─┴─pen-width─┴──)─┘
5──┬───────────────────────────────────┬──────────────────────────────────5
│ ┌─1───────────────┐ │
(7)
└─PLTADR(─── ─┴─plotter-address─┴──)─┘
5──┬─────────────────────────────────────────────┬────────────────────────5
│ ┌─QPFRDATA/─────┐ │
(8)
└─OUTFILE(─── ─┼───────────────┼──file-name──)─┘
├─\LIBL/────────┤
├─\CURLIB/──────┤
└─library-name/─┘
5──┬─────────────────────────────────────────────┬────────────────────────5
│ ┌─\FIRST──────┐ ┌─\REPLACE─┐ │
(9)
└─OUTMBR(─── ─┴─member-name─┴──┼──────────┼──)─┘
└─\ADD─────┘
5──┬──────────────────────────┬───────────────────────────────────────────5
│ ┌─\GPHFMT─┐ │
(10)
└─TYPE(──── ─┴─\GPHPKG─┴──)─┘
5──┬───────────────────────────────────────────────┬──────────────────────5
│ ┌─\SAME──────────────────────────┐ │
└─XAXIS(──┼─\AUTO──────────────────────────┼──)─┘
└─starting-number──ending-number─┘
5──┬───────────────────────────────────────────────┬──────────────────────5
│ ┌─\SAME──────────────────────────┐ │
└─YAXIS(──┼─\AUTO──────────────────────────┼──)─┘
└─starting-number──ending-number─┘
5──┬─────────────────────────┬──┬──────────────────────────────┬──────────5
(11)
│ ┌─\SAME─┐ │ └─PERIOD(──── ─(──┤ Period ├──)─┘
└─AREAFILL(──┼─\YES──┼──)─┘
└─\NO───┘
5──┬───────────────────────────┬──────────────────────────────────────────5
(12)
├─SLTJOB(──── ─┤ Sltjob ├──)─┤
(14)
└─OMTJOB(──── ─┤ Omtjob ├──)─┘
5──┬──────────────────────────────────────┬───────────────────────────────5
│ ┌─\ALL─────────────┐ │
│ │ ┌──
───────────┐ │ │
(16)
├─SLTUSER(──── ─┴──6─user-name─┴───
(17)
─┴──)─┤
│ ┌─\NONE─────────┐ │
│ │ ┌──
───────────┐ │ │
(18)
└─OMTUSER(──── ─┴──6─user-name─┴─┴───(19)
──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL───────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(20)
├─SLTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(21)
─┴──)─┤
│ ┌─\NONE───────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(22)
└─OMTPOOLS(──── ─┴──6─storage-pool-identifier─┴─┴───(23)
──)─┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\ALL──────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(24)
├─SLTSBS(──── ─┴──6─subsystem-name─┴───
(25)
─┴──)─┤
│ ┌─\NONE──────────────┐ │
│ │ ┌──
────────────────┐ │ │
(26)
└─OMTSBS(──── ─┴──6─subsystem-name─┴─┴───(27)
──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL────────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(28)
├─SLTLINE(──── ─┴──6─communications-line-name─┴───
(29)
─┴──)─┤
│ ┌─\NONE────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(30)
└─OMTLINE(──── ─┴──6─communications-line-name─┴─┴───(31)
──)─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
│ ┌─\ALL───────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(32)
├─SLTCTL(──── ─┴──6─controller-name─┴───
(33)
─┴──)─┤
│ ┌─\NONE───────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(34)
└─OMTCTL(──── ─┴──6─controller-name─┴─┴───(35)
──)─┘
5──┬───────────────────────────────────────────────────┬──────────────────5
│ ┌─\ALL────────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(36)
├─SLTFCNARA(──── ─┴──6─functional-area-name─┴───
(37)
─┴──)─┤
│ ┌─\NONE────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(38)
└─OMTFCNARA(──── ─┴──6─functional-area-name─┴─┴───(39)
──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─DSPPFRGPH─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬──────────────────────────────────────────────────────────┬──────────5%
│ ┌─\NONE───────────────────────────────────┐ │
│ │ ┌─\LIBL/────────┐ │ │
(40)
└─JOBD(──── ─┴─┼───────────────┼──job-description-name─┴──)─┘
├─\CURLIB/──────┤
└─library-name/─┘
Period:
┌─\FIRST─────┐ ┌─\FIRST─────┐
├──┴─start-time─┴──┼────────────┼──)──┬──────────────────────────────────┬─┤
─
└─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
└─end-date─┘
Sltjob:
┌─\ALL─────────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴───
(13)
─┴───────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Omtjob:
┌─\NONE─────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴─┴────
(15)
──────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Notes:
1 A package-name is not valid if OUTPUT(*OUTFILE) is specified.
TYPE(*GPHPKG) must be specified for graph packages.
P All parameters preceding this point can be specified in positional form.
2 The PRTDEV and PAGELEN parameters are valid only when OUTPUT(*PRINT)
is specified.
3 The OUTQ parameter is valid only when OUTPUT(*PRINT) is specified and an
actual printer name, for example, PRT01, PRT02, and so on, is not specified.
4 The PRTDEV and PAGELEN parameters are valid only when OUTPUT(*PRINT)
is specified.
5 The PLTSPD, PLTPEN, and PLTADR parameters are valid only when
OUTPUT(*PLOT) is specified.
6 The PLTSPD, PLTPEN, and PLTADR parameters are valid only when
OUTPUT(*PLOT) is specified.
7 The PLTSPD, PLTPEN, and PLTADR parameters are valid only when
OUTPUT(*PLOT) is specified.
8 The OUTFILE and OUTMBR parameters are valid only when
OUTPUT(*OUTFILE) is specified.
9 The OUTFILE and OUTMBR parameters are valid only when
OUTPUT(*OUTFILE) is specified.
10 A package-name is not valid if OUTPUT(*OUTFILE) is specified.
element that precedes the value(s) to be specified to maintain its position in the
parameter value sequence.
12 The SLTJOB parameter and the OMTJOB parameter cannot be specified at the
same time.
13 A maximum of 50 repetitions
14 The SLTJOB parameter and the OMTJOB parameter cannot be specified at the
same time.
15 A maximum of 50 repetitions
16 The SLTUSER parameter and the OMTUSER parameter cannot be specified at
the same time.
17 A maximum of 50 repetitions
18 The SLTUSER parameter and the OMTUSER parameter cannot be specified at
the same time.
19 A maximum of 50 repetitions
20 The SLTPOOLS parameter and the OMTPOOLS parameter cannot be specified
at the same time
21 A maximum of 16 repetitions
22 The SLTPOOLS parameter and the OMTPOOLS parameter cannot be specified
at the same time
23 A maximum of 16 repetitions
24 The SLTSBS parameter and the OMTSBS parameter cannot be specified at the
same time.
25 A maximum of 50 repetitions
26 The SLTSBS parameter and the OMTSBS parameter cannot be specified at the
same time.
27 A maximum of 50 repetitions
28 The SLTLINE parameter and the OMTLINE parameter cannot be specified at the
same time.
29 A maximum of 50 repetitions
30 The SLTLINE parameter and the OMTLINE parameter cannot be specified at the
same time.
31 A maximum of 50 repetitions
32 The SLTCTL parameter and the OMTCTL parameter cannot be specified at the
same time.
33 A maximum of 50 repetitions
34 The SLTCTL parameter and the OMTCTL parameter cannot be specified at the
same time.
35 A maximum of 50 repetitions
36 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
37 A maximum of 50 repetitions
38 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
39 A maximum of 50 repetitions
40 The JOBD parameter is valid only when OUTPUT(*) or OUTPUT(*PLOT) is not
specified.
Purpose
The Display Performance Graph (DSPPFRGPH) command produces a graph from
the performance data collected by the Start Performance Monitor (STRPFRMON)
command.
The graph format must have been defined on the Create Graph Format
(CRTGPHFMT) command. The graph can be sent as output to a graphics terminal,
Examples
Example 1: Displaying Performance Data Files
DSPPFRGPH GRAPH(GRAPHLIB/CPU)
MBR(QPFRDATA/JUN1) TITLE(\MBRTEXT)
This command displays the performance data files in library QPFRDATA member
JUN1. It is displayed as specified by graph format CPU in library GRAPHLIB. The
report title is taken from the text of the member.
This command submits a job to save the graph of performance data from file
member JUN1, which is in library QPFRDATA, in a GDF file. The graph is saved in
file USERLIB/USERFILE/TEST (file member TEST in file USRFILE, which is in
library USRLIB).
This command submits a job to print the graph of performance data from file
member JUN1, which is in library QPFRDATA, on the system printer named
PRT03.
This command submits a job to print all of the graphs defined in PACKAGE1 in
GRAPHLIB. The print job is sent to system printer PRT03. It's data source is in
performance data member JUN1 in library QPFRDATA.
This command displays a graph of the data collected from 11:30 PM on the first
day of collection through 1:30 AM on the last day of collection. However, if data
collection started and ended on the same day, an error message is printed,
because the specified ending date and time precedes the specified starting date
and time.
This command displays a graph of the performance data collected for all the jobs
whose user ID starts with D46 from 11:30 PM on the first day of collection through
1:30 AM on the last day of collection. However, if data collection started and ended
on the same day, an error message is printed, because the specified ending date
and time precedes the specified starting date and time.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──ENDJOBTRC──┬──────────────────────────┬───────────────────────────────5
│ ┌─QAJOBTRC────┐ │
└─MBR(──┴─member-name─┴──)─┘
5──┬───────────────────────────┬──┬───────────────────────────┬───────────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\NONE────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─RPTTYPE(──┼─\DETAIL──┼──)─┘
├─\SUMMARY─┤
└─\BOTH────┘
(P)
5──┬───────────────────────────────┬── ────────────────────────────────────5
│ ┌─\BLANK─────────┐ │
└─TITLE(──┴─'report-title'─┴──)─┘
5──┬─────────────────────────────────┬────────────────────────────────────5
│ ┌─\FIRST──────────┐ │
└─STRSEQ(──┴─sequence-number─┴──)─┘
5──┬─────────────────────────────────┬────────────────────────────────────5
│ ┌─\LAST───────────┐ │
└─ENDSEQ(──┴─sequence-number─┴──)─┘
5──┬──────────────────────────────┬──┬──────────────────────────────┬─────5
│ ┌─QT3REQIO─────┐ │ │ ┌─QWSGET───────┐ │
└─ENDTNS(──┴─program-name─┴──)─┘ └─STRTNS(──┴─program-name─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─ENDJOBTRC─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The End Job Trace (ENDJOBTRC) command turns off the OS/400 system job
tracing function that was started by the Start Job Trace (STRJOBTRC) command,
saves all collected trace records in a database file, and optionally produces reports
used to analyze the data from a performance viewpoint (the Print Job Trace
(PRTJOBTRC) command may subsequently be used to produce reports from the
source data).
Examples
Example 1: Stopping Job Tracing
ENDJOBTRC
This command stops tracing and saves the created trace records in
QPFRDATA/QAPTTRCJ, member QAJOBTRC. No reports are produced.
This command stops job tracing, saves the created trace records in member
QAJOBTRC of MYLIB/QAPTTRCJ, and produces a detail report. The use of a
private library allows several users to trace jobs at the same time.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──ENDPEX──SSNID(──session-identifier──)─── ──────────────────────────────5
5──┬──────────────────────────┬──┬─────────────────────────┬──────────────5
│ ┌─\END─────┐ │ │ ┌─\LIB──┐ │
(1)
└─OPTION(──┴─\SUSPEND─┴──)─┘ └─DTAOPT(─── ─┼─\FILE─┼──)─┘
└─\DLT──┘
5──┬──────────────────────────────────────┬───────────────────────────────5
│ ┌─QPEXDATA──────────┐ │
(2, 3)
└─DTALIB(──── ─┴─data-library-name─┴──)─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
│ ┌─\SSNID───────────┐ │
(4, 5)
└─DTAMBR(──── ─┴─data-member-name─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬──────────5
│ ┌─QPEXDATA──────────┐ ┌─\SSNID─────────┐ │
(6, 7)
└─DTAFILE(──── ─┴─data-library-name─┴──┴─data-file-name─┴──)─┘
5──┬────────────────────────┬──┬──────────────────────────┬──────────────5%
│ ┌─\NO──┐ │ │ ┌─\BLANK────────┐ │
(8)
└─RPLDTA(─── ─┴─\YES─┴──)─┘ └─TEXT(──┴─'description'─┴─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 Only valid when OPTION(*END) is specified.
Purpose
The End Performance Explorer (ENDPEX) command instructs the performance
explorer tool to stop collecting data. The command expects a session name to
accompany the request which identifies which instance of the performance explorer
session to end.
The user can either end the data collection session or suspend the data collection
session. If the user chooses to end the session, the collected data is put into a
single physical file or multiple data base files, or it is deleted, based on the value
specified for the DTAOPT parameter.
If the user chooses to suspend the collection of performance data, the session
remains active. To resume data collection for a suspended session, the user can
specify OPTION(*RESUME) on a subsequent call of the STRPEX (Start Perform-
ance Explorer) command.
Examples
Example 1: End a Session and Save the Data
ENDPEX SSNID(TEST3) OPTION(\END)
DTAOPT(\LIB) DTAMBR(SYS1DATA)
This command ends the performance explorer session named TEST3 and saves
the data in a set of database files in library QPEXDATA. The member name to be
used for each file is SYS1DATA.
This command ends the performance explorer session named TESTRUN and
deletes the collected performance data.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTACTRPT──┬──────────────────────────┬───────────────────────────────5
│ ┌─QAITMON─────┐ │
└─MBR(──┴─member-name─┴──)─┘
(P)
5──┬───────────────────────────┬──┬───────────────────────────────┬── ─────5
│ ┌─QPFRDATA─────┐ │ └─TITLE(──┬─\BLANK─────────┬──)─┘
└─LIB(──┴─library-name─┴──)─┘ └─'report-title'─┘
5──┬───────────────────────────┬──┬───────────────────────┬───────────────5
(1)
│ ┌─\SUMMARY─┐ │ └─PERIOD(─── ─┤ Period ├─┘
└─RPTTYPE(──┼─\DETAIL──┼──)─┘
└─\ALL─────┘
5──┬─────────────────────────┬──┬─────────────────────────────────┬───────5
│ ┌─\CPU───────┐ │ │ ┌─1ð─────────────┐ │
└─SEQ(──┼─\JOBTASK───┼──)─┘ └─NBRJOBS(──┼─\ALL───────────┼──)─┘
├─\USER──────┤ └─number-of-jobs─┘
├─\PTY───────┤
├─\TOTALIO───┤
├─\SYNCIO────┤
├─\ASYNCIO───┤
├─\FAULT─────┤
├─\SDBREAD───┤
├─\SDBWRITE──┤
├─\SNDBREAD──┤
├─\SNDBWRITE─┤
├─\ADBREAD───┤
├─\ADBWRITE──┤
├─\ANDBREAD──┤
└─\ANDBWRITE─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTACTRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
┌─\FIRST─────┐ ┌─\FIRST─────┐
├──┴─start-time─┴──┼────────────┼──)──┬──────────────────────────────────┬─┤
─
└─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
└─end-date─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 *PERIOD contains two lists of two elements each. *N must be specified for any
element that precedes the value(s) specified to maintain its position in the param-
eter value sequence.
Purpose
The Print Activity Report (PRTACTRPT) command generates reports based on the
data collected by the Work with System Activity (WRKSYSACT) command.
Examples
Example 1: Generating a Summary Report
PRTACTRPT
This command submits a batch job that generates a summary activity report using
the performance data found in the default member QAITMON located in the default
library QPFRDATA. The report covers the entire measurement period, and the title
of the report is left blank.
PRTACTRPT MBR(JUNEð1)
TITLE('Activity Report for June 1st')
RPTTYPE(\ALL) SEQ(\CPU)
This command submits a batch job that generates both a summary and a detailed
activity report. The performance data comes from member JUNE01 located in the
default library QPFRDATA. The report covers the entire measurement period, and
the title of the report is 'Activity Report for June 1st.' The detailed activity report lists
ten entries in descending order according to CPU utilization for each interval.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTCPTRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬───────────────────────┬─────────5
(1)
│ ┌─\MBR───────────┐ │ └─PERIOD(─── ─┤ Period ├─┘
└─TITLE(──┴─'report-title'─┴──)─┘
5──┬───────────────────────────────────────────────────────────┬──────────5
│ ┌─\ALL────────────────────────────────────┐ │
│ │ ┌──
───────────────────────────────────┐ │ │
(2)
├─SLTJOB(─── ─┴──6─┬─job-name──────────────────────┬─┴──
(3)
─┴──)─┤
│ ├─user-name/job name────────────┤ │
│ └─job-number/user-name/job-name─┘ │
│ ┌─\NONE─────────────────────────────────┐ │
│ │ ┌──
───────────────────────────────────┐ │ │
(4)
└─OMTJOB(─── ─┴──6─┬─job-name──────────────────────┬─┴─┴── (5)
──)─┘
├─user-name/job-name────────────┤
└─job-number/user-name/job-name─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
│ ┌─\ALL────────────┐ │
│ │ ┌──
───────────┐ │ │
(6)
├─SLTUSRID(─── ─┴──6─user-name─┴──
(7)
─┴──)─┤
│ ┌─\NONE─────────┐ │
│ │ ┌──
───────────┐ │ │
(8)
└─OMTUSRID(─── ─┴──6─user-name─┴─┴── (9)
──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL───────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(10)
├─SLTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(11)
─┴──)─┤
│ ┌─\NONE───────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(12)
└─OMTPOOLS(──── ─┴──6─storage-pool-identifier─┴─┴───(13)
──)─┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\ALL──────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(14)
├─SLTSBS(──── ─┴──6─subsystem-name─┴───
(15)
─┴──)─┤
│ ┌─\NONE──────────────┐ │
│ │ ┌──
────────────────┐ │ │
(16)
└─OMTSBS(──── ─┴──6─subsystem-name─┴─┴───(17)
──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL────────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(18)
├─SLTLINE(──── ─┴──6─communications-line-name─┴───
(19)
─┴──)─┤
│ ┌─\NONE────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(20)
└─OMTLINE(──── ─┴──6─communications-line-name─┴─┴───(21)
──)─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
│ ┌─\ALL───────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(22)
├─SLTCTL(──── ─┴──6─controller-name─┴───
(23)
─┴──)─┤
│ ┌─\NONE───────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(24)
└─OMTCTL(──── ─┴──6─controller-name─┴─┴───(25)
──)─┘
5──┬───────────────────────────────────────────────────┬──────────────────5
│ ┌─\ALL────────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(26)
├─SLTFCNARA(──── ─┴──6─functional-area-name─┴───
(27)
─┴──)─┤
│ ┌─\NONE────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(28)
└─OMTFCNARA(──── ─┴──6─functional-area-name─┴─┴───(29)
──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTCPTRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
┌─\FIRST─────┐ ┌─\FIRST─────┐
├──┼─\SELECT────┼──┴─start-date─┴──)──┬──────────────────────────────────┬─┤
─
└─start-time─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
└─end-date─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 *PERIOD contains two lists of two elements each. *N must be specified for any
element that precedes the value(s) to be specified to maintain its position in the
parameter value sequence.
2 The SLTJOB parameter and the OMTJOB parameter cannot be specified at the
same time.
3 A maximum of 50 repetitions
4 The SLTJOB parameter and the OMTJOB parameter cannot be specified at the
same time.
5 A maximum of 50 repetitions
11 A maximum of 16 repetitions.
12 The SLTPOOLS parameter and the OMTPOOLS parameter cannot be specified
at the same time
13 A maximum of 16 repetitions.
14 The SLTSBS parameter and the OMTSBS parameter cannot be specified at the
same time.
15 A maximum of 50 repetitions
16 The SLTSBS parameter and the OMTSBS parameter cannot be specified at the
same time.
17 A maximum of 50 repetitions
18 The SLTLINE parameter and the OMTLINE parameter cannot be specified at the
same time.
19 A maximum of 50 repetitions
20 The SLTLINE parameter and the OMTLINE parameter cannot be specified at the
same time.
21 A maximum of 50 repetitions
22 The SLTCTL parameter and the OMTCTL parameter cannot be specified at the
same time.
23 A maximum of 50 repetitions
24 The SLTCTL parameter and the OMTCTL parameter cannot be specified at the
same time.
25 A maximum of 50 repetitions
26 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
27 A maximum of 50 repetitions
28 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
29 A maximum of 50 repetitions
Purpose
The Print Component Report (PRTCPTRPT) command produces a report that
expands on the detail for each component of system performance shown on the
System Report. This report is produced from the performance data collected by the
Start Performance Monitor (STRPFRMON) command and shows the data by job,
user, pool, disk, local work station, and exception. This report is written to the
printer file QPPTCPTR. Jobs may be selectively included in the report or excluded
from the report based on a variety of job details and interval times.
Examples
Example 1: Printing a Component Report
PRTCPTRPT MBR(APRIL18)
This command prints a complete component report for the performance data
member APRIL18 in library QPFRDATA. The report title is the same as the text in
the member.
This command prints a component report for the data member NOV1 in library
QPFRDATA. The user is presented with the interval-selection display, which allows
sorting of the intervals according to various criteria and selection of only certain
intervals to be included in the report. The title of the report is "Intervals with Highest
Response Times".
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTJOBRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬─────────────────────────┬───────5
(1)
│ ┌─\MBRTXT────────┐ │ │ ┌─\SELECT─── ─┐ │
└─TITLE(──┼─\BLANK─────────┼──)─┘ └─PERIOD(──┴─┤ Period ├─┴─┘
└─'report-title'─┘
5──┬──────────────────────────┬───────────────────────────────────────────5
(2)
├─SLTJOB(─── ─┤ Sltjob ├──)─┤
(4)
└─OMTJOB(─── ─┤ Omtjob ├──)─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
│ ┌─\ALL────────────┐ │
│ │ ┌──
───────────┐ │ │
(6)
├─SLTUSRID(─── ─┴──6─user-name─┴──
(7)
─┴──)─┤
│ ┌─\NONE───────────┐ │
│ │ ┌──
───────────┐ │ │
(8)
└─OMTUSRID(─── ─┴──6─user-name─┴──
(9)
─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL───────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(10)
├─SLTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(11)
─┴──)─┤
│ ┌─\NONE──────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(12)
└─OMTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(13)
─┴──)─┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\ALL──────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(14)
├─SLTSBS(──── ─┴──6─subsystem-name─┴───
(15)
─┴──)─┤
│ ┌─\NONE─────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(16)
└─OMTSBS(──── ─┴──6─subsystem-name─┴───
(17)
─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL────────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(18)
├─SLTLINE(──── ─┴──6─communications-line-name─┴───
(19)
─┴──)─┤
│ ┌─\NONE───────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(20)
└─OMTLINE(──── ─┴──6─communications-line-name─┴───
(21)
─┴──)─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
│ ┌─\ALL───────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(22)
├─SLTCTL(──── ─┴──6─controller-name─┴───
(23)
─┴──)─┤
│ ┌─\NONE──────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(24)
└─OMTCTL(──── ─┴──6─controller-name─┴───
(25)
─┴──)─┘
5──┬───────────────────────────────────────────────────┬──────────────────5
│ ┌─\ALL────────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(26)
├─SLTFCNARA(──── ─┴──6─functional-area-name─┴───
(27)
─┴──)─┤
│ ┌─\NONE───────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(28)
└─OMTFCNARA(──── ─┴──6─functional-area-name─┴───
(29)
─┴──)─┘
5──┬─────────────────────────┬──┬────────────────────────┬────────────────5
│ ┌─\YES─┐ │ │ ┌─PRTJOBRPT─┐ │
└─OMTSYSTSK(──┴─\NO──┴──)─┘ └─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
┌─\FIRST─────┐ ┌─\FIRST─────┐
├──┴─start-time─┴──┼────────────┼──)──┬──────────────────────────────────┬─┤
─
└─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
└─end-date─┘
Sltjob:
┌─\ALL────────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴──
(3)
─┴────────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Omtjob:
┌─\NONE───────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴──
(5)
─┴────────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 *SELECT is valid only in the interactive environment.
2 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
3 A maximum of 50 repetitions
4 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
5 A maximum of 50 repetitions
6 The SLTUSRID parameter and the OMTUSRID parameter are mutually exclu-
sive.
7 A maximum of 50 repetitions
8 The SLTUSRID parameter and the OMTUSRID parameter are mutually exclu-
sive.
9 A maximum of 50 repetitions
10 The SLTPOOLS parameter and the OMTPOOLS parameter are mutually exclu-
sive.
11 A maximum of 16 repetitions
12 The SLTPOOLS parameter and the OMTPOOLS parameter are mutually exclu-
sive.
13 A maximum of 16 repetitions
14 The SLTSBS parameter and the OMTSBS parameter are mutually exclusive.
15 A maximum of 50 repetitions
16 The SLTSBS parameter and the OMTSBS parameter are mutually exclusive.
17 A maximum of 50 repetitions
18 The SLTLINE parameter and the OMTLINE parameter are mutually exclusive.
19 A maximum of 50 repetitions
20 The SLTLINE parameter and the OMTLINE parameter are mutually exclusive.
21 A maximum of 50 repetitions
22 The SLTCTL parameter and the OMTCTL parameter are mutually exclusive.
23 A maximum of 50 repetitions
24 The SLTCTL parameter and the OMTCTL parameter are mutually exclusive.
25 A maximum of 50 repetitions
26 The SLTFNCARA parameter and the OMTFNCARA parameter are mutually
exclusive.
27 A maximum of 50 repetitions
28 The SLTFNCARA parameter and the OMTFNCARA parameter are mutually
exclusive.
29 A maximum of 50 repetitions
Purpose
The Print Job Report (PRTJOBRPT) command produces a job-oriented report from
the performance data collected by the Start Performance Monitor (STRPFRMON)
command. The report, which is written to the printer file QPPTITVJ, shows job infor-
mation by interval. Jobs are selected for inclusion in, or exclusion from, the report
based on a variety of job details and interval times.
Examples
Example 1: Submitting a Batch Job
PRTJOBRPT MBR(DTAð71588A)
This command submits a batch job to print a report on all jobs in all intervals in the
member DTA071588A of the performance data files in library QPFRDATA. The
report title is taken from the text of that member.
This command submits a job to print a report from the same data, but first shows a
screen where a user interactively selects which intervals to include.
This command submits a job to print a report on the data collected from 11:30 PM
on the first day of collection through 1:30 AM on the last day of collection.
However, if data collection started and ended on the same day, an error message
is printed instead, because the specified ending date and time is before the speci-
fied starting date and time.
This command interactively prints a report for all jobs with a user ID starting with
D46.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTJOBTRC──┬──────────────────────────┬───────────────────────────────5
│ ┌─QAJOBTRC────┐ │
└─MBR(──┴─member-name─┴──)─┘
5──┬───────────────────────────┬──┬───────────────────────────┬───────────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\BOTH────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─RPTTYPE(──┼─\DETAIL──┼──)─┘
└─\SUMMARY─┘
(P)
5──┬───────────────────────────────┬── ────────────────────────────────────5
│ ┌─\BLANK─────────┐ │
└─TITLE(──┴─'report-title'─┴──)─┘
5──┬─────────────────────────────────┬────────────────────────────────────5
│ ┌─\FIRST──────────┐ │
└─STRSEQ(──┴─sequence-number─┴──)─┘
5──┬─────────────────────────────────┬────────────────────────────────────5
│ ┌─\LAST───────────┐ │
└─ENDSEQ(──┴─sequence-number─┴──)─┘
5──┬──────────────────────────────┬──┬──────────────────────────────┬─────5
│ ┌─QT3REQIO─────┐ │ │ ┌─QWSGET───────┐ │
└─ENDTNS(──┴─program-name─┴──)─┘ └─STRTNS(──┴─program-name─┴──)─┘
5──┬───────────────────────────┬──┬────────────────────────┬──────────────5
│ ┌─\CUR───────┐ │ │ ┌─PRTJOBTRC─┐ │
└─MODEL(──┴─model-code─┴──)─┘ └─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Print Job Trace (PRTJOBTRC) command produces performance-oriented
reports used to analyze job trace data collected with the Start Job Trace
(STRJOBTRC) and End Job Trace (ENDJOBTRC) commands.
Example
PRTJOBTRC LIB(MYLIB) RPTTYPE(\DETAIL)
This command produces a detail report using data saved in member QAJOBTRC in
library MYLIB/QAPTTRCJ.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTLCKRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬──┬───────────────────────┬── ─────────5
│ ┌─\MBRTXT────────┐ │ │ ┌─\SUM─┐ │
└─TITLE(──┼─\BLANK─────────┼──)─┘ └─RPTTYPE(──┼─\TOD─┼──)─┘
└─'report-title'─┘ ├─\RQS─┤
├─\HLD─┤
├─\OBJ─┤
└─\ALL─┘
5──┬─────────────────────┬────────────────────────────────────────────────5
│ ┌─\YES─┐ │
└─FIRST(──┴─\NO──┴──)─┘
5──┬────────────────────────────────────────────┬─────────────────────────5
│ ┌─\FIRST─────┐ ┌─\LAST────┐ │
(1)
└─PERIOD(─── ─┴─start-time─┴──┼──────────┼──)─┘
└─end-time─┘
5──┬─────────────────────────────────────────┬────────────────────────────5
│ ┌─5ðð────────────────────┐ │
└─MINWAIT(──┴─number-of-milliseconds─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTLCKRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 *PERIOD contains two lists of one element each. *N must be specified in place
of any omitted element that precedes the value(s) to be specified to maintain its
position in the parameter value sequence.
Purpose
The Print Lock Report (PRTLCKRPT) command produces a report that shows lock
and seize conflicts that occur during system operation. This report is produced from
the resource management trace data collected by the Start Performance Monitor
(STRPFRMON) command and formatted by the Print Transaction Report
(PRTTNSRPT) command. This information can be used to determine whether jobs
are being delayed during processing because of unsatisfied lock requests or
internal machine seizes; these conditions are also known as waits.
The input to this command is the output from a previous run of the commands
STRPFRMON TRACE(*ALL) and PRTTNSRPT. The output from this command is
written to the printer file QPPTLCK.
Examples
Example 1: Producing a Summary Report
PRTLCKRPT MBR(RESTRC)
This command produces a summary report from the performance data saved in
member RESTRC of QPFRDATA/QAPMDMPT from a prior run of the Start Per-
formance Monitor (STRPFRMON) and Print Transaction Report (PRTTNSRPT)
commands.
This command produces the same report as the previous example, except that it
includes a detail listing sorted by the time in which the lock/seize conflicts occurred.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──PRTPEXRPT──MBR(──member-name──)─── ─┬───────────────────────────┬──────5
│ ┌─QPEXDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
5──┬────────────────────────┬──┬──────────────────────────┬───────────────5
| │ ┌─\STATS───┐ │ │ ┌─\PRINT───┐ │
| └─TYPE(──┼─\TRACE───┼──)─┘ └─OUTPUT(──┴─\OUTFILE─┴──)─┘
├─\PROFILE─┤
| └─\BASIC───┘
5──┬────────────────────────────────────────────────────┬─────────────────5
| │ ┌─\LIBL/────────┐ │
| └─OUTFILE(──┼───────────────┼──database-file-name──)─┘
| ├─\CURLIB/──────┤
| └─library-name/─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
| │ ┌─\FIRST──────┐ ┌─\REPLACE─┐ │
| └─OUTMBR(──┴─member-name─┴──┴─\ADD─────┴──)─┘
5──┬─────────────────────────────────────────────────────────────────┬────5
| │ ┌─\NONE─────────────┐ │
| │ ┌─\TASK──────┐ ┌─\NO──┐ │ ┌── ─────────────┐ │ │
| (1)
└─TRACEOPT(─── ─┴─\TIMESTAMP─┴──┴─\YES─┴──┴──6┬─\PGM──────┬┴──
(2)
─┴──)─┘
| ├─\LICPGM───┤
| ├─\ASM──────┤
| ├─\BASE─────┤
| ├─\DISK─────┤
| ├─\DSKSVR───┤
| ├─\FAULT────┤
| ├─\JOB──────┤
| ├─\LOCK─────┤
| ├─\SAR──────┤
| ├─\MIBRKT───┤
| ├─\LICBRKT──┤
| ├─\DASD─────┤
| ├─\DASDSRVR─┤
| ├─\PAGEFLT──┤
| ├─\RMPR─────┤
| └─\RMSZ─────┘
5──┬──────────────────────────────────────┬───────────────────────────────5
| │ ┌─\ALL────────────────┐ │
| │ │ ┌──
─────────────────┐ │ │
| └─TRCTYPE(──┴──6─┬─\CALLRTN──┬──
(3)
─┴─┴──)─┘
| ├─\BASIC────┤
| ├─\DSKIO1───┤
| ├─\DSKIO2───┤
| ├─\DSKSVR───┤
| ├─\DSKSTG───┤
| ├─\VRTADR───┤
| ├─\PGMACT───┤
| ├─\FILEOPEN─┤
| ├─\PRFDTA───┤
| └─\TASKSWT──┘
5──┬──────────────────────────────────────────────────────┬───────────────5
| │ ┌─\AVAIL─────┐ │
(4, 5)
| └─PERIOD(──── ─(──┴─start-time─┴──┤ PERIOD details ├──)─┘
5──┬─────────────────────────────────────────────────────────────┬────────5
| │ ┌─\ALL──────────────────────────────────────┐ │
| │ │ ┌──
─────────────────────────────────────┐ │ │
| │ │ │ ┌─\ALL/───────┐ │ │ │
| (6)
├─SLTJOB(─── ─┴──6─┴─job-number/─┴──┤ SLTJOB details ├─┴──
(7)
─┴──)─┤
| │ ┌─\NONE─────────────────────────────────────┐ │
| │ │ ┌──
─────────────────────────────────────┐ │ │
| │ │ │ ┌─\ALL/───────┐ │ │ │
| (8)
└─OMTJOB(─── ─┴──6─┴─job-number/─┴──┤ OMTJOB details ├─┴──
(9)
─┴──)─┘
5──┬────────────────────────────────────────────────────┬─────────────────5
│ ┌─\CPU────────────┐ ┌─\PROGRAM─┐ │
(10)
└─STATSOPT(──── ─┼─\PGMNAME────────┼──┼─\BLANK───┼──)─┘
├─\INVCNT─────────┤ └─\MODULE──┘
├─\DBSYNCIO───────┤
├─\DBASYNCIO──────┤
├─\NDBSYNCIO──────┤
├─\NDBASYNCIO─────┤
├─\MICALLS────────┤
├─\MIINST─────────┤
├─\CUMLCPU────────┤
├─\CUMLDBSYNCIO───┤
├─\CUMLDBASYNCIO──┤
├─\CUMLNDBSYNCIO──┤
└─\CUMLNDBASYNCIO─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
(11)
└─PROFILEOPT(──── ─┤ PROFILEOPT details ├──)─┘
5──┬────────────────────────────┬────────────────────────────────────────5%
│ ┌─\DESCENDING─┐ │
└─ORDER(──┴─\ASCENDING──┴──)─┘
PERIOD details:
┌─\BEGIN─────┐ ┌─\AVAIL───┐ ┌─\END─────┐
├──┼─\CURRENT───┼──)──(──┴─end-time─┴──┼─\CURRENT─┼──)────────────────────┤
└─start-date─┘ └─end-date─┘
SLTJOB details:
┌─\ALL/───────────────┐
├──┼─generic\-user-name/─┼──┬─job-name──────────┬─────────────────────────┤
└─user-name/──────────┘ └─generic\-job-name─┘
OMTJOB details:
┌─\ALL/───────────────┐
├──┼─generic\-user-name/─┼──┬─job-name──────────┬─────────────────────────┤
└─user-name/──────────┘ └─generic\-job-name─┘
PROFILEOPT details:
┌─\SAMPLECOUNT─┐ ┌─\PROGRAM───┐ ┌─ð─────────────────┐
├──┴─\ADDRESS─────┴──┼─\BLANK─────┼──┴─filter-percentage─┴────────────────┤
├─\STATEMENT─┤
├─\PROCEDURE─┤
└─\MODULE────┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 The TRACEOPT parameter is valid only if TYPE(*TRACE) specified.
| 5 *PERIOD contains two lists of two elements each. *N must be specified for any
| element that precedes the value or values to be specified, to maintain its position
| in the parameter value sequence.
| 6 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
| 7 A maximum of 10 repetitions.
| 8 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
| 9 A maximum of 10 repetitions.
Purpose
The Print Performance Explorer Report (PRTPEXRPT) command prints a formatted
listing of the data that was collected by the performance explorer and saved across
a set of physical files in a particular library.
Restriction: The user must have read authority for each performance explorer
database file in the specified library.
Examples
Example 1: Statistics Report
PRTPEXRPT MBR(SAMPLE) LIBRARY(SAMPLELIB)
TYPE(\STATS) STATSOPT(\INVCNT \MODULE)
In this example, a profile type report is generated based on data members named
SAMPLE2 in the default library, QPEXDATA. The data is arranged in descending
order based on the sample count and is summarized at the program level.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTPOLRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬───────────────────────┬─────────5
(1)
│ ┌─\MBRTXT────────┐ │ └─PERIOD(─── ─┤ Period ├─┘
└─TITLE(──┼─\BLANK─────────┼──)─┘
└─'report-title'─┘
5──┬──────────────────────────┬───────────────────────────────────────────5
(2)
├─SLTJOB(─── ─┤ Sltjob ├──)─┤
(4)
└─OMTJOB(─── ─┤ Omtjob ├──)─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
│ ┌─\ALL────────────┐ │
│ │ ┌──
───────────┐ │ │
(6)
├─SLTUSRID(─── ─┴──6─user-name─┴──
(7)
─┴──)─┤
│ ┌─\NONE───────────┐ │
│ │ ┌──
───────────┐ │ │
(8)
└─OMTUSRID(─── ─┴──6─user-name─┴──
(9)
─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL───────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(10)
├─SLTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(11)
─┴──)─┤
│ ┌─\NONE──────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(12)
└─OMTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(13)
─┴──)─┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\ALL──────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(14)
├─SLTSBS(──── ─┴──6─subsystem-name─┴───
(15)
─┴──)─┤
│ ┌─\NONE─────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(16)
└─OMTSBS(──── ─┴──6─subsystem-name─┴───
(17)
─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL────────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(18)
├─SLTLINE(──── ─┴──6─communications-line-name─┴───
(19)
─┴──)─┤
│ ┌─\NONE───────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(20)
└─OMTLINE(──── ─┴──6─communications-line-name─┴───
(21)
─┴──)─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
│ ┌─\ALL───────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(22)
├─SLTCTL(──── ─┴──6─controller-name─┴───
(23)
─┴──)─┤
│ ┌─\NONE──────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(24)
└─OMTCTL(──── ─┴──6─controller-name─┴───
(25)
─┴──)─┘
5──┬───────────────────────────────────────────────────┬──────────────────5
│ ┌─\ALL────────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(26)
├─SLTFCNARA(──── ─┴──6─functional-area-name─┴───
(27)
─┴──)─┤
│ ┌─\NONE───────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(28)
└─OMTFCNARA(──── ─┴──6─functional-area-name─┴───
(29)
─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTPOLRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
┌─\SELECT────────────────────────────────────────────────────────┐
│ ┌─\FIRST─────┐ ┌─\FIRST─────┐ │
├──┴─┴─start-time─┴──┼────────────┼──┬────────────────────────────┬─┴──)──┤
└─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─┴─end-time─┴──┼──────────┼─┘
└─end-date─┘
Sltjob:
┌─\ALL────────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴──
(3)
─┴────────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Omtjob:
┌─\NONE───────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴──
(5)
─┴────────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 PERIOD contains two lists of two elements each. *N must be specified for any
element that precedes the value(s) to be specified to maintain its position in the
parameter value sequence.
2 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
3 A maximum of 50 repetitions
4 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
5 A maximum of 50 repetitions
6 The SLTUSRID parameter and the OMTUSRID parameter are mutually exclu-
sive.
7 A maximum of 50 repetitions
8 The SLTUSRID parameter and the OMTUSRID parameter are mutually exclu-
sive.
9 A maximum of 50 repetitions
10 The SLTPOOLS parameter and the OMTPOOLS parameter are mutually exclu-
sive.
11 A maximum of 16 repetitions
12 The SLTPOOLS parameter and the OMTPOOLS parameter are mutually exclu-
sive.
13 A maximum of 16 repetitions
14 The SLTSBS parameter and the OMTSBS parameter are mutually exclusive.
15 A maximum of 50 repetitions
16 The SLTSBS parameter and the OMTSBS parameter are mutually exclusive.
17 A maximum of 50 repetitions
18 The SLTLINE parameter and the OMTLINE parameter are mutually exclusive.
19 A maximum of 50 repetitions
20 The SLTLINE parameter and the OMTLINE parameter are mutually exclusive.
21 A maximum of 50 repetitions
22 The SLTCTL parameter and the OMTCTL parameter are mutually exclusive.
23 A maximum of 50 repetitions
24 The SLTCTL parameter and the OMTCTL parameter are mutually exclusive.
25 A maximum of 50 repetitions
26 The SLTFNCARA parameter and the OMTFNCARA parameter are mutually
exclusive.
27 A maximum of 50 repetitions
28 The SLTFNCARA parameter and the OMTFNCARA parameter are mutually
exclusive.
29 A maximum of 50 repetitions
Purpose
The Print Pool Report (PRTPOLRPT) command produces a pool-oriented report
from the performance data collected by the Start Performance Monitor
(STRPFRMON) command. The report is written to the printer file QPPTITVP. The
two sections of the report are subsystem activity and workload activity of storage
pools. The information is presented according to interval order. Jobs may be selec-
tively included in, or excluded from, the report based on a variety of job details and
interval times.
Examples
Example 1: Printing a Report
PRTPOLRPT MBR(DTAð71588A)
This command submits a batch job to print a report on all jobs in all intervals in the
member DTA071588A of the performance data files in library QPFRDATA. The
report title is taken from the text of that member.
This command submits a job to print a report from the same data, but first shows a
display from which the user interactively selects the intervals to include.
This command submits a job to print a report on the data collected from 11:30 PM
on the first day of collection through 1:30 AM on the last day of collection.
However, if data collection started and ended on the same day, an error message
is printed, because the specified ending date and time is before the specified
starting date and time.
This command interactively prints a report for all jobs with a user ID starting with
D46.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTRSCRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬───────────────────────┬─────────5
(1)
│ ┌─\MBRTXT────────┐ │ └─PERIOD(─── ─┤ Period ├─┘
└─TITLE(──┼─\BLANK─────────┼──)─┘
└─'report-title'─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTRSCRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
(2)
┌─\SELECT─── ─────────────────────────────────────────────────────┐
│ ┌─\FIRST─────┐ ┌─\FIRST─────┐ │
├──┴─┴─start-time─┴──┼────────────┼──┬────────────────────────────┬─┴──)──┤
└─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─┴─end-time─┴──┼──────────┼─┘
└─end-date─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 PERIOD contains two lists of two elements each. *N must be specified for any
element that precedes the value(s) to be specified to maintain its position in the
parameter value sequence.
2 *SELECT is valid only in the interactive environment.
Purpose
The Print Resource Report (PRTRSCRPT) command produces a device resource
usage report from the performance data collected by the Start Performance Monitor
(STRPFRMON) command. The report is written to the printer file, QPPTITVR, and
shows device resource information by time interval. Resources may be selected for
inclusion in, or exclusion from, the report based on interval times.
Examples
Example 1: Printing a Report
PRTRSCRPT MBR(DTAð71588A)
This command submits a batch job to print a report on all resources in all intervals
in the member DTA071588A of performance data files in library QPFRDATA. The
report title is taken from the text of that member.
This command submits a job to print a report from the same data, but first shows a
screen from which the user interactively select which intervals to include.
This command submits a job to print a report on the data collected from 11:30 PM
on the first day of collection through 1:30 AM on the last day of collection.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTSYSRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬───────────────────────┬─────────5
(1)
│ ┌─\MBR───────────┐ │ └─PERIOD(─── ─┤ Period ├─┘
└─TITLE(──┴─'report-title'─┴──)─┘
5──┬───────────────────────────────────┬──┬──────────────────────────┬────5
(3)
│ ┌─\ALL────────────────┐ │ ├─SLTJOB(─── ─┤ Sltjob ├──)─┤
(5)
│ │ ┌──
───────────────┐ │ │ └─OMTJOB(─── ─┤ Omtjob ├──)─┘
└─TYPE(──┴──6─┬─\WORKLOAD─┬─┴──
(2)
─┴──)─┘
├─\RSC──────┤
├─\RSCEXPN──┤
├─\POOL─────┤
├─\DISK─────┤
└─\CMN──────┘
5──┬──────────────────────────────────────┬───────────────────────────────5
│ ┌─\ALL────────────┐ │
│ │ ┌──
───────────┐ │ │
(7)
├─SLTUSRID(─── ─┴──6─user-name─┴──
(8)
─┴──)──┤
│ ┌─\NONE────────────┐ │
│ │ ┌──
───────────┐ │ │
(9)
└─OMTUSRID(─── ─┴──6─user-name─┴───
(10)
─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL───────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(11)
├─SLTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(12)
─┴──)─┤
│ ┌─\NONE──────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(13)
└─OMTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(14)
─┴──)─┘
5──┬──────────────────────────────────────────┬───────────────────────────5
│ ┌─\ALL──────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(15)
├─SLTSBS(──── ─┴──6─subsystem-name─┴───
(16)
─┴──)─┤
│ ┌─\NONE─────────────────┐ │
│ │ ┌──
────────────────┐ │ │
(17)
└─OMTSBS(──── ─┴──6─subsystem-name─┴───
(18)
─┴──)─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL────────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(19)
├─SLTLINE(──── ─┴──6─communications-line-name─┴───
(20)
─┴──)─┤
│ ┌─\NONE───────────────────────────┐ │
│ │ ┌──
──────────────────────────┐ │ │
(21)
└─OMTLINE(──── ─┴──6─communications-line-name─┴───
(22)
─┴──)─┘
5──┬───────────────────────────────────────────┬──────────────────────────5
│ ┌─\ALL───────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(24)
├─SLTCTL(──── ─┴──6─controller-name─┴───
(25)
─┴──)─┤
│ ┌─\NONE──────────────────┐ │
│ │ ┌──
─────────────────┐ │ │
(26)
└─OMTCTL(──── ─┴──6─controller-name─┴───
(27)
─┴──)─┘
5──┬───────────────────────────────────────────────────┬──────────────────5
│ ┌─\ALL────────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(28)
├─SLTFCNARA(──── ─┴──6─functional-area-name─┴───
(29)
─┴──)─┤
│ ┌─\NONE───────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(30)
└─OMTFCNARA(──── ─┴──6─functional-area-name─┴───
(31)
─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTSYSRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
┌─\SELECT────────────────────────────────────────────────────────┐
│ ┌─\FIRST─────┐ ┌─\FIRST─────┐ │
├──┴─┴─start-time─┴──┼────────────┼──┬────────────────────────────┬─┴──)──┤
└─start-date─┘ │ ┌─\LAST────┐ ┌─\LAST────┐ │
└─┴─end-time─┴──┼──────────┼─┘
└─end-date─┘
Sltjob:
┌─\ALL────────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴──
(4)
─┴────────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Omtjob:
┌─\NONE───────────────────────────────────────────────┐
│ ┌──
───────────────────────────────────────────────┐ │
├──┴──6───┬─────────────────────────────┬──job-name───┴──
(6)
─┴────────────────┤
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 PERIOD contains two lists of two elements each. *N must be specified for any
element that precedes the value(s) to be specified to maintain its position in the
parameter value sequence.
2 Specific report section with maximum of 6 repetitions.
3 The SLTJOB parameter and the OMTJOB parameter cannot be specified at the
same time.
4 A maximum of 50 repetitions.
5 The SLTJOB parameter and the OMTJOB parameter cannot be specified at the
same time.
6 A maximum of 50 repetitions.
15 The SLTSBS parameter and the OMTSBS parameter cannot be specified at the
same time.
16 A maximum of 50 repetitions.
17 The SLTSBS parameter and the OMTSBS parameter cannot be specified at the
same time.
18 A maximum of 50 repetitions.
19 The SLTLINE parameter and the OMTLINE parameter cannot be specified at the
same time.
20 A maximum of 50 repetitions.
21 The SLTLINE parameter and the OMTLINE parameter cannot be specified at the
same time.
22 A maximum of 50 repetitions.
23 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
24 The SLTCTL parameter and the OMTCTL parameter cannot be specified at the
same time.
25 A maximum of 50 repetitions.
26 The SLTCTL parameter and the OMTCTL parameter cannot be specified at the
same time.
27 A maximum of 50 repetitions.
28 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
29 A maximum of 50 repetitions.
30 The SLTFCNARA parameter and the OMTFCNARA parameter cannot be speci-
fied at the same time.
31 A maximum of 50 repetitions.
Purpose
The Print System Report (PRTSYSRPT) command generates and prints a system
operation overview report from the performance data collected by the Start Per-
formance Monitor (STRPFRMON) command. The report is written to the printer file
QPPTSYSR. The system work load, resource utilization expansion, storage pool
utilization, disk utilization, and communications summary are presented in the
report.
Examples
Example 1: Printing a Report
PRTSYSRPT MBR(APRIL18)
or
PRTSYSRPT MBR(APRIL18) SECTION(\ALL)
These commands print a complete system report for the performance data member
APRIL18 in library QPFRDATA. The report title is the same as the text in the
member.
This command prints a system report for the data member NOV1 in library
QPFRDATA. The user is presented with the interval-selection screen, which allows
sorting of the intervals according to various criteria and the selection of certain
intervals to be included in the report. The title of the report is "Intervals with Highest
Response Times."
This command prints only the Disk Utilization section of the system report for the
data member NOV1.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTTNSRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
5──┬───────────────────────────────┬──────────────────────────────────────5
│ ┌─\BLANK─────────┐ │
└─TITLE(──┴─'report-title'─┴──)─┘
(P)
5──┬─────────────────────────────────┬── ──────────────────────────────────5
│ ┌──
──────────────┐ │
│ │ ┌─\SUMMARY─┐ │ │
└─RPTTYPE(───6─┼─\TNSACT──┼─┴──
(1)
──)─┘
├─\TRSIT───┤
├─\FILE────┤
└─\TRCDTA──┘
5──┬────────────────────────────────────────────┬─────────────────────────5
│ ┌─\FIRST─────┐ ┌─\LAST────┐ │
(2)
└─PERIOD(─── ─┴─start-time─┴──┼──────────┼──)─┘
└─end-time─┘
5──┬───────────────────────────┬──┬──────────────────────────────────┬────5
│ ┌──
─────────┐ │ │ ┌─\ALL───────────┐ │
│ │ ┌─\SS─┐ │ │ │ │ ┌──
──────────┐ │ │
└─OPTION(───6─┼─\SI─┼─┴──
(3) (4)
──)─┘ ├─SLTJOB(─── ─┴──6─job-name─┴──
(5)
─┴──)─┤
├─\OZ─┤ │ ┌─\NONE──────────┐ │
├─\EV─┤ │ │ ┌──
──────────┐ │ │
├─\HV─┤ (6)
└─OMTJOB(─── ─┴──6─job-name─┴──
(7)
─┴──)─┘
├─\DI─┤
└─\DQ─┘
5──┬────────────────────────────────────────────────────┬─────────────────5
│ ┌─\ALL─────────────────────────┐ │
│ │ ┌──
────────────────────────┐ │ │
(8)
├─SLTUSRID(─── ─┴──6─┬─user-name──────────┬─┴──
(9)
─┴──)───┤
│ └─generic\-user-name─┘ │
│ ┌─\NONE─────────────────────────┐ │
│ │ ┌──
────────────────────────┐ │ │
(10)
└─OMTUSRID(──── ─┴──6─┬─user-name──────────┬─┴───
(11)
─┴──)─┘
└─generic\-user-name─┘
5──┬─────────────────────────────────────────────────────┬────────────────5
│ ┌─\ALL───────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(12)
├─SLTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(13)
─┴──)─┤
│ ┌─\NONE──────────────────────────┐ │
│ │ ┌──
─────────────────────────┐ │ │
(14)
└─OMTPOOLS(──── ─┴──6─storage-pool-identifier─┴───
(15)
─┴──)─┘
5──┬───────────────────────────────────────────────────┬──────────────────5
│ ┌─\ALL────────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(16)
├─SLTFCNARA(──── ─┴──6─functional-area-name─┴───
(17)
─┴──)─┤
│ ┌─\NONE───────────────────────┐ │
│ │ ┌──
──────────────────────┐ │ │
(18)
└─OMTFCNARA(──── ─┴──6─functional-area-name─┴───
(19)
─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTTNSRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬────────────────────────────────────────────────┬────────────────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD──┐ │
└─JOBD(──┬─┼───────────────┼──┴─jobd-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE────────────────────────────┘
Notes:
1 A maximum of 4 report types
P All parameters preceding this point can be specified in positional form.
2 *PERIOD contains two lists of one element each. *N must be specified for any
element that precedes the value(s) to be specified to maintain its position in the
parameter value sequence.
3 A maximum of 5 repetitions
4 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
5 A maximum of 50 repetitions
6 The SLTJOB parameter and the OMTJOB parameter are mutually exclusive.
7 A maximum of 50 repetitions
8 The SLTUSRID parameter and the OMTUSRID parameter are mutually exclu-
sive.
9 A maximum of 50 repetitions
10 The SLTUSRID parameter and the OMTUSRID parameter are mutually exclu-
sive.
11 A maximum of 50 repetitions
12 The SLTPOOLS parameter and the OMTPOOLS parameter are mutually exclu-
sive.
13 A maximum of 16 repetitions
14 The SLTPOOLS parameter and the OMTPOOLS parameter are mutually exclu-
sive.
15 A maximum of 16 repetitions
exclusive.
17 A maximum of 50 repetitions
exclusive.
19 A maximum of 50 repetitions
Purpose
The Print Transaction Report (PRTTNSRPT) command is used to create and print
performance reports that show detailed information about the transactions that
occurred during the time that the performance data was collected. These reports
use trace data collected by specifying TRACE(*ALL) on the Start Performance
Monitor (STRPFRMON) command. Jobs may be selectively included in the reports
or excluded from the reports based on a variety of job details and interval times.
Examples
Example 1: Printing a Summary Transaction Report
PRTTNSRPT MBR(TUESAM)
This command produces a summary transaction report. The data input to the report
is all the data that exists in member TUESAM in library QPFRDATA. The request is
sent to batch. The report output is directed to the output queue specified in the job
description, QPFRJOBD.
This command produces a transaction detail report for the selected job, WS01. The
request is sent to batch. The report output is directed to the output queue specified
in the job description, QPFRJOBD.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
55──PRTTRCRPT──MBR(──member-name──)──┬───────────────────────────┬────────5
│ ┌─QPFRDATA─────┐ │
└─LIB(──┴─library-name─┴──)─┘
(P)
5──┬───────────────────────────────┬── ──┬───────────────────────┬─────────5
(1)
│ ┌─\MBR───────────┐ │ └─PERIOD(─── ─┤ Period ├─┘
└─TITLE(──┴─'report-title'─┴──)─┘
5──┬────────────────────────┬─────────────────────────────────────────────5
│ ┌─PRTTRCRPT─┐ │
└─JOB(──┼─\MBR──────┼──)─┘
└─job-name──┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Period:
┌─\AVAIL─────┐ ┌─\CURRENT───┐
├──┴─start-time─┴──┼─\BEGIN─────┼──)──┬──────────────────────────────────┬─┤
─
└─start-date─┘ │ ┌─\AVAIL───┐ ┌─\CURRENT─┐ │
└─(──┴─end-time─┴──┼──────────┼──)─┘
├─\END─────┤
└─end-date─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 *PERIOD contains two lists of two elements each. *N must be specified for any
element that precedes the value(s) to be specified, to maintain its position in the
parameter value sequence.
Purpose
The Print Trace Report (PRTTRCRPT) command produces a report showing
resources utilized, exceptions, and state transitions for batch jobs traced through
time based on the trace data collected by the Performance Monitor when job type
tracing is requested. This report runs against the specified member (in the
QTRJOBT file of the QPFRDATA library) that was created when the Print Trans-
action Report (PRTTNSRPT) command was run with the *FILE option.
Examples
Example 1: Printing a Job Trace Summary Report
PRTTRCRPT MBR(JUNEð1)
This command submits a batch job that generates a Job Trace Summary report
using the performance data found in the member JUNE01 of file QTRJOBT located
in the default library QPFRDATA. The report covers the entire collection period, and
the title of the report is set to the name of the database file member.
This command submits a batch job that generates a Job Trace Summary report.
The performance data comes from member NOV15 of file QTRJOBT of the default
library QPFRDATA. The report covers the time period 8:00 in the morning to mid-
night of one day.
Note: The format for the date and time is determined by the system values
QDATFMT and, because separators are used in this example, QDATSEP.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──RMVPEXDFN──DFN(──┬─definition-name──────────┬──)─── ──────────────────5%
├─generic\-definition-name─┤
└─\ALL─────────────────────┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Remove Performance Explorer Definition (RMVPEXDFN) command removes
one or more performance explorer definitions from the system. Each definition is
stored as a member in the QAPEXDFN file in library QUSRSYS. The member
name is the same as the definition name.
Restriction: The user must have object existence authority for file QAPEXDFN in
library QUSRSYS.
Examples
Example 1: Removing a Single Definition
RMVPEXDFN DFN(SAMPLE)
This command removes the member named SAMPLE from file QAPEXDFN in
library QUSRSYS that contains the performance explorer definition named
SAMPLE.
This command removes all definitions with names that start with SAM by removing
all members that start with SAM from file QAPEXDFN in library QUSRSYS.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
(P)
55──STRJOBTRC──┬─────────────────────────────────┬── ──────────────────────5
│ ┌─1ð24────────────┐ │
└─MAXSTG(──┴─maximum-K-bytes─┴──)─┘
5──┬────────────────────────────────────────────────────────┬────────────5%
└─JOB(──┬─\─────────────────────────────────────────┬──)─┘
└─┬─────────────────────────────┬──job-name─┘
└─┬─────────────┬──user-name/─┘
└─job-number/─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Start Job Trace (STRJOBTRC) command starts the OS/400 system job tracing
function to collect performance statistics about the specified job. It issues the fol-
lowing command:
TRCJOB MAXSTG(maxstg) TRCFULL(\STOPTRC)
The MAXSTG value used is either the STRJOBTRC default or a specified value.
The STRJOBTRC command issues a Service Job (SRVJOB) command if a job
other than the current job is specified.
Once job tracing is started, a trace record is created for every external (program)
call and return, exception, message, and work station wait in the job. At least two,
and usually more, trace records are created for every I/O statement (open, close,
read, or write) in a high-level language program.
After the target programs have been run, the End Job Trace (ENDJOBTRC)
command is used to turn tracing off, record the collected information in a database
file, and optionally produce reports used to analyze the data. The Print Job Trace
(PRTJOBTRC) command may also be used to print the same report at any time
thereafter. Alternatively, the command
TRCJOB SET(\CNL)
may be used to cancel the job trace (turn it off without recording any collected
data).
Tracing has a significant impact on the performance of the current job. It also
affects the performance of the system in general, but to a lesser extent.
Example
STRJOBTRC MAXSTG(512)
This command starts collecting trace data for the current job. It uses a 512KB trace
buffer, which is large enough to hold about 7000 trace records.
Format
Job: B,I Pgm: B,I REXX: B,I Exec
┌─\NEW─────┐
(P)
55──STRPEX──SSNID(──name──)──OPTION──┼─\INZONLY─┼──)─── ───────────────────5
└─\RESUME──┘
5──┬─────────────────────────────┬───────────────────────────────────────5%
(1, 2)
└─DFN(──── ─definition-name──)─┘
Notes:
P All parameters preceding this point can be specified in positional form.
1 DFN parameter must be specified for OPTION(*NEW) and OPTION(*INZONLY).
Purpose
The Start Performance Explorer (STRPEX) command starts a new performance
explorer session or resumes a suspended performance explorer session.
Note: You are allowed to have only one performance explorer session at a time.
Multiple sessions are not allowed.
Examples
Example 1: Start a New Session
STRPEX SSNID(TESTRUN2)
DFN(NEWDESC) OPTION(\NEW)
This command starts a new session of the performance explorer using the criteria
identified in a definition named NEWDESC. The new session name is TESTRUN2.
Format
Job: I Pgm: I REXX: I Exec
55──STRPFRG──┬──────────────────────────────┬─────────────────────────────5
│ ┌─QPFRDATA─────┐ │
└─FMTLIB(──┴─library-name─┴──)─┘
(P)
5──┬──────────────────────────────┬── ──┬───────────────────────┬──────────5
│ ┌─QPFRDATA─────┐ │ │ ┌─\CMD─────┐ │
└─PFRLIB(──┴─library-name─┴──)─┘ └─JOB(──┼─\MBR─────┼──)─┘
└─job-name─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Start Performance Graphics (STRPFRG) command calls up the performance
graphics menu giving the user access to all available performance graphics. This
command is valid only in an interactive environment.
Example
STRPFRG
This command displays the menu interface for Performance Tools graphics.
Library QPFRDATA is used for storing and retrieving graph formats, graph pack-
ages, and performance data for this session. Any requests that are submitted to run
in batch use job description QPFRJOBD found in the library list.
Format
Job: I Pgm: I REXX: I Exec
(P)
55──STRPFRT──┬───────────────────────────┬── ──┬───────────────────────┬───5
│ ┌─QPFRDATA─────┐ │ │ ┌─\CMD─────┐ │
└─LIB(──┴─library-name─┴──)─┘ └─JOB(──┼─\MBR─────┼──)─┘
└─job-name─┘
5──┬───────────────────────────────────────────────────────────┬─────────5%
│ ┌─\LIBL/────────┐ ┌─QPFRJOBD─────────────┐ │
└─JOBD(──┬─┼───────────────┼──┴─job-description-name─┴─┬──)─┘
│ ├─\CURLIB/──────┤ │
│ └─library-name/─┘ │
└─\NONE───────────────────────────────────────┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Start Performance Tools (STRPFRT) command calls the Performance
Tools/400 menu interface. This shows the Performance Tools main menu
(PERFORM), which provides access to all of the Performance Tools.
Example
STRPFRT
This command calls the menu interface to Performance Tools. The library,
QPFRDATA, is used in storing and getting the performance data for this session.
Requests that are submitted to run in batch use the job description QPFRJOBD in
the library list.
Format
Job: I Pgm: I REXX: I Exec
(P)
55──WRKFCNARA──┬───────────────────────────┬── ───────────────────────────5%
│ ┌─QPFRDATA─────┐ │
└─LIB(──┼──────────────┼──)─┘
└─library-name─┘
Note:
P All parameters preceding this point can be specified in positional form.
Purpose
The Work with Functional Areas (WRKFCNARA) command allows the user to
create, change, copy, and delete functional areas at the menu level.
Example
WRKFCNARA
This command allows the user to create, change, and delete functional areas at the
menu level. The library, QPFRDATA, is used for storing and retrieving functional
areas for this session.
Format
Job: I Pgm: I Exec
(P)
55──WRKSYSACT──┬───────────────────────┬── ────────────────────────────────5
│ ┌─\─────┐ │
└─OUTPUT(──┼─\FILE─┼──)─┘
└─\BOTH─┘
5──┬───────────────────────────────────┬──┬───────────────────┬───────────5
│ ┌─5───────────────┐ │ │ ┌─\CPU─┐ │
└─INTERVAL(──┴─interval-length─┴──)─┘ └─SEQ(──┴─\IO──┴──)─┘
5──┬─────────────────────────┬────────────────────────────────────────────5
│ ┌─\ALL───┐ │
└─INFTYPE(──┼─\JOBS──┼──)─┘
└─\TASKS─┘
5──┬─────────────────────────────────────┬────────────────────────────────5
│ ┌─6ð──────────────────┐ │
└─NBRITV(──┴─number-of-intervals─┴──)─┘
5──┬──────────────────────────┬──┬───────────────────────────┬───────────5%
│ ┌─QAITMON─────┐ │ │ ┌─QPFRDATA─────┐ │
└─MBR(──┴─member-name─┴──)─┘ └─LIB(──┴─library-name─┴──)─┘
Note:
PAll parameters preceding this point can be specified in positional form.
Purpose
The Work with System Activity (WRKSYSACT) command allows you to work inter-
actively with the jobs and tasks currently running in the system. Besides having the
capability to view this data on the display station, the user may also store the data
in a database file.
Restriction:
Examples
Example 1: Working with Jobs and Tasks
WRKSYSACT
This command displays both jobs and tasks in descending order of processing time
used.
This command displays jobs only and writes this information to member JOBACT of
database file QAITMON located in default library QPFRDATA.
Some of the commands used in this appendix are available only in the Manager
feature. Appendix D, Comparison of Performance Tools, provides additional infor-
mation about Performance Tools functions.
The AS/400 system interactive response time values reported by the Work with
Active Job (WRKACTJOB), Print System Report (PRTSYSRPT), Print Component
Report (PRTCPTRPT), and Print Transaction Report (PRTTNSRPT) commands
refer only to the host (internal) response time. (An exception to this is the Local
Work Station Report, shown in Figure 7-20 on page 7-33. This report does factor
in local work station IOP time.)
For locally attached displays, the communications time is usually less than 1
second. For remote displays, the communications time may be longer. To approxi-
mate the actual time, use the line speed and number of characters sent and
received, assuming that the line is not heavily loaded. If the line is heavily loaded,
the external response time increases due to the queuing time. Review the line
utilization and data transmission values on the System Report, shown in “What Is
the System Report?” on page 7-17 to determine line component to approximate
line time.
The host response time can, however, be shown in more detail, as in Figure B-2.
The average ineligible time, processing unit time, wait in MPL time, and exceptional
wait time per transaction are available directly from the output of the PRTTNSRPT
command.
1 2 3 4 5 6 7 8 9 10
(WRITE*)
PRTTNSRPT defines a transaction from the time trace records are produced at the
beginning when the job state changes from wait-to-active or wait-to-ineligible (the
start) until the job goes to a long wait (active-to-wait).
Note: Values *DI and *DQ on the OPTION parameter use existing transaction
boundary trace records to count transactions instead of the wait-to-active
transition.
These commands include the time the job spent in the ineligible state waiting for an
activity level as part of the transaction response time.
PRTJOBTRC defines a transaction from the time the job becomes eligible (for
example, it is granted an activity level) within the system work station input program
(QWSGET), until the system work station I/O program QT3REQIO is called to wait
for input.
Note: This command does not include the time spent in the ineligible state waiting
for an activity level in the transaction boundary definition.
When you review performance reports, be aware of when your system workload
consists of any of the following types of work:
Programmable work station servers
Distributed data management (DDM) servers
3270 emulation jobs
Finance terminals
Pass-through jobs
Transaction-type data (such as the data collected for throughput and response
time) is unavailable sometimes, and in some instances (such as for finance types of
work), cannot be associated with the individual jobs or terminals that originated the
transactions.
When you find that differences exist between the sample data reports
(PRTSYSRPT or PRTCPTRPT) and the trace data report (PRTTNSRPT), it is often
due to the presence of one or more of these types of work. Use the Select/omit
option on the reporting commands to remove these types of jobs so the information
shown on the reports is more representative of your environment.
You may find that the performance tools transaction information is inaccurate for
applications such as RM/COBOL-85 for the AS/400 licensed program that do field-
by-field processing. (Field-by-field processing implies that for every field in which
data is entered, there is processing by the CPU as the field is exited.) The tools
report each field processed as a transaction. Because these ‘field’ transactions may
not do much processing other than return to the screen to enable the next field to
be entered, the transaction information is skewed. When all of the fields on the
screen have been entered, what would be viewed as a normal transaction occurs,
that is, all of the information is processed.
Table C-1 (Page 1 of 2). Correlation of the System/36 and AS/400 System Performance Parameters
System/36 Parameter AS/400 Parameter
Main storage processor These parameters correlate to the processor utilization reported by Perform-
Control storage processor ance Tools.
See “Resource Utilization” on page 7-19 to see the format of this report. This
is a portion of the System Report that is produced when you use the Print
System Report (PRTSYSRPT) command.
Disk (1-4) The System/36 disk information correlates to the disk utilization.
See “Disk Utilization” on page 7-19 to see the format of this report. This is a
portion of the System Report that is produced when you use the PRTSYSRPT
command.
There is also a Disk Activity Report that is a portion of the Component Report.
You produce the Component Report when you use the Print Component
Report (PRTCPTRPT) command.
Communications lines (1-8) See “Communications Summary” on page 7-19 to see the format of this report.
This is a portion of the System Report that is produced when you use the
PRTSYSRPT command.
More detailed information is shown in the Communications Report, which is a
portion of the Component Report. You produce the Component Report when
you use the PRTCPTRPT command.
Details about communications lines are in a Resource Interval Report: Commu-
nications Line Summary report produced by the Print Resource Report
(PRTRSCRPT) command (see “Resource Interval Report” on page 7-76 for
more information).
Communications lines information can be displayed by using the Display Per-
formance Data (DSPPFRDTA) command.
Translated transfer calls/loads Nothing on the AS/400 system correlates to these counters.
User Area Disk Activity The closest correlation is shown in “Storage Pool Utilization” on page 7-19.
(UADA)
This report is a portion of the System Report that is produced when you use
the PRTSYSRPT command.
The faults per second statistics represent the measure of main storage utiliza-
tion.
More detailed information can be found in “Storage Pool Activity” on
page 7-26. This report is a portion of the Component Report that is produced
when you use the PRTCPTRPT command.
If you require analysis of trace data, viewing data graphically, viewing system
activity in real time, or managing and tracking system growth, the Manager feature
of the Performance Tools licensed program is more useful.
Table D-1 on page D-2 shows the Performance Tools menu options supported by
the Agent feature.
Table D-2 shows performance-related commands, and indicates whether they are
part of OS/400, part of the Manager feature of Performance Tools, or part of the
Agent feature of Performance Tools.
To meet these objectives, Customer A plans to use the performance monitor and
automatic data collection, which are both features of the OS/400 operating system.
In addition, they will use the Performance Tools licensed program at the central site
AS/400 system and on remote systems.
Once Customer A sets up the data collections at the central site, the following files
are sent to each remote system:
QPFRDATA/QAPMSCOL
QPFRDATA/QAPMSSCD
QPFRDATA/QAPMLSCD
When Customer A is done setting up the data collections, sending the files, and
setting up the automatic start job, the performance monitor schedule is completed.
Note: If you do not already have a job scheduling function, you may be able to
use OfficeVision calendar, the sample scheduler in QUSRTOOL, or a
simple CL program to provide the function to automate this process.
At the remote site, job scheduling is used to schedule an analysis, data reduction,
and a control language (CL) program to transmit data to the central site (see
Figure E-1 on page E-3 for a sample).
MONMSG MSGID(CPFðððð)
/\ Monitor for anything +
customize to local requirements \/
Also at the remote site, Customer A uses job scheduling to schedule a CL program
to regularly remove “old” performance data (see Figure E-2 for a sample).
At the central site, the job schedule function schedules the following:
A CL program to receive and collect data from remote sites
A CL program to print advisor reports from remote sites
The regular generation of monthly historical graph packages, for example:
DSPHSTGPH QIBMPKG LIB (remotesystemname)
OUTPUT(\PRINT) TYPE (\GPHPKG)
A CL program to perform a regular cleanup of “old” historical data collections
Additional Capabilities
After reviewing the advisor output and the historical graphs at the central site, Cus-
tomer A may decide that additional detail is needed. This can be done several
ways:
To get more detailed graphics, Customer A could send the appropriate
QAPMCONF and QAPGSUMD file members to the central site for processing.
Using this method, Customer A could produce performance graphics of types
*JOBTYPE, *PRIORITY, or *ALL. However, this method does not allow Cus-
tomer A the capability of using select/omit criteria or functional areas.
B C
BASE cache
trace event descriptions 11-24 effect on authority lookups 7-105
Batch asynchronous I/O per second column 7-106 Cache Hit Statistics column 7-108
Batch CPU seconds per I/O column 7-106 call (external) 10-8
Batch CPU Utilization column 7-107 call level column 11-18
Batch impact factor column 7-107 calls made column 11-16
Batch Job Analysis capacity planning
sample report 7-60 description 1-6
section description 7-44
Index X-5
case study, performance analysis 13-1 Collect Data with Menus display 3-8
Category column 7-107 Collect Performance Data display 3-6, 7-11
CEBI (conditional end bracket indicator) bracket delim- collecting
iter data 3-7
session traffic fields 8-7 performance data
central processing unit (CPU) automatically 3-11
See processing unit STRPFRMON (Start Performance Monitor)
central site data collection E-1 command 3-1
Change Functional Area (CHGFCNARA) sample data 3-3
command A-9 trace data
Change Graph Format (CHGGPHFMT) for Lock Report 7-63
command 9-10, A-10 for Transaction Report 7-37
Change Graph Package (CHGGPHPKG) length of time for measurement 3-2
command A-13 storage restrictions 3-2
Change Graph Package display 9-10 collection points 11-3
Change Job Description (CHGJOBD) command 2-1 Collision Detect column 7-108
Change Job Type (CHGJOBTYP) command A-14 command, CL
Change Network Attributes (CHGNETA) Add Performance Collection (ADDPFRCOL) 3-12
command 8-14 Add Performance Explorer Definition
Change Printer File (CHGPRTF) command 2-1 (ADDPEXDFN) 11-6, A-2
Change Program (CHGPGM) command 11-3 ADDPEXDFN (Add Performance Explorer
changing Definition) 11-6, A-2
functional area A-9 ADDPFRCOL (Add Performance Collection) 3-12
graph format 9-10, A-10 Analyze Access Group (ANZACCGRP) A-5
graph package A-13 Analyze BEST/1 Model (ANZBESTMDL)
job description 2-1 command A-2
job type on Print Transaction Report (PRTTNSRPT) Analyze Database File (ANZDBF) A-6
command A-14 Analyze Database File Keys (ANZDBFKEY) 10-13,
network attributes 8-14 A-7
printer file 2-1 Analyze Performance Data (ANZPFRDTA) A-7
program 11-3 Analyze Performance Data (ANZPFRDTA)
system tuning values 4-10 command 4-3
Channel column 7-108 Analyze Program (ANZPGM) 10-9, A-8
checklist, performance and tuning F-1 ANZACCGRP (Analyze Access Group) 10-18, A-5
CHGFCNARA (Change Functional Area) ANZBESTMDL (Analyze BEST/1 Model)
command A-9 command A-2
CHGGPHFMT (Change Graph Format) ANZDBF (Analyze Database File) 10-2, 10-11, A-6
command 9-10, A-10 ANZDBFKEY (Analyze Database File Keys) 10-2,
CHGGPHPKG (Change Graph Package) 10-13, A-7
command A-13 ANZPFRDTA (Analyze Performance Data) A-7
CHGJOBD (Change Job Description) command 2-1 ANZPFRDTA (Analyze Performance Data)
CHGJOBTYP (Change Job Type) command A-14 command 4-3
CHGNETA (Change Network Attributes) ANZPGM (Analyze Program) 10-2, 10-9, A-8
command 8-14 Change Functional Area (CHGFCNARA) A-9
CHGPGM (Change Program) command 11-3 Change Graph Format (CHGGPHFMT) 9-10, A-10
CHGPRTF (Change Printer File) command 2-1 Change Graph Package (CHGGPHPKG) A-13
class-of-service (COS) updates Change Job Description (CHGJOBD) 2-1
configuration changes 8-14 Change Job Type (CHGJOBTYP) A-14
Client Access server Change Network Attributes (CHGNETA) 8-14
job types 7-118, 7-139 Change Printer File (CHGPRTF) 2-1
Cmn column 7-108 Change Program (CHGPGM) 11-3
Cmn I/O column 7-108 CHGFCNARA (Change Functional Area) A-9
Cmn I/O Per Second column 7-108 CHGGPHFMT (Change Graph Format) 9-10, A-10
Collect Additional Data display 3-8, 3-9 CHGGPHPKG (Change Graph Package) A-13
Collect Data with Defaults display 3-7, 7-12 CHGJOBD (Change Job Description) 2-1
CHGJOBTYP (Change Job Type) A-14
Index X-7
command, CL (continued) Communications Line Detail (continued)
Start Performance Explorer (STRPEX) 11-7, A-69 BSC sample report 7-85
Start Performance Graphics (STRPFRG) 9-2, A-70 DDI sample report 7-84
Start Performance Monitor (STRPFRMON) 3-1, 5-1 ELAN sample report 7-83
Start Performance Tools (STRPFRT) 2-2, A-70 FRLY sample report 7-84
Start Service Job (STRSRVJOB) 10-3 IDLC sample report 7-87
STRBEST (Start BEST/1) command A-2 ISDN Network Interface sample report 7-85
STRJOBTRC (Start Job Trace) 10-1, 10-3, A-68 NWI Maintenance sample report 7-86
STRPEX (Start Performance Explorer) 11-7, A-69 SDLC sample report 7-81
STRPFRG (Start Performance Graphics) 9-2, A-70 section description 7-77
STRPFRMON (Start Performance Monitor) 3-1, 5-1 TRLAN sample report 7-82
STRPFRT (Start Performance Tools) 2-2, A-70 X.25 sample report 7-82
STRSRVJOB (Start Service Job) 10-3 Communications Lines column 7-108
Trace Job (TRCJOB) 10-4 Communications Summary
TRCJOB (Trace Job) 10-4 sample report 7-23
Work with Active Jobs (WRKACTJOB) 2-3 section description 7-19
Work with Disk Status (WRKDSKSTS) 2-3 communications time B-1
Work with Functional Areas (WRKFCNARA) A-71 Component Interval Activity
Work with Job (WRKJOB) 2-3, 6-6 sample report 7-29
Work with Performance Collection section description 7-25
(WRKPFRCOL) 3-12, 9-16, E-1 Component Report
Work with Spooled Files (WRKSPLF) 7-14 Component Interval Activity section 7-25
Work with Submitted Jobs (WRKSBMJOB) 2-3, Database Journaling Summary 7-27
7-13 Database Journaling Summary section 7-27
Work with Subsystems (WRKSBS) 2-3 description 7-25
Work with System Activity (WRKSYSACT) 6-1, 6-2, Disk Activity section 7-26
A-72 Exception Occurrence Summary and Interval Counts
Work with System Status (WRKSYSSTS) 2-3 section 7-27
WRKACTJOB (Work with Active Jobs) 2-3 IOP (input/output processor) Utilizations
WRKDSKSTS (Work with Disk Status) 2-3 section 7-26
WRKFCNARA (Work with Functional Areas) A-71 Job Workload Activity section 7-26
WRKJOB (Work with Job) 2-3, 6-6 Local Work Stations section 7-26
WRKPFRCOL (Work with Performance printing 7-25, A-45
Collection) 3-12, 9-16, E-1 Remote Work Stations section 7-27
WRKSBMJOB (Work with Submitted Jobs) 2-3, Report Selection Criteria section 7-28
7-13 sample reports 7-29
WRKSBS (Work with Subsystems) 2-3 Storage Pool Activity section 7-26
WRKSPLF (Work with Spooled Files) 7-14 composite bar graph 9-6
WRKSYSACT (Work with System Activity) 6-1, 6-2, Concurrent Batch Job Statistics
A-72 sample report 7-61
WRKSYSSTS (Work with System Status) 2-3 section description 7-44
communications controller database file 3-4 conditional end bracket indicator (CEBI) bracket delim-
Communications I/O Count column 7-108 iter
Communications I/O Get column 7-108 session traffic fields 8-7
Communications I/O Put column 7-108 configuration changes
communications interval data APPN local location list updates 8-14
displaying 5-13 APPN remote location list updates 8-14
Communications IOP Utilizations class-of-service (COS) updates 8-14
sample report 7-87 mode updates 8-14
communications line Configure and Manage Tools display 12-1
displaying detail 5-11 configured ASPs column 11-13
displaying interval performance data 5-11 Confirm Create of Historical Data display 9-14, 14-2
performance data time interval 5-13 connection fields
summary of usage 7-19 description 8-4
Communications Line Detail SNA performance measurements 8-4
ASYNC sample report 7-84
Index X-9
database file (continued)
D QAPMSNA (SNA performance measurements
DASD Ops per sec column 7-110 data) 3-4
DASD Ops per sec reads column 7-110 QAPMSTND (DDI station counter data) 3-4
DASD Ops per sec writes column 7-110 QAPMSTNY (Frame relay station counter data) 3-4
DASD server QAPMSYS (system data) 3-4
trace event descriptions 11-31 QAPMTSK (task related performance data) 3-4
data (trace) 10-8 QAPMX25 (X.25 data) 3-4
data areas column 11-13 QAPTAZDR (input file) 10-11, 10-13
data collection QAPTLCKD 7-101
automatic 3-11 QAPTLCKD (input file) 7-63
performance data 3-1 QAPTPAGD (input file) 10-18
sample 3-3 QAPTTRCJ (output file) 10-3
setting the time 3-8 QAVPETRCI (collected performance explorer
setup 3-13 data) 11-8
summary 3-13 QPPTSYSR (System Report file) 7-14
system performance data 3-1 QTRDMPT 7-96
system-level analysis 3-13 QTRJOBT 7-91
trace 3-3 QTRJSUM 7-94
using menus 3-8 QTRTSUM 7-91
when to collect 3-1 database file keys
when to end 3-3 analyzing 10-13, A-7
data queue (*DQ) value 8-1 Database Journaling Summary
data types sample report 7-34
valid for X- and Y-axis values 9-7 section description 7-27
database file Database Relation Cross Reference Report 10-12
analyzing A-6 database structure analysis 3-16
high number of file opens and closes 7-41 DB Fault column 7-110
performance trace 7-90 DB Pages column 7-110
QAITMON (collected performance data) 6-1, 6-8 DB Read column 7-110
QAPMASYN (asynchronous data) 3-4 DB Write column 7-110
QAPMBSC (binary synchronous communications DB Wrt column 7-110
data) 3-4 DDM I/O column 7-110
QAPMBUS (bus counter data) 3-4 DDM Svr Wait /Tns column 7-110
QAPMCIOP (communications controller data) 3-4 Dec column 7-111
QAPMCONF (system configuration data) 3-4 Decimal Data column 7-111
QAPMDBMON (Monitoring data) 3-4 Decimal Overflow column 7-111
QAPMDDI (distributed data interface data) 3-4 default
QAPMDIOP (storage device controller data) 3-4 forms size
QAPMDISK (disk unit) 3-4 printer files 2-1
QAPMDMPT (trace database file) 3-5, 7-63 output queue
QAPMECL (establish communications link data) 3-4 performance job description 2-1
QAPMETH (Ethernet statistics data) 3-4 defaults
QAPMFRLY (Frame relay data) 3-4 using to print performance reports 7-11
QAPMHDLC (high-level data link control data) 3-4 defined by column 11-10
QAPMHDWR (hardware configuration data) 3-4 definition description column 11-10
QAPMIOPD (communications processor performance Definition Information 11-9
data) 3-4 definition name column 11-10
QAPMJOBS (job data) 3-4 Delete BEST/1 Model (DLTBESTMDL) command A-2
QAPMLIOP (local work station controller data) 3-4 Delete Functional Area (DLTFCNARA) command A-26
QAPMMIOP (multifunction controller data) 3-4 Delete Graph Format (DLTGPHFMT) command A-27
QAPMPOOL (main storage data) 3-4 Delete Graph Package (DLTGPHPKG) command A-27
QAPMRESP (local work station response time Delete Historical Data (DLTHSTDTA) command A-28
data) 3-4 Delete Performance Data (DLTPFRDTA)
QAPMRWS (remote work station controller command 9-14, 14-3, A-29
data) 3-4
Index X-11
display (continued) Display Performance Data display 5-1
Noninteractive Workload 7-138 Display Performance Graph (DSPPFRGPH)
Performance Tools 2-2, 7-11 command 9-2, A-36
Performance Tools Graphics 9-1 Display Pool Detail display 5-8
Performance Utilities 10-1 Display Pool Interval display 5-9
Print Performance Report 7-6, 7-12 Display Remote Jobs display 5-12
Process Access Group 10-16 displaying
Select Categories for Performance Graphs 9-18 access group A-30
Select Categories for Report 7-8 communication interval data 5-13
Select File and Access Group Utilities 10-2 communications line detail 5-11
Select Graph Format 9-21 database file contents 11-8
Select or Omit Pools 7-9 graph
Select Performance Data Member 9-17 area fill option 9-19
Select Performance Member 5-1, 12-7, 15-2 format options 9-4
Select Sections for Report 7-7 historical 9-20
Select Time Intervals 7-8 output option 9-20
Select Time Intervals to Analyze 4-4 overlays 9-21
Select Time Intervals to Display 5-2 performance 9-16
Select Type of Status 2-3 sample data 9-17
Set Data Collection Time 3-8 types 9-4
Set End Time 3-9 types of data to be graphed 9-6
Set Length of Time to Collect Data 3-9 historical graph A-32
Specify Graph Options 9-18 information type 6-7
Specify Graph Overlay Options 9-22 performance data 5-1, A-35
Specify Report Options 7-10, 7-13 by interval 5-5
Start Collecting Data 3-6, 7-11 by job 5-6
System Activity 6-1 by job type 5-4
Work with All Spooled Files 7-14 by subsystem 5-4
Work with Graph Formats and Packages 9-3 for system resources 5-8
Work with Historical Data 9-13, 14-1 graph overlays 9-21
Work with Job Traces 10-1 how to use 5-1
Work with Performance Collection 3-12 performance graph A-36
Work with System Activity 6-2, 6-3 pool detail 5-8
Display Access Group (DSPACCGRP) pool interval 5-9
command 10-16, A-30 remote jobs 5-12
Display APPN Information (DSPAPPNINF) Distribution of Processing Unit Transactions
command 8-13 sample report 7-52
Display by Interval display 5-5 distribution of transactions
Display by Job Type display 5-4 graphical view 7-40
Display by Subsystem display 5-4 Distribution of Transactions by CPU/Transaction
Display Communications Interval Data display section description 7-40
SDLC (synchronous data link control) 5-14 DLTBESTMDL (Delete BEST/1 Model) command A-2
Display Communications Line Detail display 5-11 DLTFCNARA (Delete Functional Area) command A-26
Display Disk Detail display 5-10 DLTGPHFMT (Delete Graph Format) command A-27
Display Disk Interval display 5-11 DLTGPHPKG (Delete Graph Package) command A-27
Display File Field Description (DSPFFD) DLTHSTDTA (Delete Historical Data) command A-28
command 11-8 DLTPEXDTA (Delete Performance Explorer Data)
Display Graphs and Packages display 9-15 command A-29
Display Historical Graph (DSPHSTGPH) DLTPFRDTA (Delete Performance Data)
command 9-2, A-32 command 9-14, A-29
display I/O (*DI) value 8-1 DMPTRC (Dump Trace) command 3-3
Display Job Detail display 5-7 domain broadcast
Display Jobs display 5-6 definition 8-17
Display Package Contents display 9-12 session setup activities 8-17
Display Performance Data (DSPPFRDTA) down-level performance data, converting 15-4
command 5-1, A-35
Index X-13
full duplex indicator 7-115 graph (continued)
functional area package (continued)
changing A-9 specifying graph options 9-18
copying A-17 type
creating A-20 composite bar 9-6
deleting A-26 floating-bar 9-6
working with 12-2, A-71 line 9-4
Functional Areas column 7-115 scatter plot 9-5
surface 9-5
graph format
G changing A-10
GDF (graphics data format) file 9-1 copying A-17
GETDR (get direct) operation 10-7 creating A-21
GETKY (get by key) operation 10-7 deleting A-27
GETM (get multiple) operation 10-7 graph package
GETSQ (get sequential) operation 10-7 changing A-13
GO LICPGM menu 2-1 copying A-18
graph creating A-24
format deleting A-27
area fill option 9-19 graphics, performance
changing 9-10 displaying 9-20
creating 9-4 graph format options 9-4
displaying 9-15 graph overlays 9-21
QIBMASYNC 9-2 graph package contents 9-12
QIBMCMNIOP 9-2 graph types 9-4
QIBMCPUTYP 9-2 graphs 9-15
QIBMCPYPTY 9-2 historical graphs 9-20
QIBMDSKARM 9-2 maximum number of legend entries 9-9
QIBMDSKIOP 9-2 packages 9-15
QIBMDSKOCC 9-2 performance graphs 9-16
QIBMLWSIOP 9-2 sample graphs 9-12, 9-17
QIBMMFCIOP 9-2 types of data to be graphed 9-6
QIBMMFDIOP 9-2 historical graphs
QIBMPCTDSK 9-2 changing package 9-10
QIBMPKG 9-3 copying package 9-11
QIBMRSP 9-2 creating formats 9-4
QIBMSYNC 9-2 creating historical data 9-14
QIBMTNS 9-2 creating package 9-9
QIBMTOTDSK 9-2 deleting historical data 9-15
search for formats in the library 9-3 deleting package 9-12
select performance data member 9-17 displaying graphs and packages 9-15
selecting categories for performance searching for data 9-14
graphs 9-18 summary 9-1
specifying graph options 9-18 performance graphs
option changing package 9-10
area fill 9-19 copying package 9-11
output 9-20 creating formats 9-4
overlays 9-21 creating package 9-9
package deleting package 9-12
changing 9-10 displaying 9-16
copying 9-11 displaying graphs and packages 9-15
creating 9-9 output option 9-20
deleting 9-12 summary 9-1
displaying 9-15
QIBMPKG 9-3
searching for packages in the library 9-3
selecting performance data members 9-17
Index X-15
intermediate node on directed search job description
session setup work activity 8-18 changing 2-1
intermediate session traffic field 8-6 Job Interval Report 7-132
intermediate session traffic work load description 7-67
estimating 8-11 Interactive Job Detail section 7-67
internal (host) response time Interactive Job Summary section 7-67
definition 1-4 Noninteractive Job Detail section 7-68
elements B-1 Noninteractive Job Summary section 7-67
internal session-level pacing printing 7-66
description 8-9 Report Selection Criteria section 7-68
excessive waiting 8-9 sample reports 7-68
INPACING and OUTPACING parameters 8-8 Job Maximum A-I column 7-117
INTXHINV (internal exception handler) 10-8 Job Maximum A-W column 7-117
INTXHRET (return from an exception) 10-8 Job Maximum CPU Util column 7-117
INVEXIT (call exit routine) 10-8 Job Maximum Phy I/O column 7-118
IOP (input/output processor) Utilizations Job Maximum Rsp column 7-118
sample report 7-32 Job Maximum Tns column 7-118
section description 7-26 Job Maximum W-I column 7-118
IOP Name column 7-117 Job Name column 7-118, 11-15
IOP Name Network Interface column 7-117 Job Number column 7-118
IOP Name/Line 7-117 Job Pty column 7-118
IOP Name(Model) column 7-117 job report
IOP Processor Util Comm column 7-117 printing A-48
IOP Processor Util DASD column 7-117 job schedule function E-2
IOP Processor Util LWSC column 7-117 Job Set column 7-118
IOP Processor Util Total column 7-117 job states
IOP Util column 7-117 active 7-133
IOP Utilizations ineligible 7-133
section description possible 7-46
communications 7-78 wait 7-133
disk 7-78 Job Statistics
local work station 7-78 printing 7-42
multifunction 7-78 sample report 7-58
ITERM (intervening call termination) 10-8 section description 7-42
ITRMXRSG (resignaling exception) 10-8 Job Summary 7-45
Itv End column 7-117 sample report 7-49
section description 7-38
Job Summary Data
J section description 7-46
Java System Summary Data 7-39
trace event descriptions 11-32 job summary file 7-94
job Job Summary Report
database file 3-1 Batch Job Analysis section 7-44
flow 10-2 Concurrent Batch Job Statistics section 7-44
operational environment 3-16 description 7-38
remote 5-12 Distribution of Transactions by CPU/Transaction
restrictions on active 6-1 section 7-40
trace event descriptions 11-28 including special system information 7-41
tracing 10-4 Individual Transaction Statistics section 7-43
working with 6-6 Interactive CPU Utilization by 5-Minute Intervals
job CPU column 11-15 section 7-40
job creating session column 11-13 Interactive Program Statistics section 7-42
job data Interactive Program Transaction Statistics
merging areas 11-7 section 7-41
separating areas 11-7 Interactive Response Time by 5-Minute Intervals
section 7-40
Index X-17
Local Work Stations – Response Time Buckets Manager feature
sample report 7-33 comparison D-1
section description 7-26 relationship to Agent feature 1-3
locally started sessions (source) map flag column 11-18
session setup work activity 8-17 mapping
lock 7-41 statements to source code 11-35
analyzing conflicts 7-64 Max Util column 7-123
conflicts by object 7-41 Maximum column 7-123
longest conflicts 7-43 measured response time
longest holders of conflicts 7-44 Job Summary Report 7-41
Lock Conflict column 7-122 medium priority session traffic field 8-6
Lock Report Member column 7-123, 11-10
description 7-64 menus
printing 3-5, 7-63, A-52 GO LICPGM 2-1
resource management 7-63 using to print performance reports 7-6
resource management and trace data 7-63 Merge job data (MRGJOB) parameter 11-7
sample detail report 7-66 merging
sample summary report 7-66 job data 11-7
Seize/Lock Statistics by Time of Day 7-64 MI complex instructions
Seize/Lock Wait Statistics Summary 7-64 trace event descriptions 11-34
trace data 7-63 MI CPLX issued column 11-16
Lock Wait /Tns column 7-122 MI-Pgm--Offset column 11-24
lock-wait 7-38 Minimum column 7-123
Logical column 7-122 missed events due to buffering column 11-13
logical DASDs column 11-13 missed events due to recording column 11-13
Logical Database I/O Other column 7-122 mode updates
Logical Database I/O Read column 7-122 configuration changes 8-14
Logical Database I/O Write column 7-122 module column 11-11
Logical DB I/O column 7-122 monitoring specific jobs 6-5
Logical DB I/O Count column 7-122 MPL (multiprogramming level)
Logical Disk I/O column 7-122 in the activity level 7-107
logical file key report printer file 10-14 on the ineligible queue 7-107
Logical File Listing Report 10-13 transaction report (BMPL) 7-107
Logical I/O /Second column 7-122 transition report 7-46
Logical I/O Per Second column 7-122 MRGJOB (Merge job data) parameter 11-7
Long Wait column 7-123 MRT Max Time column 7-123
Long Wait Lck/Oth column 7-123 multifunction controller database file 3-4
Longest Holders of Seize/Lock Conflicts multiple processors 6-3, 6-12, 7-138
sample report 7-60 multiprogramming level (MPL)
section description 7-44 in the activity level 7-107
Longest Seize/Lock Conflicts on the ineligible queue 7-107
sample report 7-59 transaction report (BMPL) 7-107
section description 7-43 transition report 7-46
Loss of Frame Alignment column 7-123
low priority session traffic field 8-6
N
NAGP column 11-24
M name column 11-10, 11-19, 11-23
MAC Errors column 7-123 Nbr A-I column 7-123
machine object Nbr Evt column 7-123
definition 7-99 Nbr Jobs column 7-123
main storage Nbr Sign offs column 7-123
database file 3-4 Nbr Sign ons column 7-123
Main storage (MB) column 7-123 Nbr Tns column 7-123
Manage Performance Data display 15-1 Nbr W-I column 7-124
Index X-19
Pct Tns column 7-127
P percent column 11-23
P (Processor Number) column 11-23 Percent Errored Seconds column 7-128
pacing response Percent Frames Received in Error column 7-128
average amount of time spent waiting 8-8 Percent Full column 7-128
pacing window size 8-8 Percent I Frames Trnsmitd in Error column 7-128
packages, graph Percent Severely Errored Seconds column 7-128
changing 9-10 Percent transactions (dynamic no) column 7-128
copying 9-11 Percent transactions (purge no) column 7-128
creating 9-9 Percent transactions (purge yes) column 7-128
deleting 9-12 Percent Util column 7-128
displaying 9-15 Percentage of Processing Unit by Transaction Catego-
selecting performance data members 9-17 ries
specifying graph options 9-18 sample report 7-53
PAG (process access group) performance
analysis 10-16 analysis 1-7, 13-1
utilities 10-2 checklist F-1
PAG column 7-126 concepts 1-2
PAG Fault column 7-127 correlation of System/36 and AS/400 performance
Page Count column 7-127 parameters C-1
page fault data
trace event descriptions 11-27 collection 3-1
pane size column 11-11 converting 15-4
parameter converting down level 15-4
ENDTNS (end transaction) 10-4 copying 15-2
INFTYPE (information type) 6-7 deleting 15-1, E-4
INPACING parameter 8-9 data collection 3-1
OMIT 7-20 displaying data
OMTCTL (control units excluded) 7-108 by interval 5-5
OMTJOB (jobs excluded) 7-120 by job 5-6
OMTLINE (communications lines excluded) 7-108 by job type 5-4
OMTSBS (subsystems excluded) 7-134 communications line detail 5-11
OMTUSRID (users excluded) 7-141 disk interval 5-11
OMTxxx (data records excluded) 7-132 graph overlays 9-21
OUTPACING parameter 8-9 pool detail 5-8
RPTTYPE (report type) 7-36 pool interval 5-9
SELECT 7-20 STRPFRMON (Start Performance Monitor)
SEQ (sequence) 6-12 command 5-1
SLTCTL (control units included) 7-108 ending data collection 3-3
SLTJOB (jobs included) 7-120 managing in a network E-1
SLTLINE (communications lines included) 7-108 measurement analysis 1-6
SLTSBS (subsystems included) 7-134 objectives 1-3
SLTUSRID (users included) 7-141 stopping data collection 3-3
SLTxxx (data records included) 7-132 transaction 10-2
STRTNS (start transactions) 10-4 why manage 1-1
TITLE (title) 6-10 performance analysis
pass-through transaction path 8-34 overview 1-8
Pct CPU By Categories column 7-127 PRTSYSRPT (Print System Report) command
Pct Data Characters Received in Error column 7-127 overview 1-7
Pct Data Characters Transmitted in Error performance collection
column 7-127 ENBPFRCOL (Enable performance collection) 11-3
Pct Ex-Wt /Rsp column 7-127 pre-defined collection points 11-3
Pct Of Tns Categories column 7-127 setup 3-13
Pct PDUs Received in Error column 7-127 performance data
Pct Poll Retry Time column 7-127 analyzing A-7
converting 12-8
Index X-21
performance explorer report (continued) performance graphics (continued)
column descriptions (continued) performance graphs (continued)
start time 11-12 creating formats 9-4
started by user 11-13 creating package 9-9
stmt numb 11-18 deleting package 9-12
stop time 11-12 displaying 9-16
suspend time (us) 11-12 output option 9-20
system model 11-13 selecting categories 9-18
system type 11-13 summary 9-1
target system 11-13 starting A-70
task CPU 11-15 performance history
task ID 11-14, 11-23 collecting sample data 3-1
time stamp 11-22 report 3-1
times called 11-16 performance indicators 8-21
total CPU 11-15, 11-16 performance management
total hits 11-15 using OS/400 1-2
total pages memory 11-13 performance measurement
total raw CPU 11-16 collecting data 1-6
total samples 11-15 producing a system report 1-6
total time 11-12 Performance Measurement and SNADS 8-23
trace wrap count 11-12 performance monitor
type 11-10, 11-11 ending 3-3
unit 11-24 job schedule function E-2
unknown CPU 11-16 starting 3-1
user 11-10 performance objectives
version 11-13 establishing 1-3
printing A-53 performance parameters
performance facts F-4 correlation of System/36 and AS/400 C-1
performance graph description C-1
displaying A-36 performance reports
performance graphics anatomy of 7-1
displaying available 7-3
graph format options 9-4 choosing 7-5
graph overlays 9-21 column descriptions 7-102
graph package contents 9-12 Component Report 7-25
graph types 9-4 general description 7-1
graphs 9-15 header information 7-1
historical graphs 9-20 Job Interval Report 7-67
legends, maximum number of entries 9-9 printing 7-6, 7-11
packages 9-15 Transaction Report 7-46
performance graphs 9-16 using defaults to print 7-11
sample graphs 9-12, 9-17 using menus to print 7-6
types of data to be graphed 9-6 Performance Tools
historical graphs Agent feature 1-3
changing package 9-10 and OS/400 function 1-2
copying package 9-11 default output queue 2-1
creating formats 9-4 installing 2-1
creating historical data 9-14 introduction 1-1
creating package 9-9 Manager feature 1-3
deleting historical data 9-15 restrictions 1-3
deleting package 9-12 starting A-70
displaying 9-15, 9-20 Performance Tools Graphics display 9-1
searching for data 9-14 Performance Tools menu 2-2, 7-11
summary 9-1 Performance Utilities display 10-1
performance graphs Perm Write column 7-128
changing package 9-10
copying package 9-11
Index X-23
process access group (PAG) (continued) PRTTNSRPT (Print Transaction Report)
utilities 10-2 command 3-5, 7-36, 7-90, A-64
Process Access Group display 10-16 PRTTRCRPT (Print Trace Report) command 3-5, A-66
Process Access Group Information Report 10-17 Pty column 7-130
process data collection command Purge column 7-130
summary 3-17 PUT (add a record) operation 10-7
process data collection report command PUTM (add a record) operation 10-7
summary 3-17 PWrt column 7-130
process information, analyzing 10-16
processing unit
graphical view 7-40 Q
processing time 10-5 QAITMON database file 6-1, 6-8
processing unit 6-3 QAOMJOBS performance monitor file 8-11
trace entry 10-9 QAPMAPPN database file 3-4
utilization, Job Summary Report 7-40 QAPMASYN database file 3-4
processor QAPMBSC database file 3-4
summary of usage 7-19 QAPMBUS database file 3-4
Profile CPU Summary Information Report 11-15 QAPMCIOP database file 3-4
Profile Information Report 11-18, 11-20 QAPMCONF database file 3-4
program QAPMDBMON database file 3-4
analyzing A-8 QAPMDDI database file 3-4
changing 11-3 QAPMDIOP database file 3-4
QCRMAIN 10-6 QAPMDISK database file 3-4
QRGXINIT 10-6 QAPMDMPT database file 3-5, 7-63
QWSGET B-3 QAPMECL database file 3-4
program bracket QAPMETH database file 3-4
trace event descriptions 11-31 QAPMFRLY database file 3-4
Program column 7-129, 11-11, 11-23 QAPMHDLC database file 3-4
program environment 3-16 QAPMHDWR database file 3-4
Program Name column 7-129 QAPMIDLC database file 3-4
Program-to-File Cross-Reference Report 10-10 QAPMIOPD database file 3-4
program-to-file relationship report 10-9 QAPMJOBS database file 3-4
program-to-file relationships, analyzing 10-9 QAPMLAPD database file 3-4
Protocol column 7-130 QAPMLIOP database file 3-4
PRTACTRPT (Print Activity Report) command 6-9, QAPMMIOP database file 3-4
A-43 QAPMPOOL database file 3-4
PRTCPTRPT (Print Component Report) QAPMRESP database file 3-4
command 3-5, 7-25, A-45 QAPMRWS database file 3-4
PRTJOBRPT (Print Job Report) command 7-66, A-48 QAPMSAP database file 3-4
PRTJOBTRC (Print Job Trace) command 10-1, A-51 QAPMSBSD subsystem 3-4
PRTLCKRPT (Print Lock Report) command A-52 QAPMSNA database file 3-4, 8-3
considerations 7-63 QAPMSNADS database file 3-4
lock conflicts 7-63 QAPMSTND database file 3-4
seize conflicts 7-63 QAPMSTNE database file 3-4
viewing trace data 3-5 QAPMSTNL database file 3-4
PRTPEXRPT (Print Performance Explorer Report) QAPMSTNY database file 3-4
command 11-8 QAPMSYS database file 3-4
Print Performance Explorer Report QAPMTSK database file 3-4
(PRTPEXRPT) A-53 QAPMX25 database file 3-4
PRTPEXRPT (Print Performance Explorer QAPTAZDR database file 10-13
Report) A-53 QAPTLCKD database file 7-63
PRTPOLRPT (Print Pool Report) command 7-72, A-56 QAPTLCKD file 7-101
PRTRSCRPT (Print Resource Report) command 7-76, QAPTPAGD database file 10-16, 10-18
A-59 QAPTTRCJ database file 10-3
PRTSYSRPT (Print System Report) command 3-1, QAVPETRCI database file 11-8
3-5, A-60
Index X-25
report (continued) Requestor’s Job Name column 7-131
Job Summary Report (continued) Reset Packets Recd column 7-131
Report Selection Criteria 7-45 Reset Packets Trnsmitd column 7-131
Key Fields and Select/Omit Listing 10-14 Resource Interval Report
Lock Report 7-63 Communications Line Detail section 7-77
Logical File Listing 10-13 description 7-76
Pool Interval Report 7-73 Disk Utilization Detail section 7-77
Print Activity 6-9 Disk Utilization Summary section 7-77
Process Access Group Information 10-17 IOP Utilizations section 7-78
Profile CPU Summary Information 11-15 Local Work Station Response Times section 7-79
Profile Information 11-18, 11-20 printing 7-76
Program-to-File Cross-Reference 10-10 Remote Work Station Response Times
Resource Interval Report 7-76 section 7-79
Run Information 11-11 sample reports 7-80
Statistics CPU Summary Information 11-15 resource report
Summary Activity 6-10 printing A-59
System Report 7-17 Resource Utilization
Communications Summary 7-19 sample report 7-21, 7-22
Disk Utilization section 7-19 section description 7-19
Report Selection Criteria 7-20 Resource Utilization Expansion
Resource Utilization 7-19 sample report 7-21
Resource Utilization Expansion 7-19 section description 7-19
Storage Pool Utilization section 7-19 resources, system
Workload 7-18 auxiliary storage 3-1
Task Information 11-13 communications 3-1
Trace Analysis I/O Summary Report 10-6 main storage 3-1
Trace Analysis Summary Report 10-5 processing unit 3-1
Trace Job Information Report 10-7 Response column 7-131
Transaction Report 7-37 Response Sec Avg and Max column 7-131
transaction response, differences in B-2 Response Seconds column 7-131
Transition Report response time
sample 7-46 components B-1
summary 7-46 description 1-4
report command host (internal) B-1
Analyze Access Group (ANZACCGRP) 10-2 input communications time B-1
ANZACCGRP (Analyze Access Group) 10-18 internal 1-4
ANZDBF (Analyze Database File) 10-11 RH (request header) bracket delimiter
ANZPGM (Analyze Program) 10-2, 10-9 session traffic fields 8-7
Display Access Group (DSPACCGRP) 10-2 RMVPEXDFN (Remove Performance Explorer Defi-
DSPACCGRP (Display Access Group) 10-16 nition) command A-67
summary 3-13 RNMOBJ (Rename Object) command 2-1
Report Selection Criteria route selection
Component Report description 7-28 definition 8-20
Component Report sample 7-35 RPTTYPE (report type) parameter 7-36
Job Interval Report 7-68 Rsp column 7-131
Job Interval sample 7-71 Rsp Time column 7-131
Job Summary description 7-45 Rsp Timer Ended column 7-131
Pool Interval Report 7-73 Rsp/Tns column 7-131
Pool Interval sample 7-75 run cycles column 11-23
System Report description 7-20 Run Information Report 11-11
System Report sample 7-24 run time (us) column 11-23
report type (RPTTYPE) parameter 7-36
request header (RH) bracket delimiter
session traffic fields 8-7 S
requesting a performance data analysis 4-3 S/L column 7-131
Index X-27
sector column 11-24 session setup activities
Seg T ST column 11-24 APPN (advanced peer-to-peer networking) 8-16
segment address register bind command 8-16
trace event descriptions 11-28 broadcast search 8-16
Seize and Lock Conflicts column 7-131 directed search 8-16
Seize Conflict column 7-131 domain broadcast 8-17
Seize Hold Time column 7-132 NNS(DLU) network node 8-17
seize lock NNS(OLU) network node 8-17
trace event descriptions 11-28 session setup activities 8-17
Seize Wait /Tns column 7-132 session setup work activity
seize/lock APPN (advanced peer-to-peer networking) 8-17
analyzing conflicts 7-64 broadcast search received 8-18
conflicts by object 7-41 destination network node 8-18
longest conflicts 7-43 device selection 8-20
longest holders of conflicts 7-44 directory search processing 8-20
Seize/Lock Conflicts by Object 7-41 initial screening 8-20
seize/lock data file 7-101 intermediate node on directed search 8-18
Select Categories for Performance Graphs locally started sessions (source) 8-17
display 9-18 network node processing 8-18
Select Categories for Report display 7-8 receiver of search requests 8-17
Select File and Access Group Utilities display 10-2 route selection 8-20
Select Graph Format display 9-21 search processing 8-17
Select or Omit Pools display 7-9 switched link activation 8-20
SELECT parameter session traffic fields
Component Report 7-28 description 8-6
Component Report sample 7-35 number of sessions started and ended 8-7
Job Summary Report 7-45 SNA performance measurements 8-6
System Report 7-20 session-level pacing
System Report sample 7-24 description 8-7
Select Parameters column 7-132 excessive waiting 8-9
Select Performance Data Member display 9-17 sessions since IPL column 11-12
Select Performance Member display 5-1, 12-7, 15-2 Set Data Collection Time display 3-8
Select Sections for Report display 7-7 Set End Time display 3-9
Select Time Intervals display 7-8 Set Length of Time to Collect Data display 3-9
Select Time Intervals to Analyze display 4-4 setting
Select Time Intervals to Display display 5-2 data collection time 3-8
Select Type of Status display 2-3 Short Frame Errors column 7-132
selected jobs column 11-10 Short Wait /Tns column 7-132
selected MI complex instructions column 11-10 Short WaitX /Tns (Short wait extended) column 7-132
selected programs column 11-11 single-processor system
selected task names column 11-10 field restrictions 6-3
selecting Size (K) column 7-132
a member 4-4 Size (M) column 7-132
performance data members 9-17 Size column 7-132
time intervals 4-4 SKP XCH column 11-24
sending data SLINNM correlation field
internal session-level pacing 8-7 description 8-4
line transmission 8-10 SLIOMT correlation field
session-level pacing 8-7 description 8-4
transmission priority 8-7 SLTCTL (control units included) parameter 7-108
SEQ (sequence) parameter 6-12 SLTFCNARA (functional areas included)
sequence (SEQ) parameter 6-12 parameter 7-115
Sequence Error column 7-132 SLTJOB (jobs included) parameter 7-120
serial number column 11-13 SLTLINE (communications lines included)
session name column 11-12 parameter 7-108
Index X-29
STRPFRMON (Start Performance Monitor) system (continued)
command 3-1, 5-1 analysis 13-1
STRPFRT (Start Performance Tools) command 2-2, configuration database file 3-4
A-70 database file 3-4
STRSRVJOB (Start Service Job) command 10-3 performance parameters C-1
STSKNM correlation field two processors
description 8-4 example display 7-138
submitted job system activity
working with 2-3 working with 6-1, A-72
subsystem System Activity menu 6-1
database file, QAPMSBSD 3-4 System CPU per transaction (seconds) column 7-136
QBASE 3-13 system data collection command
QCTL 3-13 summary 3-13
working with 2-3 system default
Subsystem Activity collecting data 3-7
sample report 7-74 System disk I/O per transaction column 7-136
section description 7-73 system model column 11-13
Subsystem Name column 7-133 System Report
Subsystems column 7-134 Communications Summary section 7-19
Sum column 7-134 description 7-17
Summary Activity Report 6-10 Disk Utilization section 7-19
Summary of Seize/Lock Conflicts by Object printing 3-1, 7-17, A-60
sample report 7-57 Report Selection Criteria section 7-20
section description 7-41 Resource Utilization Expansion section 7-19
surface graph 9-5 Resource Utilization section 7-19
suspend time (us) column 11-12 sample reports 7-20
SVDS receiver 8-26 Storage Pool Utilization section 7-19
SVDS sender 8-27 Workload section 7-18
switched link activation system resource utilization
definition 8-20 BEST/1 1-6
SWX column 7-134 system resources
Sync column 7-134 auxiliary storage 3-1
Sync DIO /Tns column 7-134 communications 3-1
Sync Disk I/O column 7-134 displaying performance data 5-8
Sync Disk I/O per Second column 7-134 main storage 3-1
Sync Disk I/O Requests column 7-134 processing unit 3-1
Sync Disk I/O Rqs/Tns column 7-134 System Starts column 7-136
Sync I/O /Elp Sec column 7-134 System Stops column 7-136
Sync I/O /Sec column 7-134 System Summary Data
Sync I/O Per Second column 7-134 interactive key/think time, analysis by 7-39
Synchronous DBR column 7-135 interactive response time, analysis by 7-39
Synchronous DBW column 7-135 interactive transaction averages by job type 7-39
Synchronous DIO / Act Sec column 7-135 interactive transaction categories, analysis by 7-39
Synchronous DIO / Ded Sec column 7-135 section description 7-39
Synchronous DIO / Elp Sec column 7-135 trace periods for trace data 7-39
Synchronous disk I/O System Summary Data section
definition 7-42 exceptional wait breakdown by job type 7-39
Synchronous Disk I/O Counts column 7-135 System Total column 7-136
Synchronous disk I/O per transaction column 7-135 System ToUser column 7-136
Synchronous Max column 7-135 system type column 11-13
Synchronous NDBR column 7-136 system use analysis 3-2
Synchronous NDBW column 7-136 system with two processors
Synchronous Sum column 7-136 definition 6-3
Synchronous wrt column 7-136 example display 6-3
system utilization value 6-12
activity 6-1
Index X-31
tpSPWT session-level pacing field traffic priority levels
description 8-7 comparing 8-11
tpTRUD line transmission field transaction
description 8-10 boundaries 8-1, 10-4, B-1
trace analysis I/O summary 10-4 Client Access shared folders 8-33
Trace Analysis I/O Summary Report 10-6 conditions for number of 7-123
Trace Analysis Summary Report 10-5 OS/400 file server 8-33
trace data performance 10-2
analyzing 4-7 response reports B-2
collecting 7-37, 7-63 Transaction Report
collection 3-2 *DI value 8-1
creating 7-37, 7-63 *DQ value 8-1
database file 3-5 boundary values 7-39
definition 3-5 description 7-37
how to collect Job Summary Data section 7-46
DMPTRC parameter 3-10 output (QPSPDTS) 7-37
TRACE parameter 3-10 printing 7-36, 7-90, A-64
storage restrictions 3-2 RPTTYPE (*TNSACT) option 7-37, 7-45
trace event sample report 7-49, 7-62
description Transaction Response Time (Sec/Tns) column 7-138
auxiliary storage management 11-26 Transaction Significance
BASE 11-24 sample report 7-53
DASD server 11-31 section description 7-40
disk 11-26 Transactions per hour (local) column 7-138
Java 11-32 Transactions per hour (remote) column 7-139
job 11-28 Transition Report
MI complex instructions 11-34 description 7-46
page fault 11-27 output (QPSPDTD) 7-37
process 11-28 printing 7-36
program bracket 11-31 RPTTYPE (*TRSIT) option 7-37
segment address register 11-28 sample 7-46
seize lock 11-28 sample report 7-62
Trace Job (TRCJOB) command 10-4 summary 7-46
trace job information 10-4 transmission group (TG) update
Trace Job Information Report 10-7 topology maintenance 8-12
trace options transmission priority
call (external) 10-8 description 8-9
data (trace) 10-8 user-defined transmission priority 8-9
event (handler) 10-8 transmission time B-1
EXTXHINV (external exception handler) 10-8 Transmit/Receive/Average Line Util column 7-139
EXTXHRET (call termination) 10-8 TRCJOB (Trace Job) command 10-4
INTXHINV (internal exception handler) 10-8 TSE column 7-139
INTXHRET (return from an exception) 10-8 tuning
INVEXIT (call exit routine) 10-8 checklist F-1, F-2
ITERM (intervening call termination) 10-8 tips F-4
ITRMXRSG (resignaling exception) 10-8 tuning system
PTRMTPP (process termination) 10-8 advisor recommendations 4-14
PTRMUNHX (unhandled exception) 10-8 Typ column 7-139
SSPTRC (trace suspended) 10-8 Type column 7-140, 11-10, 11-11
trace periods for trace data 7-39
trace report
printing 3-5, A-66 U
trace wrap count column 11-12 UADA (user area disk activity) C-1
tracing UDR (update, delete, or release record) 10-7
job 10-4 Unit column 7-141, 11-24
Index X-33
Communicating Your Comments to IBM
AS/400e series
Performance Tools for AS/400
Version 4
Publication No. SC41-5340-00
If you especially like or dislike anything about this book, please use one of the methods
listed below to send your comments to IBM. Whichever method you choose, make sure you
send your name, address, and telephone number if you would like a reply.
Feel free to comment on specific errors or omissions, accuracy, organization, subject matter,
or completeness of this book. However, the comments you send should pertain to only the
information in this manual and the way in which the information is presented. To request
additional publications, or to ask questions or make comments about the functions of IBM
products or systems, you should talk to your IBM representative or to your IBM authorized
remarketer.
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute
your comments in any way it believes appropriate without incurring any obligation to you.
If you are mailing a readers' comment form (RCF) from a country other than the United
States, you can give the RCF to the local IBM branch office or IBM representative for
postage-paid mailing.
If you prefer to send comments by mail, use the RCF at the back of this book.
If you prefer to send comments by FAX, use this number:
– United States and Canada: 1-800-937-3430
– Other countries: 1-507-253-5192
If you prefer to send comments electronically, use this network ID:
– IBMMAIL(USIB56RZ)
– [email protected]
Overall, how satisfied are you with the information in this book?
Very Very
Satisfied Satisfied Neutral Dissatisfied Dissatisfied
Overall satisfaction Ø Ø Ø Ø Ø
How satisfied are you that the information in this book is:
Very Very
Satisfied Satisfied Neutral Dissatisfied Dissatisfied
Accurate Ø Ø Ø Ø Ø
Complete Ø Ø Ø Ø Ø
Easy to find Ø Ø Ø Ø Ø
Easy to understand Ø Ø Ø Ø Ø
Well organized Ø Ø Ø Ø Ø
Applicable to your tasks Ø Ø Ø Ø Ø
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments
in any way it believes appropriate without incurring any obligation to you.
Name Address
Company or Organization
Phone No.
Cut or Fold
Readers' Comments — We'd Like to Hear from You
IBM
Along Line
SC41-5340-00
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
IBM CORPORATION
ATTN DEPT 542 IDCLERK
3605 HWY 52 N
ROCHESTER MN 55901-7829
Cut or Fold
SC41-5340-00 Along Line
IBM
SC41-534ð-ðð
Spine information: