The REXX program S113RPT prints all data fields as long integer values into the HISDATA file. This output contains data for each processor. For our basic report we want a file for each system, each of its processor type for each interval. Therefore we have to summarize the processors by processor type, system and date-time interval. This is accomplished by the CSNCSV REXX program which uses the following input script:
!--
summarizes all data on a scenario basis
!--
OUTPUT PRECISION
PREC(3)
!--
COLUMNS WHICH ARE USED TO DIFFERENTIATE ROWS
DC(2) -
date column
TC(3,5,M)
- time column and time interval in min
IDC(6,8) - differentiate, by system and proc type
!--
COLUMN DEFINITIONS
COL(COPY,5,5)
COL(CNT) HDR(LCPs)
COL(COPY,9,15)
COL(SUMR,16,91)
COL(COPY,92,95)
!--
HEADER DEFINITIONS
HEAD(1,Date)
HEAD(2,Time)
HEAD(3,System)
HEAD(4,Type)
This script summarizes all intervals which fall into the same time period. The time period is described by the control statement TC(). The first value is the time column which is 3, the second value the time value and the third value the unit. Valid time units are S for second, M for minute and H for hour. The current summarization combines all time periods which are within a 5 minute interval. This is applicable for most data because SMF data is most often collected for 10 minute or longer intervals. In case the SMF interval is reduced to a shorter time period (1 to 4 minutes) this value needs to be adjusted accordingly. Other than that nothing needs to be changed here.
Possible Problem: In some cases it is possible that regular processors come before and after zIIP processors. This is often the case if logical processors have been added at a later point in time. In this case the summarization procedure would create two separate entries per interval for regular CPs. In order to identify such cases it is sometimes a good idea to check the HISDATA file whether all regular processors are listed before the zIIPs.
If this is not the case what can be done:
There is no
procedure which supports these tasks in this tool set.