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

data set options keep is best and using proc sql is also.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what are the data types does SAS contain?

946


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

860


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1555


how to remove duplicates using proc sql?

902


Mention the category in which sas informats are placed?

823


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

919


Explain the use of proc gplot? : sas-grid-administration

798


what has been your most common programming mistake? : Sas programming

826


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

863


What is the maximum length of the macro variable? : sas-macro

878


What is your favorite all time computer book? Why?

2283


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

799


What is the difference between input and infile statement?

915


Explain how you can debug and test your SAS program?

775


How to include or exclude specific variables in a data set?

905