Chapter Contents |
Previous |
Next |
The PRINT Procedure |
Procedure features: |
| ||
Other features: | SORT procedure | ||
Data set: | EXPREV |
Program |
options nodate pageno=1 linesize=70 pagesize=60;
proc sort data=exprev; by region state; run; |
proc print data=exprev n noobs; |
by region state; sum expenses revenues; |
label region='Sales Region'; format revenues expenses comma10.; title 'Revenue and Expense Totals for Each State and Region'; run; |
Output |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.