4. EXCEPTIONS › 4.3 Detailed Exception Descriptions › 02801: Swaps per Ended Transaction Exceeds Max
02801: Swaps per Ended Transaction Exceeds Max
FILE: Performance Group Activity File
SAS FILE NAME: DAYS.SCPPGA01
SOURCE LOCATION: prefix.MICS.USER.SOURCE(DYRMFEXC)
SEVERITY: Impacting (SEVERITY='I')
MANAGEMENT AREA: Performance (MGMTAREA='PERFORMANCE')
PURPOSE: Identify workloads with high swap activity.
RATIONALE: For online systems, a high swap rate can
cause response time degradation. For batch systems, it can
mean overinitiation and unnecessarily elongated run times.
DEFINITION: This exception is detected when the average
number of swaps per ended transaction for selected
performance groups exceeds an installation-defined maximum.
EXCEPTION STATEMENTS: The SAS statements identifying the
exception situation and describing the condition are stored
in the source member named in SOURCE LOCATION and are
described below:
/* *************************************************
** 02801 SWAPS PER ENDED TRANSACTION EXCEEDS MAX **
************************************************* */
IF (PERFGRP=perfgrp1 AND PGASPT > count1) OR
(PERFGRP=perfgrp2 AND PGASPT > count2)
THEN DO;
EXCCODE='02801'; SEVERITY='I'; MGMTAREA='PERFORMANCE';
EXCDESC1='SWAPS PER ENDED TRANSACTION EXCEEDS MAX';
EXCDESC2='SWAPS/TRANSACTION=' || PUT(PGASPT,6.1) ||
', GROUP=' || PUT(PERFGRP,3.) ||
', NAME=' || PERFGRPN;
LINK HIT;
END;
THRESHOLD MODIFICATION: The user should modify the
perfgrp and count values according to the following
conventions:
perfgrp - The performance group number to be examined.
count - The maximum swap count per transaction for the
performance group.
A test for a swaps-per-transaction count in excess of 5
for performance group 6 would appear as:
(PERFGRP=6 AND PGASPT > 5)