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
Tell e how how dealt with..
Why double trailing @@ is used in input statement?
What is SAS? What are the functions does it performs?
what is hierarchy flattening? : Sas-di
How to create an external dataset with sas code?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
What does proc print, and proc contents are used for?
Give e an example of..
how to debug and test the sas program? : Sas-administrator
What is the work of tranwrd function?
what is sas and what are the functions? : Sas-administrator
I have a dataset concat having variable a b & c. How to rename a b to e & f?
how will you location sas platform applications available from web browser? : Sas-bi
Explain substr function?
How would you include common or reuse to be processed along with your statements?