hi guys ...i have one query...
data abc;
input s w k g o t a m;
cards;
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8 9
;
run;
i want the output to be the sorted order(only
variables).observations should not be changed..
Answer Posted / jose av
No need of doing Tedious codes, just use those variables in
the alphabetical order in a LENGTH statement before setting
(before set statement) .Try this..
data abc_01;
length a g k m o s t 3.;
set abc;
run;
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Tell e how how dealt with..
How to limit decimal places for the variable using proc means?
Describe crosslist option in tables statement?
In SAS explain which statement does not perform automatic conversions in comparisons?
Describe the function and utility of the most difficult SAS macro that you have written?
what is enterprise guide? What is the use of it? : Sas programming
What are the scrubbing procedures in sas?
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
If a variable contains only numbers, can it be a character data type?
How to limit decimal places for variable using proc means?
What are the features of SAS?
name some data transformation used in sas di? : Sas-di
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
What are the differences between proc means and proc summary?
what is function of retain statment