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


Please Help Members By Posting Answers For Below Questions

Tell me about % include and % eval? : sas-macro

680


What does the trace option do?

669


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1668


describe how to adjust the performance of data integrator? : Sas-di

566


How to convert a numeric variable to a character variable?

634






I have a dataset concat having variable a b & c. How to rename a b to e & f?

583


How many data types are there in SAS?

634


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

585


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.

1463


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

549


How to limit decimal places for the variable using proc means?

604


What do you know about sas and what we do? : sas-grid-administration

606


how do the in= variables improve the capability of a merge? : Sas programming

936


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2268


Compare sas with other data analytics tools.

585