CAP Executing a File Definition Inquiry
Execute a file definition inquiry.
micsrm140
To execute a file definition inquiry, either enter an E line command next to the inquiry on the Capacity Planning Database Files screen (Capacity Planning Data Base Files Screen - PRIVATE Catalog figure in the Creating a File Definition Inquiry section), or specify a Select mode of EXECUTE, type an S (Select) in the Cmd column on the line of the inquiry you want to execute, and press ENTER.
The following screen (Update Capacity Planning File Screen) appears. You will have the opportunity to specify several execution options. The type of file definition inquiry you are executing will determine the screens that are displayed.
Update Capacity Planning File Screen
/----------------------- Update Capacity Planning File -----------------------\ |Command ===> | | | |Executing CAP DB File def.: XXC - CPU Standard Appl,03/10/93 | | | |Type of update ===> INITIALIZE (INITIALIZE/UPDATE) | |Replace existing file? ===> N (Y/N) | | | |Input data source ===> ARCHIVE (ARCHIVE/ONLINE) | |MICSfile cycle(s) ===> __ - __ (0 - 99) | |Archive generation number ===> ___ (0 to -99) | | | |Starting date of update ===> _______ (ddmonyy) | |Number of months to select ===> ____ (1 to 9999) | | | |Mode of execution ===> BATCH (BATCH/FOREGROUND) | | | |List updated file contents? ===> YES (YES/NO) | | | | | | | | | | | |Press END to invoke MICF inquiry execution to update the resource element file.| |Enter CANCEL to terminate the resource element file update. | ---------------------------------------------------------------------------------
If you are executing a resource element file definition inquiry, the Update Capacity Planning File screen shown in the previous figure displays. This screen and its control parameters are discussed in detail in the Modifying a Database Specification section. When you type END in the Command field and press ENTER, or when you press the END PF key (usually PF3), the following screen (
MICS database
Inquiry Execution Screen) displays.MICS database
Inquiry Execution Screen/---------------------- Business Element File Data Entry ----------------------\ |Option ===> | | | |Executing CAP DB File def.: BEF - Business Element File | | | | | | 1 - Initialize Business Element File | | Prime business element file with null entries in preparation | | for online data entry. | | 2 - Online Data Entry | | Update the business element file using SAS/FSP. The file must | | have been previously initialized. | | 3 - Batch Data Entry | | Update the business element file using external card images. | | The card image update can be executed in foreground or batch. | | | | | | Starting date ===> _______ (ddmonyy) Number of months ===> ____(1-9999)| | Card image DSN ===> _________________________________________ | | | | | | | | | ---------------------------------------------------------------------------------
If you are executing a business element file definition inquiry, the Business Element File Data Entry screen displays. This screen and its control parameters are discussed in detail in the Business Element File Data Entry section. When you specify an option and press ENTER, the
MICS database
Inquiry Execution screen shown in the following figure appears.MICS database
Inquiry Execution ScreenMICSData Base Inquiry Execution Screen /---------------------------- MICF Execution ---------------------------------\ |Command ===> | | | |ExecutingMICSInquiry: XXC - CPU Standard Application | | | |Inquiry Execution Mode ===> BATCH (BATCH/FOREGROUND/DMS) | |Override Execution Options ===> N (Y/N) | |SAS/DMS Options: Resume ===> Y (Y/N) Output Replay ===> Y (Y/N) | | | | | |Press ENTER to execute the inquiry, or press END to cancel execution. | | | |---------------------- Batch Job Submission Parameters ----------------------| |Edit Generated Jobstream%===> Y (Y/N) Hold Inq. Output for Replay ===> N (Y/N)| | | |SYSOUT Class ===> A SYSOUT Form %===> ____ | |Destination %===> ____ SYSOUT Writer%===> ________ | |SYSOUT Parms.%===> ___________________________________________________________ | | | |Job Card Information: | | ===> //jobname JOB (accounting information), | | ===> // MSGLEVEL=(1,1),MSGCLASS=A,PRTY=5 | | ===> //* | | ===> //* | | | | | ---------------------------------------------------------------------------------
The
MICS database
Inquiry Execution screen shown in the MICS database
Inquiry Execution Screen offers you the following execution options:- Selecting the Execution Mode
- Overriding the Default Execution Options
- Overriding the Default Job Submission Parameters
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, etc.
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 disadvantages of foreground execution are that you cannot use your terminal for anything else while a file definition inquiry is executing and you cannot use archive tape input.
The following Comparison of Batch and Foreground Execution table shows a comparison of the features available in the batch and foreground execution modes.
Feature | Batch | Foreground |
Ability to use archive tape input | Yes | No |
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 typing 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 run in foreground. These options are set originally by your
MICS
System Administrator, although you may personalize them by using Option 0, MICF Options, on the Capacity Planner menu shown in the Capacity Planner Menu figure 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 or foreground.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 may modify batch job submission parameters and job card information from the
MICS database
Inquiry Execution screen (see the Executing a File Definition Inquiry section). 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.