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

Explain the difference between nodup and nodupkey options?

617


how can you create zero observation dataset? : Sas programming

647


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

3073


What would you change about your job?

1933


Can you execute a macro within a macro? Describe. : sas-macro

683






Have you used macros? For what purpose you have used? : sas-macro

572


What are the differences between sum function and using “+” operator?

589


How substr function works in sas?

709


In SAS explain which statement does not perform automatic conversions in comparisons?

807


Explain append procedure?

640


What is the use of divide function?

614


What is a put statement?

671


How would you identify a macro variable?

661


What are the features of SAS?

592


How sas treats the dsd delimiters?

730