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 is the Population you used in your project, is it ITT or PP?

2737


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

1080


Are you sensitive to code walk-throughs peer review or QC review?

3139


Which statement does not perform automatic conversions in comparisons?

1777


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

2113


name some data transformation used in sas di? : Sas-di

964


To what type of programms have you used scratch macros?

2560


How many ways to overcome a missing values???

2806


what is intially documentation in sas?

5037


Describe crosslist option in tables statement?

1215


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

1072


How many data types are there in SAS?

1074


What is program data vector (pdv) and what are its functions?

1228


What is the use of function Proc summary?

1274


name several ways to achieve efficiency in your program? : Sas programming

1059