SAS Interview Questions

SAS Interview Questions

SAS is the leader in business analytics software and services, and the largest independent vendor in the business intelligence market. SAS helps customers improve performance and deliver value by making better decisions faster.
Important SAS Interview Questions and Answers

  1. What areas of SAS are you most interested in?
  2. Why is SAS considered self-documenting?
  3. Name and describe three SAS functions that you have used, if any?
  4. What do the SAS log messages “numeric values have been converted to character” mean? What are the implications?
  5. What SAS statements would you code to read an external raw data file to a DATA step?
  6. If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?
  7. What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
  8. If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
  9. Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself. ?
  10. If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?
  11. Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.
  12. At compile time when a SAS data set is read, what items are created?
  13. Briefly describe 5 ways to do a “table lockup” in SAS.
  14. What versions of SAS have you used (on which platforms)?
  15. What are some good SAS programming practices for processing very large data sets?
  16. What are some problems you might encounter in processing missing values? In Data steps? Arithmetic? Comparisons? Functions? Classifying data?
  17. What is the order of application for output data set options, input data set options and SAS statements?
  18. How do you debug and test your SAS programs?
  19. What can you learn from the SAS log when debugging?
  20. Have you ever used the SAS Debugger?
  21. What SAS features do you use for error trapping and data validation?
  22. How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What do the SAS log messages “numeric values have been converted to character” mean? What are the implications?

What SAS statements would you code to read an external raw data file to a DATA step?

If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?

What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?

If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself. ?

If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?

Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.

At compile time when a SAS data set is read, what items are created?

Briefly describe 5 ways to do a “table lookup” in SAS.

What versions of SAS have you used (on which platforms)?

What are some good SAS programming practices for processing very large data sets?

What are some problems you might encounter in processing missing values? In Data steps? Arithmetic? Comparisons? Functions? Classifying data?

What is the order of application for output data set options, input data set options and SAS statements?

How do you debug and test your SAS programs?

What can you learn from the SAS log when debugging?

Have you ever used the SAS Debugger?

What SAS features do you use for error trapping and data validation?

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