Date: Wed, 20 Dec 2006 13:50:33 -0500
Reply-To: kreg Z <kregzim@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: kreg Z <kregzim@GMAIL.COM>
Subject: My first Post: Sorting on Proc Format'ed data
I want to sort a variable that I formatted with a Proc Format, but its not
sorting as I wish. It appears to be sorting on the underlying value. How do
I change that?
My Proc Format looks like this (the original value is numeric)
Proc Format;
Value AdrTyp
27 = '06 Business'
28 = '02 Day Care'
29 = '01 Homeless'
30 = '05 Penal Institution'
31 = '07 Permanent Mailing Address'
32 = '09 Residence'
6271 = '08 Residence 2'
6272 = '04 Other Mailing'
6273 = '03 Common';
run;
It won't sort as '01...', '02...', etc. I'd like it to sort on the new
format.
Super new at SAS. I searched the archives and didn't find anything.