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 r the job openings SAS for fresher graduates !

0 Answers   TetraSoft, Wipro,


what is proc Index? and what is proc document?

0 Answers   Mind Tree,


Name statements that function at both compile and execution time?

1 Answers  


What is the difference between input and infile statement?

0 Answers  


what is the difference between proc report and proc format?

7 Answers   CTS,






what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

0 Answers  


how many display types available in sas bi dashboard? : Sas-bi

0 Answers  


explain about data integrator metadata reports? : Sas-di

0 Answers  


how can you import .csv file in to sas? : Sas programming

0 Answers  


Do you need to rearrange the order of the data for the report?

0 Answers  


how do u validate sas program

3 Answers   Accenture,


how do you read binary data in sas?

3 Answers   Satyam,


Categories