Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables?
Answer Posted / sassss
THE PREVIOUS ANSWER IS WRONG; THE SYNTAX OF PROC SORT IS AS
FOLLOWS
PROC SORT DATA=<DNAME>;
BY <VARNAME/S>;
RUN;
HENCE THE CORRECT ANSWER TO THE QUESTION IS:
proc sort data=x;
BY state district county;
run;
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
What is the difference between reading data from an external file and reading data from an existing data set?
Are you involved in writing the inferential analysis plan? Tables specfications?
Do you need to know if there are any missing values?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
What are the difference between ceil and floor functions in sas?
for what purpose would you use the retain statement? : Sas programming
What is the difference between class statement and by statement in proc means?
Why and when do you use proc sql?
Explain how you can debug and test your SAS program?
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
what do the pad and dim functions do? : Sas programming
What is PROC in SAS?
what is sas olap server? : Sas-di
what are the types of interactive display types? : Sas-bi