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

How we can create SAS USER DEFINED CODE?

0 Answers  


Of all your work, where have you been the most successful?

0 Answers   Oracle, Six Sigma,


What is the difference between verification and validation?

9 Answers   Oracle,


what are methods to identify duplicate observations?

5 Answers   HCL,


what are the scrubbing procedures in sas? : Sas programming

0 Answers  


What is LAG function?How is it used? can any one explain

3 Answers   TRE, Verinon Technology Solutions,


What is the difference between nodup and nodupkey options?

20 Answers   iFlex, Makro, Talwar,


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

0 Answers  


What is the sas data set? : sas-grid-administration

0 Answers  


What is Tabulate.?Why we use it.? Which type of output we get from Tabulate.?

3 Answers   TCS,


what techniques and/or procs do you use for tables? : Sas programming

0 Answers  


Categories