SMFOD1 - SMF Daily Top 10 APPC Transaction Jobs
The SMFOD1 inquiry generates several chart sets.

These chart sets show the daily top
nn
(default 10) APPC Transaction Programs (TPs) using CPU, I/O, and central storage (memory) resources on your z/OS systems. For each resource type, one chart set shows the top ten APPC TPs using the resource over the entire Central Processing Complex (CPC), and another shows the top ten APPC TPs for each z/OS system. The inquiry reads detail data from the BAT_TP (APPC/MVS TP Activity) file, and summarizes the data by job name executed. The charted data reflects summarized interval and step record information from all job steps for the top ten APPC TPs.For CPU, the CPU time used by each of the top ten APPC TPs is displayed using a vertical bar. The bar is segmented by CPU time type (for example, TCB, SRB, I/O Interrupt, zIIP, zAAP, and so on).
Two horizontal lines show the program count (number of unique program executions) and interval count (number of interval records) encountered for the APPC TP. For short running steps, the interval count and program count values have similar values. For long running programs, the interval count exceeds the program count.
The program count data element (PGMCOUNT) is only set to one (1) for the last interval record for a long-running program. For APPC TPs with a long-running program step that has not yet ended, PGMCOUNT is zero.
For I/O, I/O Service Units are used to determine the top ten APPC TPs. Three different chart views are available to display I/O related resource utilization. The first chart shows I/O service units for the top ten using vertical bars.
For device connect time, the second chart displays device connect time for the top ten by device class (for example, DASD, TAPE, Unit Record, and so on). The device connect time is displayed using a vertical bar, with the bar segmented by the time that is connected to each of the device classes.
For EXCPs, the final view shows EXCPs by device class, again using a segmented vertical bar. As with the CPU chart, the program and interval record count are shown using a horizontal line.
For central storage, the top ten APPC TPs with the largest average working set size are displayed. The average working set size is the average number of page frames in central storage that is used by the program. The page frame count is shown using a vertical bar and the program and interval record count are shown using a horizontal line.
The average working set size represents the average for all step and interval records that are encountered for each of the top ten APPC TP.
The example shows the CPC level chart that is generated for APPC TSs executing on an IBM z15 8561-608 CPC. The largest user of CPU time was the APPC TP ‘TSTAPPC’. The chart shows that for the day depicted, the job had 1528 program step executions, recorded with 1528 interval records, and consumed about 20 minutes of CPU time. Most of this time was Step TCB Time.
Uses
It is important to understand which applications are the biggest consumers of limited and expensive IT resources. This inquiry shows the largest APPC TP consumers running on z/OS systems—at both the CPC and individual z/OS system level. Knowing not only the amount of resource that is consumed but also the frequency of program execution can help you to focus on tuning efforts where potential payback is greatest. Tracking utilization by job name may or may not be useful at your installation—and is largely dependent on job naming standards.
Data Extracts
The following SMFOD1 inquiry data extracts display the same X- and Y-axis data elements as those elements displayed by the SMFOD2 inquiry. The only difference is that this SMFOD1 inquiry shows the top nn APPC TP jobs, while the SMFOD2 inquiry output shows the top nn batch jobs. For the data extract chart samples and axis values, see the SMFOD2 inquiry description.
- SMF Daily Top 10 APPC Jobs CPU CPCID
- SMF Daily Top 10 APPC Jobs CPU SYSID
- SMF Daily Top 10 APPC Jobs IO CPCID
- CHART 1 – SMF Daily Top 10 APPC Jobs I/O – Service Units CPCID
- CHART 2 – SMF Daily Top 10 APPC Jobs I/O – Connect Time CPCID
- CHART 3 – SMF Daily Top 10 APPC Jobs I/O – EXCPs CPCID
- SMF Daily Top 10 APPC Jobs IO SYSID
- CHART 1 – SMF Daily Top 10 APPC Jobs I/O – Service Units SYSID
- CHART 2 – SMF Daily Top 10 APPC Jobs I/O – Connect Time SYSID
- CHART 3 – SMF Daily Top 10 APPC Jobs I/O – EXCPs SYSID
- SMF Daily Top 10 APPC Jobs Memory CPCID
- SMF Daily Top 10 APPC Jobs Memory SYSID
Data Source
- BAT_TP at the Detail Timespan
Inquiry Defaults
- Derivations:
Date
DATEPART(ENDTS) ;
CPCID
%CPCID (macro CPCID generated by sp.MICS.MACAUTOS(CPCIDFMT))
JOBRANK
PUT(COUNT,Z2.) || ' - ' || JOB ;
where COUNT is the rank of resource use (for example, 01 is the largest resource user)
TOTCPU
SUM(PGMTCBTM,PGMSRBTM,PGMHIPTM,PGMRCTTM,PGMIOITM, PGMSPNTM,PGMZPNTM,PGMISRTM,PGMITCTM) ;
INTVLCNT
INTVLCNT represents the number of observations that were summarized in the chart. In general, every observation in the MICS step level files represents an interval record, but there is no MICS data element that counts the number of intervals. These SMFODx inquiries make use of an accumulated data element that is not needed for charting (PGMCOACT) as a convenient way to summarize the number of observations included in the chart. They do this by assigning a value of one (1) to PGMCOACT.
Run-Time Execution Parameter Overrides
The SMFOD1 inquiry includes the following execution parameters:
- UNIT
- Select one or moreMICS databaseunits by entering the data base IDs. Enter multiple IDs with a blank following each ID value.
- CYCLE RANGE
- Enter range ofMICSonline file cycles or enter ARCHIVE for archive files.
- SELECT YESTERDAY
- Specify whether to report only on observations with a time stamp from yesterday.
- Available values:
- Y- Yes
- N- No (Default)
- WORKLOADS
- Enter the number of workloads to display on the chart. The default is 10.