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

yeh neelima is rt...
u will get the variables in the order u mention in the var
statement in proc print.

proc print data =abc;
var a g k m o s t w;
run;

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sas olap server? : Sas-di

681


What is a method to debug and test your SAS program?

706


what do the pad and dim functions do? : Sas programming

557


What are common programming errors committed in sas

663


What are the difference between sas functions and procedures?

631






how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

1646


Explain the main difference between the sas procedures and functions? : Sas-administrator

529


What is by-group processing?

569


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

1604


Explain input and put function?

637


What do you know about sas and what we do? : sas-grid-administration

591


What are the five ways to do a table lookup in sas? : sas-grid-administration

584


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

588


How do you connect the desktop application to metadata server? : sas-grid-administration

573


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1673