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 / purnimaprasad

Use keep statement to keep only 5 variables out of 100
variables

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between input and infile statement?

915


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

858


How would you define the end of a macro?

909


Explain the use of proc gplot? : sas-grid-administration

797


What Proc glm does?

877


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1555


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

795


How to create an external dataset with sas code?

834


What are the functions which are used for character handling functions?

867


what is metadata? : Sas-bi

818


how to remove duplicates using proc sql?

900


how would you create multiple observations from a single observation? : Sas programming

804


describe about metadata object? : Sas-di

857


Name some categories in sas 9? : sas-grid-administration

768


where are dashboard components are created and maintained? : Sas-bi

818