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

new_data_set ( will have the five variables with variable
names var1, var2, var3, var4, var5)


data new_data_set;
set old_data_set( keep = var1 var2 var3 var4 var5);
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4423


What is the difference between %local and %global? : sas-macro

1119


Have you ever used the SAS Debugger?

1694


explain the concepts and capabilities of business object? : Sas-bi

908


What is data _null_?

1078


What is the use of PROC gplot?

1067


how do you debug and test your sas programs? : Sas programming

1069


List out some key concept of SAS

1043


Tell e how how dealt with..

2169


how would you create multiple observations from a single observation? : Sas programming

952


How do you connect the desktop application to metadata server? : sas-grid-administration

1029


explain about data integrator metadata reports? : Sas-di

1038


What are the default statistics for means procedure?

1168


How long can a macro variable be? A token? : sas-macro

1155


What is a macro routine?

2639