Doing More with Results |
The "Using the Result Manager" chapter in Getting Started with SAS/ASSIST introduced some of the capabilities of the Result Manager. This section describes the Result Manager in more depth. You can use the Result Manager window to display and manage your saved results, such as SAS/ASSIST tasks, SAS output, programming code, logs, and reports, and SQL code and queries. For example, you can customize the order and type of entries displayed in the Result Manager window, and you can edit, rename, print, copy, file, and delete entries. You can browse and execute program code. You can build scripts to combine a series of SAS/ASSIST tasks into a single job stream for processing.
Opening and Using the Result Manager Window |
To open the Result Manager window, follow one of these selection paths:Tasks Results Result ManagerTools Result ManagerThe Result Manager window appears, as shown in the following display. It lists all of the entries that you have named and saved to your default catalog.
Result Manager Window
Note: On some operating environments, the SASUSER.PRIVATE catalog is not created until a task, source code, output, or other entry is saved. In this case, instead of the Result Manager window, the Select Member window appears. Select Cancel (twice, if necessary) and select Goback to exit any warning messages. Perform a task and save it by selecting Save from the File menu before starting this procedure again from step 1.
The fields in the Result Manager window are described in the following table.
Field | Description |
---|---|
Catalog |
Specifies the current catalog name. To change it, type a two-level name. Alternatively, type a ? to list all possible catalogs, then make a selection from the resulting Select a Member window. |
Name |
By default, this field at the top of the display is empty. To search for and limit the listing to certain entries, type the complete name of an entry or type a portion of a name with the pattern-matching character %, *, or _. See the "Using the Result Manager" chapter in Getting Started with SAS/ASSIST for details on using the pattern-matching characters. |
Type |
Lists the type of the entry. The default value is ALL. Type a ?
to list all
possible selections or type a value directly in the field to limit the display
to certain types of entries.
You can specify any particular type, such as OUTPUT, which shows all the entries of type OUTPUT. Valid types include QUERY, REPORT, SCRIPT, SQL, ASSIST, OUTPUT, LOG, SOURCE, MANAGER, GRSEG, PROFILE, and ALL. |
Row |
Specifies the starting and ending rows of the total rows displayed. You can edit the value of the starting number to specify which row will be the first row in the display. |
Cmd |
Enables you to manage your entries. Type a ? to list all possible commands that you can enter in this field. For further details on the commands, see the next section. |
Name |
In the window's listing, Name displays the names of your entries. You can edit these values using the Rename command as described in the next section. |
Description |
Describes your entries. You can edit these values using the Rename command as described in the next section. |
Type |
Lists the entry type. |
Date |
Lists the date when the entry was created. |
Using Commands to Manipulate Entries |
To use the following commands, type the appropriate letter in the Cmd field next to the entry you want to manipulate and press ENTER.
displays a list of commands for the Cmd field. You can then select from the list to issue a command.
opens an entry for editing. The results of this command depend on the type of entry. For example, selecting the entry FLY, which has the type QUERY, opens the Query window with the FLY query loaded. Selecting the entry BONUS, which has the type REPORT, opens the Report Engine window with the report BONUS loaded. An entry type of ASSIST can be modified and executed within the edit. Entries of type MANAGER or PROFILE cannot be edited.
displays the generated source code or the output of the entry for browsing. The type of entry determines what you browse. Entries of type of MANAGER or PROFILE cannot be browsed.
executes a saved task entry interactively. X is not valid with entries of type LOG, MANAGER, OUTPUT, PROFILE, or GRSEG. The results vary with the type of task executed.
deletes an entry. When you press ENTER, <=== V to Verify DELETE appears in the Description field as shown in the following display.
Marking an Entry for Deletion
Type V and press ENTER again to verify that you want to proceed with the deletion. If you want to cancel the delete operation, press ENTER without typing V .verifies that you want to delete the entry. When you press ENTER, the DELETE operation proceeds and the entry is deleted.
highlights the name and description fields of an entry for editing, as shown in the following display.
Renaming an Entry
After the fields are highlighted, you can type a new name, a new description, or both. The name must be no more than eight characters long and must begin with a letter or underscore (_). To change only the description, move the cursor to the Description field and begin typing. A description can be up to 32 characters long and can contain any combination of characters, numbers, and symbols.Note: Entries of type PROFILE cannot be edited from the Result Manager.
under z/OS, submits a job for batch processing. Entries of type LOG, MANAGER, OUTPUT, PROFILE, or GRSEG cannot be executed in batch. For further information on batch processing, see .
saves an entry to an external file. Entry types of GRSEG, MANAGER, or PROFILE cannot be saved to an external file. When you press ENTER, the Save Task to External File window appears with the name and the description of the selected entry already filled in, as shown in the following display.
Save Task to External File Window
Type a complete pathname in the Save file to field. Then select OK to process the operation or select Cancel to cancel it.prints an entry. Entry types of MANAGER or PROFILE cannot be printed.
copies an entry to the catalog entry you specify, using the description from the Result Manager window, as shown in the following display. You cannot copy an entry of type GRSEG or PROFILE.
Copying an Entry
opens an entry for editing. The functionality of Select is the same as that for Edit.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.