Chapter Contents |
Previous |
Next |
The SORT Procedure |
Procedure features: |
| ||||
Other features: |
| ||||
Data set: | ACCOUNT |
Program |
options nodate pageno=1 linesize=80 pagesize=60;
proc sort data=account out=towns nodupkey; |
by town; run; |
proc print data=towns; |
var town company debt accountnumber; title 'Towns of Customers with Past-Due Accounts'; run; |
Output |
The output data set contains only four observations, one for each town in the input data set. | |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.