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

My guess is using data set option i.e keep
it is used for it decides the no. of variable should remain
with in the dataset
keep<variable list>

2)var statement
it is a keyword or statement used to specify the analysis
variables.The analysis variables are those,which is required
to be restructured.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Compare sas with other data analytics tools.

585


What would you change about your job?

1929


Differentiate input and infile.

596


What Proc glm does?

610


how do you want missing values handled? : Sas programming

536






Which command is used to save logs in the external file?

572


What versions of SAS have you used (on which platforms)?

1017


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

1886


What are all the problems you faced while validating tables and reports?

3016


Difference between SAS STATA & SPSS?

683


what is snowflake schema? : Sas-di

698


How sas treats the dsd delimiters?

726


Difference between informat and format?

642


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

560


What is the maximum and minimum length of macro variable

657