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

Describe the function and untility of the most difficult SAS macro that you have written.

2217


Name any two sas spawners? : sas-grid-administration

1039


Explain what is the use of proc gplot?

1198


Describe what are the different levels of administrative users in sas? : sas-grid-administration

1038


What is the difference between where and if statement?

1114


What will calendar procedure do?

1075


What is the difference between SAS functions and procedures?

1152


Are you involved in writing the inferential analysis plan? Tables specfications?

2224


How do dates work in sas?

1139


What is the maximum and minimum length of macro variable

1254


Did you used proc test? when?

2040


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1792


What do you know about symput and symget?

1248


What are the limitations for memory allocation for SAS variables

1492


Why double trailing @@ is used in input statement?

1222