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 the role of unrestrictive users? : sas-grid-administration

1011


What is the difference between the proc sql and data step?

1181


Mention what are the data types does SAS contain?

1153


How necessary is it to be creative in your work?

2476


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

1145


what is program data vector? : Sas-administrator

1080


What are the different versions of sas that you have used until now? : sas-grid-administration

1341


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

2253


why a stop statement is needed for the point= option on a set statement?

1080


What is program data vector (pdv)?

1299


How to specify variables to be processed by the freq procedure?

1077


What is the difference between match merge and one to one merge?

1252


how sas deals with business intelligence? : Sas-bi

1056


What are the difference between the sas data step and sas procs?

1187


What are the five ways to do a table lookup in sas? : sas-grid-administration

1064