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

Define run-group processing?

583


Name any two sas spawners? : sas-grid-administration

564


how do you debug and test your sas programs? : Sas programming

566


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1104


What does PROC print, and PROC contents do?

730






Are you involved in writing the inferential analysis plan? Tables specfications?

1748


In proc transpose and data step with arrays which one you pick?

2577


What are the applications primarily used by business analyst? : Sas-bi

556


What is the basic syntax of a sas program?

671


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

1918


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

613


how to do user inputs and command line arguments in sas?

2432


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

946


How do you test for missing values?

1062


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1358