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 different between functions and PROCs that calculate the same simple descriptive statistics?

1741


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

1006


If a variable contains letters or special characters, can it be numeric data type?

1167


How will you generate test data with no input data?

1120


What are the functions which are used for character handling functions?

1089


Describe the ways in which you can create macro variables? : sas-macro

1024


how many types prompting framework can be broken down to? : Sas-bi

1040


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

1226


how can you import .csv file in to sas? : Sas programming

1053


What do you know about symput and symget?

1172


How to create an external dataset with sas code?

1082


What is by-group processing?

953


how to read the variables in sas? : Sas-administrator

972


how do you pull data from equifax?tell me the process?

1747


what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming

1005