How do you read in the variables that you need?
Answer Posted / purushotham
I think KEEP option would be the better way to read the
variables that we need. But it's again depends upon how
many number of variables that you want to read from the
input dataset.
Let's say there are 30 variables in data set and you want
to read all the variables except 5 variables from the input
dataset. Then it's efficient to use DROP option to drop
those 5 variables instead of mentioning all 25 variables at
KEEP option.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what are sas/access and sas/connect? : Sas programming
What is the role of unrestrictive users? : sas-grid-administration
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
Approximately what date is represented by the SAS date value of 730?
What does the RUN statement do?
What is factor analysis?
What’s the difference between var b1 – b3 and var b1 — b3?
what is the purpose of _error_? : Sas programming
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
how would you create multiple observations from a single observation? : Sas programming
What do you understand by the term Normal Distribution?
do you prefer proc report or proc tabulate? Why? : Sas programming
What is the basic structure of the SAS base program?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
Mention the validation tools used in SAS?