Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables.

Answer Posted / chiranjeevi

data code;
infile'C:\Documents and Settings\admin\Desktop\country.txt';
input state$ district$ county$ population total;
proc sort data=code out=count;
by state district county;
run;
proc print data=count;
run;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of proc sql? : Sas programming

686


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1675


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1752


What do the PUT and INPUT functions do?

883


Describe the ways in which you can create macro variables? : sas-macro

667






explain the concepts and capabilities of business object? : Sas-bi

627


what are some differences between proc summary and proc means? : Sas programming

610


it will become easy if uuu provide website linkssss and list of consultanciessssss

1633


What function CATX syntax does?

777


Mention the difference between ceil and floor functions in sas?

758


What is data _null_?

785


What is interleaving in SAS?

768


How would you define the end of a macro?

793


What are the different types of sas functions?

717


How to create an external dataset with sas code?

673