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
How do you delete duplicate observations in sas?
How would you determine the number of missing or nonmissing values in computations?
What does PROC print, and PROC contents do?
In proc transpose and data step with arrays which one you pick?
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
Explain what is data step?
What is the SAS data set?
Which command is used to save logs in the external file?
what is sas application server? : Sas-di
Mention sas system options to debug sas macros.
Give an example where SAS fails to convert character value to numeric value automatically?
Mention the category in which sas informats are placed?
what is operational data and operational system? : Sas-di
Briefly explain input and put function?
What are SAS/ACCESS and SAS/CONNECT?