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
Give some examples where proc report’s defaults are different than proc print’s defaults?
How would you define the end of a macro?
what is ae onset date n what is RDS
What is the role of sas grid administrator? : sas-grid-administration
What are the difference between the sas data step and sas procs?
Explain data_null_?
How do you delete duplicate observations in sas?
Have you ever used the SAS Debugger?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
What is the difference between INPUT and INFILE ?
Differentiate between format and informat? : sas-grid-administration
how the sas basic syntax style described? : Sas-administrator
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
What is program data vector (pdv) and what are its functions?