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 / natraj

In data step and Proc step you can use the data set options
such as KEEP= / DROP= .

ex: data xxx (keep=a); or data xxx ( drop= b c);
run;
proc print data=xxx (keep=a) or ( drop= b c);
run;
you can use the VAR STATEMENT in PRINT PROCEDURE to list
the desired varibles;

ex: proc print data= xxx;
var a ; /* put your desired variables */
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what r the job openings SAS for fresher graduates !

2402


Why and when do you use proc sql?

1202


Which statement does not perform automatic conversions in comparisons?

1728


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

1122


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1576


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1716


What is the difference between INPUT and INFILE ?

1263


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1057


how to do user inputs and command line arguments in sas?

2999


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1032


what are the benefits of data integration? : Sas-di

1043


What is PDV?

1109


What are the differences between proc means and proc summary?

1090


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1853


do you need to know if there are any missing values? : Sas programming

1007