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

What is the difference between the proc sql and data step?

873


how can you put a "trace" in your program? : Sas programming

802


what is data integration? : Sas-di

842


what are input dataset and output dataset options? : Sas programming

792


What is factor analysis?

851


What is the maximum and minimum length of macro variable

908


For what purposes have you used sas macros? : sas-macro

756


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1919


What are the new features included in the new version of SAS Programming Language?

949


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

2304


What is the basic structure of a sas program?

804


What can you learn from the SAS log when debugging?

1110


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

898


How sas treats the dsd delimiters?

942


Explain append procedure?

829