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 the primary data source for the wrs? : Sas-bi
What is the SAS data set?
describe about physical data integration? : Sas-di
Differences between where and if statement?
How to specify variables to be processed by the freq procedure?
what is enterprise guide? What is the use of it? : Sas programming
How would you identify a macro variable? : sas-macro
what is the effect of the options statement errors=1? : Sas programming
What would be the value of month at the end of data step execution and how many observations would be there?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
what is ae onset date n what is RDS
What does proc print, and proc contents are used for?
what is operational data and operational system? : Sas-di
Explain by-group processing?
how do you pull data from equifax?tell me the process?