How do you read in the variables that you need?

Answer Posted / murray

I believe it is more efficient to use the KEEP statement on
the input data set, as only required variables are read into
the PDV. This is also true for the WHERE statement.

For small data sets the difference is of course negligible,
however it is always good to practice efficient programming.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention few capabilities of sas framework.

799


how can you create zero observation dataset? : Sas programming

758


what is the basic structure sas administrator? : Sas-administrator

655


How to create a permanent sas data set?

765


Which date function advances a date, time or datetime value by a given interval?

763






Explain how merging helps to combine data sets.

705


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

648


What is program data vector (pdv)?

735


How do you define proc in sas? : sas-grid-administration

775


what is the difference between floor and ceil functions in sas? : Sas-administrator

807


How many data types are there in SAS?

727


how do the in= variables improve the capability of a merge? : Sas programming

1046


What do the SAS log messages "numeric values have been converted to character" mean?

983


What do you code to create a macro? : sas-macro

677


What are the five ways to do a table lookup in sas? : sas-grid-administration

690