Features: |
|
Other features: |
TITLE statement WHERE statement |
Data set: | GROCERY |
Formats: | $MGRFMT |
libname proclib
'SAS-library';
options fmtsearch=(proclib);
proc report data=grocery nowd named wrap ls=64 ps=36 outrept=proclib.reports.namewrap;
column sector manager department sales;
define sector / format=$sctrfmt.; define manager / format=$mgrfmt.; define department / format=$deptfmt.; define sales / format=dollar11.2;
where manager='1';
title "Sales Figures for Smith on &sysdate"; run;
define sector / format=$sctrfmt.; define manager / format=$mgrfmt.; define department / format=$deptfmt.; define sales / format=dollar11.2;
options fmtsearch=(proclib);
proc report data=grocery report=proclib.reports.namewrap nowd; where sector='sw'; title "Sales Figures for the Southwest Sector on &sysdate"; run;