Section
1, Task 3: Create a Test PDB and
Process, Reduce, and Report on Data Action 3: Generate one or more reports on the data in your test PDB |
|
From the PROGRAM EDITOR window, submit code that is similar to this code for the fax example. Then save the code as a file.
GOPTIONS reset=title reset=footnote DEVICE=XCOLOR COLORS=(WHITE RED BLUE); TITLE1 "Pages sent or received"; %CPPLOT1(UFAXES, PAGES, Pages sent/rec ,STAT=MEAN ,PERIOD=24HOUR ,BY=MACHINE ,XVAR=DATETIME ,XLAB=Date ,TYPE=STACK ,REDLVL=DETAIL ,OUTMODE=GRAPHCAT ,OUTLOC=ADMIN.CPEGRAFS #1 ,OUTDESC=FAX PAGING REPORT ,OUTNAME=FXPAGES);
Notes:
To save follow this path for the SAS window:
File -> Save as
You may want to save this report macro before submitting it, or you will have to recall the text from the PROGRAM EDITOR window.