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 / kishore kumar
If ur reading data from any dataset we will use keep option
like set data1(keep = 5 variables);,If ur using in any
procedure just with var statement.If u want to display to
have output with only 5variables out of 100 just use keep
option with data statement.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What are the different types of sas functions?
What Proc glm does?
Give some examples where proc report’s defaults are same as proc print’s defaults?
How do you test for missing values?
Enlist the functions performed by sas.
What is the purpose of _character_ and _numeric_?
what do the pad and dim functions do? : Sas programming
Can you suggest us materials for sdtm mapping?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
why a stop statement is needed for the point= option on a set statement?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
How do you define proc in sas? : sas-grid-administration
How to create list output for cross-tabulations in proc freq?
what does the run statement do? : Sas programming