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 / m.sivakumar
ata 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=atranabc;
run;
proc print;
title 'Simple Example of PROC TRANSPOSE';
run;
proc sort data=atranabc;
by _name_;
run;
proc print;
run;
proc transpose data=atranabc out=sortabc(drop=_name_);
run;
proc print data=sortabc;
run;
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
How can I remove header from output data set?
Do you need to know if there are any missing values?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
Mention some common errors that are usually committed in sas programming.
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
What are pdv and it functions?
How to limit decimal places for variable using proc means?
What is a method to debug and test your SAS program?
explain the concepts and capabilities of business object? : Sas-bi
How does proc sql work?
How do you debug and test your SAS programs?
How to limit decimal places for the variable using proc means?
How to specify variables to be processed by the freq procedure?
what is hash files in sas and why we are using this one in sas?