Section
2, Task 3: Customize Report Definitions Action 1: Display one of the report definitions that you used in Section 1 |
|
In Section 1 you used the batch form of your report definition. Now you create the interactive form of the same definition.
From the main menu, follow this path:
Reports -> DesignGraphRpt
Now make the selections that are indicated by the batch form of your report definition.
For instance, the sample report definition for fax data in the form of a macro definition becomes the following sequence of selections:
For | Select |
%CPPLOT1 (see notes below) | One Y-axis Plot |
first parameter table(s) | icon in the upper left corner -> UFAXES |
second parameter (Y variable(s)) | Y variables -> PAGES -> OK |
third parameter (Y labels(s)) | Labels -> Edit " Pages sent or received" to "Pages sent/rec." -> OK |
,STAT=MEAN ,PERIOD=24HOUR ,BY=MACHINE ,WEIGHT=DURATION ,XVAR=DATETIME ,XLAB=Date |
Already selected (by default) |
,TYPE=STACK | Style -> Shift/F8 to scroll -> STACK |
,REDLVL=DETAIL | already selected (by default) |
,OUTMODE=GRAPHCAT | Output Options -> SAS Catalog |
,OUTLOC=ADMIN.REPORTS | type ADMIN.REPORTS in the Libref and Catalog field |
,OUTDESC=FAX PAGING REPORT | type FAX PAGING REPORT in the Description field |
,OUTNAME=FAXPAGES | type FXPAGES in the Entry Name field -> OK -> OK |
Check that this report definition works by selecting:
Subset Date_Time Range -> Reset from PDB -> OK -> Actions -> Run Report
To return to the report definition, select:
File -> End
Note: To convert the macro name to the item on the pull-down menu, use this table:
Macro Name | Item on Pull-down Menu |
%CPPLOT1 | One Y-Axis Plot |
%CPPLOT2 | Two Y-Axis Plot |
%CPCHART | Bar or Pie Chart |
%CPCHRT | Category Bar Chart |
%CPG3D | 3-D (x,y,z) Plot |
%CPGTPLT | Graph Template |