CAP Executing an Analysis Inquiry

Execute an analysis inquiry by typing an E line command next to the inquiry, or type the EXECUTE primary command and an S line command, and press ENTER.
micsrm140cd
To select an analysis inquiry for execution from the Capacity Planning Analysis screen that is shown in Figure 1-13 in CAP Creating an Analysis Inquiry, either type an E line command next to the inquiry, or type the EXECUTE primary command and an S line command, and press ENTER.
When you select an analysis inquiry for execution, the
MICS database
Inquiry Execution screen that is shown in Figure 1-11 in CAP Executing a File Definition Inquiry displays.
The
MICS database
Inquiry Execution screen offers you the following execution options:

Selecting the Execution Mode

Three possible execution modes exist: batch, foreground, and DMS (SAS Display Manager). In batch mode, the online facility creates and submits a batch job that executes the inquiry. In foreground mode, the online facility executes the inquiry interactively and lets you review the results immediately. DMS mode is like foreground except MICF executes your inquiry under the SAS Display Manager (SAS/DMS). With DMS mode execution, you get control after inquiry execution completes and can use SAS/DMS facilities to analyze intermediate work file contents, revise color graphics, and so on.
To select the execution mode, type either BATCH (or B), FOREGROUND (or F), or DMS (or D) after the Inquiry Execution Mode prompt.
If you select foreground, the inquiry executes interactively and gives you the ability to browse your output online, print it, and save it. The disadvantage of foreground execution is that you cannot use your terminal for anything else while a file definition inquiry is executing.
Figure 1-20 shows a comparison of the features available in the batch and foreground execution modes.
Figure 1-20 Comparison of Batch and Foreground Execution
Feature
Batch
Foreground
Ability to catalog output
Yes
Yes
Ability to replay color graphics
Yes
Yes
Ability to print reports
Yes
Yes
Ability to print color graphics
Yes
Yes
Terminal available for use during inquiry execution
Yes
No

Overriding the Default Execution Options

You may not need to override the default execution options very often, but you should familiarize yourself with the available options by entering Y after the Override Execution Options prompt. The Execution Options screen appears and lets you specify the color graphics format set, the color graphics device, and the SAS execution parameters for the current inquiry.
Most of the parameters that you can set on this screen are self-explanatory; however, the Execution Options tutorial screens provide more detail if you should need it. You can reach these screens from the Execution Options screen by typing HELP at the Command prompt or (usually) by pressing your PF1 key.
There are two sets of execution parameters. One set is for batch job submissions. The other set is for inquiries that run in foreground. These options are set originally by your
MICS
System Administrator, although you can personalize them by using Option 0, MICF Options, on the Capacity Planning menu that is shown in Figure 1-2 in CAP Getting Started with the Online Facility. The online facility uses the set of options that corresponds to your choice of execution mode: batch, foreground, or DMS.

Overriding the Default Job Submission Parameters

When you instruct the online facility to execute an inquiry as a batch job, it automatically uses your default job control specifications. These include your job statement and the SYSOUT specifications for the printed report and the SAS log.
You can override the default specifications for the current inquiry execution and modify batch job submission parameters and job card information from the
MICS database
Inquiry Execution screen (see Figure 1-11 in CAP Executing a File Definition Inquiry). If you want to edit the generated job stream and inquiry program before you submit the job, type Y at the Edit Generated Jobstream Before Submitting Batch Job prompt.

Selecting Execution-Time Data

The online facility analysis inquiries are made more general in that they allow you to specify information such as the range of
MICS
file cycles or the system identifier (SYSID) to be reported on at execution time. When you select an analysis inquiry for execution, the online facility presents you with the Execution-Time Parameters screen. Figure 1-21 shows an example of this screen after the Database ID and
MICS
File Cycles have been entered. The content of the Execution-Time Parameters screen changes depending on the type of analysis you are executing, but the format is the same as that in Figure 1-21. To execute the analysis inquiry, type END after the Command prompt and press ENTER, or press (usually) your PF3 key.
Figure 1-21 Execution-Time Parameters Screen
/------------------------- Execution-Time Parameters -------------------------\ |Command ===> Scroll ===> CSR | |Press END to execute the inquiry. Enter CANCEL to cancel inquiry execution. | |Executing
MICS
Inquiry: CLUC1 - Workload Characterization | | | |-------------------------------------------------------------------------------| | Enter the Data Base ID. (1 character) for the Data Base to be processed. | |A - ___________________________________ | | | | Enter the range of
MICS
File Cycles (e.g., 01 - 04) to be processed. | |01 - 02 | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------------------------------------------------------------------