How do you read in the variables that you need?

Answer Posted / kumaraswamy maduri

Use KEEP or DROP depending on the number of varibales you
require.

Keep: Out of 50 if you require to keep 20 variables it
better to use keep.
Drop: It meaning less to use KEEP when you want to use 35-
40 variables. Its better to drop the remaining variables.
Both mean same but efficient coding is always preffered.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the length assigned to the target variable by the scan function?

901


Name types of category in which SAS Informats are placed?

934


What is the function of Stop statement in a SAS Program?

890


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

777


What is the difference between where and if statement?

826


What is the maximum length of the macro variable? : sas-macro

852


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

884


What does PROC print, and PROC contents do?

968


what techniques and/or procs do you use for tables? : Sas programming

795


Can you execute macro within another macro? : sas-macro

746


What do the PUT and INPUT functions do?

1007


how are numeric and character missing values represented internally? : Sas programming

862


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

772


What is the purpose of trailing @ and @@? How do you use them?

787


Describe a time when you were really stuck on a problem and how you solved it?

2422