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 / anuj verma
data abc;
infile cards flowover;
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;
proc transpose data =abc out= abcd;
run;
proc sort data=abcd; by _name_; run;
proc transpose data =abcd out= abcde;
run;
proc print; run;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between proc means and proc summary.
where to use sas business intelligence? : Sas-bi
Can you suggest us materials for sdtm mapping?
What are the features of SAS?
What do the put and input function do?
Difference between sum function and using “+” operator?
How can sas program be validated?
What is the function of Stop statement in a SAS Program?
What are common programming errors committed in sas
what is metadata? : Sas-bi
What is the use of stop statement?
what is transformation in sas data integration? : Sas-di
What is the command used to find missing values?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
Explain what is the use of proc gplot?