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...

If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?

Answer Posted / ganesh

We can either use keep or drop option for selecting those
five variables.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1064


What is the difference between one to one merge and match merge? Give an example.

1011


How do you test for missing values?

1590


What are the different servers in sas? : sas-grid-administration

1021


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

2079


Explain the difference between informat and format with an example.

1135


how the sas basic syntax style described? : Sas-administrator

981


What is run-group processing?

1106


What does the trace option do?

1065


what do the pad and dim functions do? : Sas programming

981


What are the default statistics for means procedure?

1189


explain what is factor analysis? : Sas-administrator

1063


Why double trailing @@ is used in input statement?

1173


explain about sas business intelligence? : Sas-bi

1089


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

2168