Debugging Your SAS Programs

Multiple Choice

Short Answer

Programming Exercises

Multiple Choice

  1.   Using the FIRSTOBS= and OBS= options will control the number of lines of raw data read by which statement?


b.   SET


d.   All of the above

  2.   Writing programs that are easy to read will make your code easier to debug. Which of the following is not just a simple habit that you can use to make programs easier to read?

a.   Placing each statement on a new line

b.   Indenting statements within DATA and PROC steps

c.   Using DO and END statements

d.   Using comments in your program

  3.   Which type of log message will prevent your program from running?

a.   Errors

b.   Warnings

c.   Notes

d.   All of the ...

Get Exercises and Projects for The Little SAS Book, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.