Previous Topic: 2.7.6.2 Optional Selection Criteria

Next Topic: 2.7.6.4 Color Chart Options

2.7.6.3 Workload Groupings


For those graphs that contain the word "Workload" in their
title, two alternative extended options allow you to define
workload groupings.  You can specify a workload definition
exit, which will permit you to write SAS statements combining
homogeneous performance groups or service classes into unique
workload groups.
If you enter Y (Yes) for the Specify workload definition exit
selection in the Extended Options Menu, the Workload Grouping
Exit screen shown in Figure 2-203 is displayed.


/------------------------------  SAS Statements  ------------------------------\
|Command ===>                                                  Scroll ===> CSR |
|                                                                              |
|Inquiry Step:  CPU Busy by Workload Type                                      |
|                                                                              |
|Line Cmds: I Insert  D Delete  R Repeat  M Move  C Copy                       |
|                                                                              |
|Cmd  SAS Statements for:  Specifying workload grouping exit                   |
| -   ------------------------------------------------------------------------ |
| _ - %MACRO GROUP;                                                            |
| _    /* SAMPLE GROUP EXIT LOGIC */                                           |
| _   IF PERFGRP = 2 THEN GROUP = 'TSO';                                       |
| _   ELSE IF PERFGRP = 1 OR PERFGRP = 23 THEN GROUP = 'BATCH';                |
| _   ELSE IF PERFGRP = 49 THEN GROUP = 'CICS;                                 |
| _   ELSE GROUP = 'OTHER';                                                    |
| _   ________________________________________________________________________ |
| _   ________________________________________________________________________ |
| _   ________________________________________________________________________ |
| _   ________________________________________________________________________ |
| _   ________________________________________________________________________ |
| _ - %MEND GROUP;                                                             |
|****************************** BOTTOM OF DATA  *******************************|
|                                                                              |
\------------------------------------------------------------------------------/


 Figure 2-203.  Workload Grouping Exit Screen Example


Specifying a workload grouping exit is an option for any
graphs whose main selection screen mentions workload types.
The screen shown in Figure 2-203 permits you to specify SAS
code to define values for the SAS data element named GROUP.
This is the display you would see if the data source for the
analysis is performance group data for a pre-MVS/ESA SP 5.1
system, or an SP 5.1 or above system operating in
compatibility mode.  If you do not provide a workload
grouping exit for any of the graphic analyses that make use
of this exit, GROUP will be set equal to the value of
PERFGRP, the performance group.  Using this exit permits you
to collapse several performance groups into one workload
group, thus providing a convenient method for summarizing
related workloads together.

For analyses which use service class data from MVS/ESA SP 5.1
and above systems operating in goal mode, a slightly
different screen will appear.  The %MACRO is named CLASS, and
the values you would define would be for the data element
CLASS.  So, for example, the following workload grouping exit
code might group specific standard service classes into
reporting workloads:

 %MACRO CLASS;
  SELECT (WLMCLASS);
   WHEN ('SYSTEM') CLASS='SYSTEM';
   WHEN ('ASCH') CLASS='SYSTEM';
   WHEN ('SYSSTC') CLASS='SYSTEM';
   WHEN ('MVSSUBSY') CLASS= 'SYSTEM';
   WHEN ('CICSREGS') CLASS= 'CICS';
   WHEN ('IMSREGS') CLASS='IMS';
   WHEN ('BATCH') CLASS='BATCH';
   OTHERWISE CLASS = 'OTHER';
  END;
 %MEND CLASS;

 If the data source for the analysis is report service
 classes, rather than standard service classes, then
 element WLMRPTCL would be used instead of WLMCLASS.  Also,
 if you do not provide a workload grouping exit, CLASS will
 be set equal to the value of either WLMCLASS or WLMRPTCL
 depending on the data source (Standard or Report) specified
 on the primary screen.