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

How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1367


What system options would you use to help debug a macro? : sas-macro

1094


Explain the difference between nodup and nodupkey options?

1025


what is sas metadata repository? : Sas-bi

1115


What commands are used in the case of including or excluding any specific variables in the data set?

1093


Explain bmdp procedure?

1033


explain what is factor analysis? : Sas-administrator

1112


Can you execute a macro within a macro? Describe. : sas-macro

1107


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1941


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2178


How do dates work in sas?

1134


how do the in= variables improve the capability of a merge? : Sas programming

1436


how could you generate test data with no input data? : Sas programming

1185


Do you need to rearrange the order of the data for the report?

2306


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

1000