CAP Repeating or Copying a File Definition Inquiry

This section describes how to use an existing file definition inquiry as a model for a new inquiry without changing the original inquiry. The following Repeating an Inquiry figure shows a typical display of the contents of a private catalog.
rm
This section describes how to use an existing file definition inquiry as a model for a new inquiry without changing the original inquiry. The following Repeating an Inquiry figure shows a typical display of the contents of a private catalog.
Figure 1-5 Repeating an Inquiry
/---------------------  Capacity Planning Data Base Files  ---------------------\ |Command ===>                                                  Scroll ===> PAGE | |                                                                               | |Catalog       ===> PRIVATE (PRIVATE/SHARED)   ---------Line Commands-----------| |Catalog group ===> CAPACITY                   |A Add Notes B Browse  S Select || |Select mode   ===> EXECUTE (EXECUTE/MODIFY)   |M Modify    E Execute I Insert || |Name (subset) ===> ___                        |R Repeat    C Copy    D Delete || |                                              ---------------------------------| |                                                                               | |Cmd    Name                    Title                    Type       Status      | | -   --------  ----------------------------------------   -   -----------------| | R   CPU       CPU Sample Application                     S   Copied   98/11/01| | _   DAS       DASD Sample Application                    S   Updated  98/11/02| | _   WKL       Track Major Workloads                      F   Forecast Only    | |****************************** BOTTOM OF DATA  ********************************| |                                                                               | |                                                                               | |                                                                               | |                                                                               | |                                                                               | |                                                                               | |                                                                               | |                                                                               | |                                                                               | |                                                                               | --------------------------------------------------------------------------------
To repeat a copy of a file definition inquiry in your private catalog, type an R (REPEAT) in the Cmd column on the line of the inquiry that you want to copy and press ENTER. The following Repeat File Definition screen appears.
To copy an existing file definition from the shared catalog into your private catalog, you first need to view the shared catalog by changing PRIVATE to SHARED in the Catalog field on the Repeating an Inquiry Sample. Then type a C (COPY) in the Cmd column on the line of the inquiry that you want to copy and press ENTER. A Copy File Definition screen similar to the Repeat File Definition screen shown in the File Definition Inquiry Repeat Screen figure displays.
Figure 1-6 File Definition Inquiry Repeat Screen
/--------------------------  Repeat File Definition  ---------------------------\ |Command ===>                                                                   | |                                                                               | |Catalog:  PRIVATE                                                              | |                                                                               | |        File name   ===> xxx                                                   | |             Title  ===> CPU Sample Application                                | |             Author ===> CA                                                    | |              Type:      Sample Application                                    | |                                                                               | |Catalog group name  ===> CAPACITY                                              | |              Title ===> Capacity Planning                                     | |                                                                               | |Invoke SAS to copy history to your private catalog    ===> YES (YES/NO)        | |Invoke SAS to copy forecasts to your private catalog  ===> NO  (YES/NO)        | |Convert Sample application to resource element file ===> NO    (YES/NO)        | |                                                                               | |Press ENTER to add the new file definition to your private catalog.            | |or                                                                             | |Press END to cancel.                                                           | |                                                                               | |                                                                               | |                                                                               | ---------------------------------------------------------------------------------
Enter the name that this copied inquiry will use in the File name field. The values for the Title and Author fields are copied from the original inquiry. You may change them if you want.
You also have an opportunity to choose whether to copy any existing history or forecast SAS files at this time. The screen entries for these choices will default to YES only if such data exists. This copying will be done by invoking SAS in foreground.
If the file definition being repeated or copied is a Sample application, you can choose to convert the newly created copy to a resource element file. You would do this if you want to make subsequent modifications to the new definition by adding other input files or data elements, or by altering some of its calculations.
When you are satisfied with the entries, press ENTER.