Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables?
Answers were Sorted based on User's Feedback
Answer / sassss
THE PREVIOUS ANSWER IS WRONG; THE SYNTAX OF PROC SORT IS AS
FOLLOWS
PROC SORT DATA=<DNAME>;
BY <VARNAME/S>;
RUN;
HENCE THE CORRECT ANSWER TO THE QUESTION IS:
proc sort data=x;
BY state district county;
run;
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / chirag patel
Proc Sort Data = x ;
by State District County _Numeric_;
run ;
Is This Answer Correct ? | 1 Yes | 4 No |
Answer / poornima
proc sort data=x;
var state district county;
run;
Is This Answer Correct ? | 0 Yes | 8 No |
what is the purpose of _error_? : Sas programming
what is the difference between %put and symbolgen?
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
describe the interaction table in sas di? : Sas-di
How long can a macro variable be? A token? : sas-macro
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
The Lion King is hosting an animal conference. All the animals in the world attend except one. Which animal does not attend?
What are the main differences between sas versions 8.2, 9.0, 9.1?
How necessary is it to be creative in your work?
What is the difference between SAS Data step and SAS PROC SQL, and which is better?
How many missing values are available? When might you use them?