1. OVERVIEW › 1.4 Online Facility Tutorial › 1.4.3 Performance Manager Analysis Inquiries › 1.4.3.6 Specifying Common Extended Options › 1.4.3.6.1 Global Data Selection
1.4.3.6.1 Global Data Selection
If you enter Y after Specify global data selection on the
Extended Options Menu, the panel shown in Figure 1-30
appears.
/------------------------------- SAS Statements ------------------------------\
|Command ===> Scroll ===> CSR |
| |
|Inquiry Step: Data Clustering |
| |
|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 1-30. Global Data Selection Panel
Several queries provide 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, and
field-protected to prevent 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 can use it to delete observations
from the data as it is selected. For example, in a job class
study, you might want to exclude production job classes from
the analysis. If production jobs are designated by job class
P, then 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.