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 / surendra
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;
proc transpose data=abc out=bca;
var s w k g o t a m;
run;
proc sort data=bca;
by _name_;
run;
proc transpose data=bca out=mca(drop=_name_);
id _name_;
var col1 col2;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
explain the difference between proc means and proc summary?
what are the component of range? : Sas-bi
What is SAS?
What is substr function?
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
What are the scrubbing procedures in sas?
Explain proc sort?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
What Proc glm does?
what is the function of catx syntax? : Sas-administrator
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
Differentiate between ceil and floor functions.
How to limit decimal places for the variable using proc means?
how does sas handle missing values in assignment statements? : Sas programming
How substr function works in sas?