Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 / lakshmi

proc sort data=data1 out=data2;
by district state country;
run;

Is This Answer Correct ?    7 Yes 0 No

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

Answer / chiranjeevi

data code;
infile'C:\Documents and Settings\admin\Desktop\country.txt';
input state$ district$ county$ population total;
proc sort data=code out=count;
by state district county;
run;
proc print data=count;
run;

Is This Answer Correct ?    5 Yes 1 No

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

Answer / radhika rakesh

here some step has syntax errors lik in input statement its
mentioned as $ state and so but correct form is state $...

Is This Answer Correct ?    4 Yes 0 No

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

Answer / swarup

Proc Sort data=data1 out=data2;
By State District County _numeric_;
Run;

Is This Answer Correct ?    3 Yes 0 No

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

Answer / pallavi

data abc;
infile 'c:\country.txt';
input &state &district &country population total:
proc sort data=abc:
by state district country;
proc print data=abc;
run;

Is This Answer Correct ?    3 Yes 2 No

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

Answer / prakash

data info;
infile 'C:\country.txt';
input $state $district $country population total;
proc sort data=info;
by state district country;
proc print data= info ;
run;

Is This Answer Correct ?    3 Yes 4 No

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

Answer / daya

data daya;
infile 'c:\country.txt';
input &state &district &country population total:
proc sort data=daya:
by state;
proc print data=daya;
run;

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SAS Interview Questions

Explain data step in SAS

0 Answers  


We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B

3 Answers  


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

0 Answers  


If i doest required Cumilative frequency in my table, generated by using PROC FREQ what i had to do?

8 Answers   HCL,


How to do user inputs and command line arguments in SAS? D&B

2 Answers   BoA, Quintiles,


Mention how to limit decimal places for the variable using proc means?

0 Answers  


What r all the reporting procedures...?

3 Answers  


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?

3 Answers  


what can you learn from the sas log when debugging? : Sas programming

0 Answers  


CHOOSE ANY ONE OF THE PROCEDURE FOLLOWING TO GENERATE THE REPORTS? HOW CAN YOU SAY IT IS BETTER THAN THE OTHER? AND DEFERENCIATE THESE TWO ? 1). REPORT PROCEDURE 2). TABULATE PROCEDURE

4 Answers   CybAge,


what are the component of range? : Sas-bi

0 Answers  


In proc transpose and data step with arrays which one you pick?

0 Answers   Accenture, Quintiles,


Categories