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


Please Help Members By Posting Answers For Below Questions

What are the features of SAS?

569


what r the job openings SAS for fresher graduates !

2007


Briefly explain input and put function?

621


Where do you use proc means over proc freq?

556


How do dates work in sas?

635






Describe what are the different levels of administrative users in sas? : sas-grid-administration

594


what is sas data set?

659


what is sas enterprise intelligence architecture? : Sas-bi

538


what is the difference between floor and ceil functions in sas? : Sas-administrator

696


what can you learn from the sas log when debugging? : Sas programming

603


What is the SAS data set?

669


I need level 2 to 5 sas using companies in india

1919


Explain the difference between informat and format with an example.

676


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1764


Differentiate between format and informat? : sas-grid-administration

574