If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?

Answer Posted / john sikha

Use keep followed by variables you required

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are input dataset and output dataset options? : Sas programming

561


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

538


What is the difference between match merge and one to one merge?

688


hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

4907


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

2597






what is information maps?

1612


How can you create a macro variable with in data step? : sas-macro

572


Explain the use of proc print and proc contents?

556


How is character variable converted into numeric variable and vice versa?

593


how to debug and test the sas program? : Sas-administrator

569


Explain what is data step?

727


What is PDV?

723


how can you import .csv file in to sas? : Sas programming

636


what are several options for creating reports in web report studio? : Sas-bi

628


What is the role of administrative users? : sas-grid-administration

657