Previous Topic: 11.5.2 Extended Options MenuNext Topic: 11.5.4 Data Element Derivation Screen


11.5.3 Global Data Selection Screen


Figure 11-10 illustrates the Global Data Selection Macro
Definition screen.

/-------------------------------  SAS Statements  ------------------------------\
|Command ===>                                                  Scroll ===> CSR  |
|                                                                               |
|Inquiry Step:  Workload Characterization                                       |
|                                                                               |
|Line Cmds: I Insert  D Delete  R Repeat  M Move  C Copy                        |
|                                                                               |
|Cmd  SAS Statements for:  Specifying global data selection                     |
| -   ------------------------------------------------------------------------  |
| _ - %MACRO SELEOF;                                                            |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _ - %MEND SELEOF;                                                             |
|****************************** BOTTOM OF DATA  ********************************|
|                                                                               |
\------------------------------------------------------------------------------/

 Figure 11-10.  Global Data Selection Macro Definition Screen

Workload characterization provides a user-exit that you can
use to control data selection from the CA MICS database. To
invoke this exit, code SAS statements in the SELEOF macro.
This macro is bracketed by the %MACRO and %MEND statements
which are provided for you and are field protected to prevent
accidental modification.

The default for the SELEOF macro is null.  This macro is
invoked when the workload observations are read from the
specified CA MICS file. You may use it to delete observations
from the data as it is selected.  For example, in a job class
study, you might wish to exclude production job classes from
the analysis.  If production jobs are designated by job class
P, then you would code the following:


     %MACRO SELEOF;
     IF JOBCLASS='P' THEN GO TO T_EOF;
     %MEND SELEOF;

Note that you do not have to code the %MACRO and %MEND
statements, as they are already provided for you.

The IF statement should specify branching to T_EOF rather
than acting as a subsetting IF or specifying DELETE.  A
subsetting IF or a DELETE statement may cause the program to
function incorrectly.

You must code each specified SAS statement in accordance with
the syntax of the SAS Macro Language, as described in the SAS
manuals.