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 are the new features included in the new version of SAS Programming Language?
What is the basic structure of a sas program?
How would you define the end of a macro? : sas-macro
I need level 2 to 5 sas using companies in india
what is sas application server? : Sas-di
Are you involved in writing the inferential analysis plan? Tables specifications?
Explain the difference between informat and format with an example.
Explain the use of proc print and proc contents?
What are pdv and it functions?
describe about metadata object? : Sas-di
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
Give some examples where proc report’s defaults are same as proc print’s defaults?
Which date function advances a date, time or datetime value by a given interval?
how does sas handle missing values in sort order? : Sas programming
what is metadata? : Sas-bi