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
What is SAS informats?
What is the work of tranwrd function?
What is the use of PROC gplot?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What function CATX syntax does?
what are all the reports you generated in your recent project?
Explain data_null_?
What are SAS/ACCESS and SAS/CONNECT?
What are the different versions of sas that you have used until now? : sas-grid-administration
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
What are the default statistics for means procedure?
Explain how you can debug and test your SAS program?
Tell me more about the parameters in macro? : sas-macro
Why and when do you use proc sql?
how to generate the test data in sas without input data? : Sas-administrator