Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables.
Answer Posted / prakash
data info;
infile 'C:\country.txt';
input $state $district $country population total;
proc sort data=info;
by state district country;
proc print data= info ;
run;
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Mention some common errors that are usually committed in sas programming.
Differentiate between ceil and floor functions.
what is data access? : Sas-di
what is hierarchy flattening? : Sas-di
What is the difference between reading data from an external file and reading data from an existing data set?
Explain substr function?
what is function of retain statment
What will calendar procedure do?
Explain the purpose of substr functions in sas programming.
What is the difference between one to one merge and match merge? Give an example.
explain the proc in sas? : Sas-administrator
What is the difference between nodupkey and nodup options?
how many display types available in sas bi dashboard? : Sas-bi
What’s the difference between var b1 – b3 and var b1 — b3?
What is the basic structure of a sas program?