|
Raul -
If you mean to order the fields on the data vector you can use a retain
statement before the set statement...
Data stuff;
Retain Field1 Field2 Field3 Field4 Field5 Field6 Field7;
Set stuff;
If you mean to sort data within the fields then you want Proc sort-
Proc sort data=stuff out=stuff;
By Field1 Field2 Field3 Field4 Field5 Field6 Field7;
Hth
Paul Choate
DDS Data Extraction
(916) 654-2160
-----Original Message-----
From: Bezares, Raul [mailto:raul.bezares@CITIGROUP.COM]
Sent: Wednesday, November 26, 2003 10:23 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: sorting fields in output table
Hello all,
I would like to know how to sort the fields in a certain output table ?
For instance, the current sorting is:
"Field6 Field4 Field3 Field1 Field2 Field7 Field5"
and I would like they were like:
"Field1 Field2 Field3 Field4 Field5 Field6 Field7"
Suggestions?
Thanks in advance,
Raul.
|