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 is the command used to find missing values?
Explain what is SAS informats?
what are sas/access and sas/connect? : Sas programming
how to read the variables in sas? : Sas-administrator
What is the difference between SAS functions and procedures?
What are the default statistics for means procedure?
how will you location sas platform applications available from web browser? : Sas-bi
what is star schema? : Sas-di
Explain why double trailing @@ is used in input statement?
how does sas handle missing values in a merge? : Sas programming
What are the scrubbing procedures in sas?
what is the difference between floor and ceil functions in sas? : Sas-administrator
Explain what Proc glm does?
what does the run statement do? : Sas programming
explain the proc in sas? : Sas-administrator