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 / imran syed

KEEP statement is the most effective form of code.

keep var-1 var-2 var-3 var-4 var-5;

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out some key concept of SAS

805


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

768


how does sas handle missing values in formats? : Sas programming

829


Explain input and put function?

858


Why and when do you use proc sql?

959


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

741


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

807


Give some examples where proc report’s defaults are different than proc print’s defaults?

799


What are the parameters of scan function?

836


Define run-group processing?

783


How can I remove header from output data set?

2320


explain about data integrator metadata reports? : Sas-di

789


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

756


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?

1877


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2119