If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?

Answer Posted / chiranjeevi

My guess is using data set option i.e keep
it is used for it decides the no. of variable should remain
with in the dataset
keep<variable list>

2)var statement
it is a keyword or statement used to specify the analysis
variables.The analysis variables are those,which is required
to be restructured.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what type of graphs we will create(for 2+years candidates)?

1906


What do the mod and int function do? : Sas programming

582


name some data transformation used in sas di? : Sas-di

546


What is proc sort?

719


How to convert a numeric variable to a character variable?

633






name several ways to achieve efficiency in your program? : Sas programming

571


What is the basic syntax of a sas program?

671


what is treatment emergent events and treatment emregent adverse event

1941


How necessary is it to be creative in your work?

2021


What does the trace option do?

666


what are sas bi dashboard components? : Sas-bi

660


Explain the difference between informat and format with an example.

686


Differentiate between format and informat? : sas-grid-administration

580


name the scheduler for scheduling job and explain the scheduler? : Sas-di

592


What are the data types in sas?

608