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
Give e an example of..
What are the statements in proc sql?
How we can create SAS USER DEFINED CODE?
What is the function of Stop statement in a SAS Program?
What are the differences between sum function and using “+” operator?
What are the data types does SAS contain?
what is star schema? : Sas-di
Which are the statements whose placement in the data step is critical?
why a stop statement is needed for the point= option on a set statement?
What is a macro routine?
how does sas handle missing values in formats? : Sas programming
what techniques and/or procs do you use for tables? : Sas programming
Of all your work, where have you been the most successful?
What can you learn from the SAS log when debugging?
what is sas metadata server? : Sas-di