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 SAS? What are the functions does it performs?

1246


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

1220


Mention what is the difference between nodupkey and nodup options?

1058


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1136


What is the SAS data set?

1175


why is sas considered self-documenting? : Sas programming

1186


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

1041


What is factor analysis?

1197


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1199


What do you code to create a macro? : sas-macro

1189


How do you use the do loop if you don’t know how many times you should execute the do loop?

1299


Explain the use of proc gplot? : sas-grid-administration

1042


What is the use of function Proc summary?

1344


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2428


How to include or exclude specific variables in a data set?

1164