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



Code a PROC SORT on a data set containing State, District and County as the primary variables, alon..

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

Code a PROC SORT on a data set containing State, District and County as the primary variables, alon..

Answer / chirag patel

Proc Sort Data = x ;
by State District County _Numeric_;
run ;

Is This Answer Correct ?    1 Yes 4 No

Code a PROC SORT on a data set containing State, District and County as the primary variables, alon..

Answer / poornima

proc sort data=x;
var state district county;
run;

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More SAS Interview Questions

What is run-group processing?

0 Answers  


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

0 Answers   Accenture, Quintiles,


Hi All.I am looking for Good Institute who could Provide the online SAS BI+DI Training along with software.Primarily in Delhi/NCR or in Hyderabad Please help with name and contact number of concerned person!! Thanks in Advance! :)

1 Answers  


Why double trailing @@ is used in input statement?

0 Answers  


explain the concepts and capabilities of business object? : Sas-bi

0 Answers  


Can you excute a macro within a macro? Describe.

3 Answers  


where will go the observations that were deleted by delete statement?

2 Answers  


What versions of SAS have you used (on which platforms)?

0 Answers   Quintiles,


What SAS statements would you code to read an external raw data file to a DATA step?

6 Answers   Accenture,


I have a dataset concat having variable a b & c. How to rename a b to e & f?

0 Answers  


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

0 Answers  


How do dates work in sas?

0 Answers  


Categories