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

Describe the function and utility of the most difficult SAS macro that you have written?

2259


Explain the use of proc gplot? : sas-grid-administration

763


What is the function of output statement in a SAS Program?

813


What do you understand by the term Normal Distribution?

759


Can you explain the process of calendar?

856


Explain input and put function?

868


Where do you use proc means over proc freq?

763


Differentiate between proc means and proc summary.

783


What are the prime responsibilities of data integration administrator? : Sas-di

814


What’s the difference between var b1 – b3 and var b1 — b3?

1058


What is the general format of function in sas? : sas-grid-administration

772


what are all the reports you generated in your recent project?

1949


What are the automatic variables for macro? : sas-macro

862


how can you create zero observation dataset? : Sas programming

884


Explain append procedure?

835