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

How do you read in the variables that you need?

Answer Posted / chiranjeevi

using variable control options.
keep:It decides the no. of variable should remain within the
dataset.

syntax:keep<variablelist>;
example:
data code;
input name$ no sal;
keep name sal;
datalines;
a 32 3000
b 56 7000
c 12 7890
run;
proc print data=code;
run;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What makes sas stand out to be the best over other data analytics tools?

1119


Describe the ways in which you can create a macro variable?

1135


what is sas and what are the functions? : Sas-administrator

1035


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1315


How to sort in descending order?

1302


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1591


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

1118


What is a put statement?

1274


What is a macro routine?

2792


Difference between SAS STATA & SPSS?

1181


what are the categories that sas informats are used to the place the data? : Sas-administrator

1097


what is sas application server? : Sas-di

1142


Give some ways by which you can define the variables to produce the summary report (using proc report)?

1136


What does the trace option do?

1163


What is the length assigned to the target variable by the scan function?

1208