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

Answer Posted / pallavi

data abc;
infile 'c:\country.txt';
input &state &district &country population total:
proc sort data=abc:
by state district country;
proc print data=abc;
run;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain about various caches available in data integrator? : Sas-di

675


What is the difference between input and infile statement?

773


why is a stop statement needed for the point=option on a set statement? : Sas programming

689


Do you need to know if there are any missing values?

687


If you could design your ideal job, what would it look like?

2479






How to limit decimal places for the variable using proc means?

698


what is sas and what are the functions? : Sas-administrator

620


what is treatment emergent events and treatment emregent adverse event

2022


For what purpose would you use the RETAIN statement?

1150


explain the function of substr in sas? : Sas-administrator

660


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?

1858


name some data transformation used in sas di? : Sas-di

638


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

667


what are the considerations when picking a SAS/STAT procedure?

2994


What is the difference between match merge and one to one merge?

781