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
what is the function of catx syntax? : Sas-administrator
What are the difficulties u faced while doing vital signs table or dataset?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
why is sas data integration studio important? : Sas-di
Explain proc univariate?
Give e an example of..
Name types of category in which SAS Informats are placed?
What is the use of the %include statement?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
What is the purpose of trailing @ and @@? How do you use them?
how does sas handle missing values in formats? : Sas programming
Differentiate between format and informat? : sas-grid-administration
Mention the validation tools used in SAS?