|Getting Started with the SAS System Using SAS/ASSIST Software|
The Report Engine allows you to generate reports quickly and gives you several ways to modify and customize different aspects of your report. This section shows you how to create a simple listing report and use the Report Engine's customizing tools to make some modifications to the report.
|Creating the Report|
|Tasks||Report Writing||Design Report||Report Engine...|
Report Engine Window
SASover the value in the Type field. Note that the Type field must be filled in before you select a table.
SASUSER.HOUSESin the Data field and press ENTER.
?in the Data field, and then select the SASUSER.HOUSES table from the Select Table window. For more information on the Select Table window, see Selecting a Table.
When the SASUSER.HOUSES table is loaded into the Report Engine window, SASUSER.HOUSES appears in the Data field. The table's columns are listed in the window.
Report Engine Window with HOUSES Table
LISTin the Report field in the Report Engine window, if it does not already appear there.
Report Output Window
If the report is wider or longer than one display, use the scroll bars, the View pull-down menu, or the FORWARD, BACKWARD, LEFT, and RIGHT function keys to look at the report.
|Modifying the Report|
The Report Engine offers you a number of ways to modify and customize your report. This section shows you some of them.
D, and press ENTER. The Number of bathrooms row disappears from the Report Engine window, and the column will not appear in the report. The column does remain, however, in the HOUSES table.
Bedroomsover the existing column header text. You may need to delete or type blanks over the remaining column header text. Press ENTER; the column header will be renamed Bedrooms in the report.
5, and then move the cursor to the No field of the Asking price row. Type a
4and press ENTER. The Asking Price column will appear to the left of the Street Address column in the report.
Note: If you wish to undo your modifications, follow this selection path:
|Adding Titles to a Report Engine Report|
Adding titles to a Report Engine report is slightly different from adding titles in the other SAS/ASSIST report-generating functions. Unlike the titles specified in other report-writing tasks, the titles you specify in the Report Engine are used in Report Engine reports only and do not carry over into other report writing tasks. Similary, titles defined in other report writing tasks are not used in Report Engine reports.
Report Engine Titles Window
Houses for Salein the Value field for title number 1, and then type
By Stylein the Value field for title number 2.
Page Layout Window
YESand press ENTER.
|Running the Modified Report|
Modified Report Output
|Saving a Report to a SAS Catalog|
To save a report for future use, follow these steps:
Save As Window
Houses for Sale (Report Engine).
For a list of existing reports, type a
? in the Name field of the Save As window. You can type
S (for Select) in the Cmd field to select a report from the resulting selection list. For a list of available catalogs, type a
? in the Catalog field. Select the catalog from the resulting selection list.
Top of Page
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.