data account; input Company $ 1-22 Debt 25-30 AccountNumber 33-36 Town $ 39-51; datalines; Paul's Pizza 83.00 1019 Apex World Wide Electronics 119.95 1122 Garner Strickland Industries 657.22 1675 Morrisville Ice Cream Delight 299.98 2310 Holly Springs Watson Tabor Travel 37.95 3131 Apex Boyd & Sons Accounting 312.49 4762 Garner Bob's Beds 119.95 4998 Morrisville Tina's Pet Shop 37.95 5108 Apex Elway Piano and Organ 65.79 5217 Garner Tim's Burger Stand 119.95 6335 Holly Springs Peter's Auto Parts 65.79 7288 Apex Deluxe Hardware 467.12 8941 Garner Pauline's Antiques 302.05 9112 Morrisville Apex Catering 37.95 9923 Apex ; run; proc sort data=account out=sorted; by town descending debt accountnumber; */ Can list more than one variables to sort Option 'descending' in front of the variable 'debt' to sort in descending order. ; run; proc print data=sorted; var company town debt accountnumber; title 'Customers with Past-Due Accounts'; title2 'Listed by Town, Amount, Account Number'; run; data pressure; input SBPbefore SBPafter @@; datalines; 120 128 124 131 130 131 118 127 140 132 128 125 140 141 135 137 126 118 130 132 126 129 127 135 ; run; proc ttest; paired SBPbefore*SBPafter; run;