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

what is intially documentation in sas?

4331


What are the applications primarily used by business analyst? : Sas-bi

551


What is the function of Stop statement in a SAS Program?

642


Explain proc sort?

664


how does sas handle missing values in sort order? : Sas programming

526






In sas admin differentiate between roles and capabilities? : sas-grid-administration

556


what is snowflake schema? : Sas-di

694


Which statement does not perform automatic conversions in comparisons?

1202


What is a method to debug and test your SAS program?

715


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

1766


where to use sas business intelligence? : Sas-bi

576


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

631


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3107


Are you involved in writing the inferential analysis plan? Tables specifications?

3478


Difference between informat and format?

638