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

if i having variables named a b c d e f ,how to find total of each variable ????give syntax...??

6 Answers   Accenture,


What is maximum number of rows and cols can be handled in SAS?

0 Answers   Signetsoft,


I need level 2 to 5 sas using companies in india

0 Answers  


Explain input and put function?

0 Answers  


What is the maximum length of the macro variable? : sas-macro

0 Answers  


How do you define proc in sas? : sas-grid-administration

0 Answers  


How sas treats the dsd delimiters?

0 Answers  


How do you generate random samples?

5 Answers  


How do you add a number to a macro variable?

2 Answers  


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

0 Answers  


What is a macro routine?

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


Categories