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 program data vector? : Sas-administrator
Explain bmdp procedure?
what is sas business intelligence? : Sas-bi
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
describe the interaction table in sas di? : Sas-di
What is the difference between input and infile statement?
How do you define proc in sas? : sas-grid-administration
what is SAS OPTIMIZATION?
How would you identify a macro variable?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
What is maximum storage capability of SAS?
Can you execute macro within another macro? : sas-macro
How necessary is it to be creative in your work?
What is the difference between match merge and one to one merge?
What is PDV?