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 / neelima

simple..in the proc print statement use VAR statement and
give the variables in ur order...u'll get the ouput with
variables ordered in ur VAR statement..

Is This Answer Correct ?    12 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you debug and test your sas programs? : Sas programming

566


Can you explain the process of calendar?

643


How to create an external dataset with sas code?

590


Mention the validation tools used in SAS?

658


Which are the statements whose placement in the data step is critical?

764






How do dates work in SAS data?

690


Are you involved in writing the inferential analysis plan? Tables specifications?

3482


Are you involved in writing the inferential analysis plan? Tables specfications?

2118


where to use sas business intelligence? : Sas-bi

582


What is the difference between class statement and by statement in proc means?

663


What can you learn from the SAS log when debugging?

921


Explain proc sort?

673


How can you create a macro variable with in data step? : sas-macro

578


How do you add a number to a macro variable? : sas-macro

546


What does P-value signify about the statistical data?

856