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
Tell me about % include and % eval? : sas-macro
What does the trace option do?
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
describe how to adjust the performance of data integrator? : Sas-di
How to convert a numeric variable to a character variable?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
How many data types are there in SAS?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
How to limit decimal places for the variable using proc means?
What do you know about sas and what we do? : sas-grid-administration
how do the in= variables improve the capability of a merge? : Sas programming
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
Compare sas with other data analytics tools.