Resolving Common Problems


In addition to correcting spelling mistakes, you might need to resolve several other types of common syntax errors. These errors include
  • omitting semicolons
  • leaving quotation marks unbalanced
  • specifying invalid options.
Another common problem is omitting a RUN statement at the end of a program. Although this is not technically an error, it can produce unexpected results. For the sake of convenience, we'll consider it together with syntax errors.
The table below lists these problems and their symptoms.
Identifying Problems in a SAS Program
missing RUN statement
“PROC (or DATA) step running” at top of active window
missing semicolon
log message indicating ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with O’Reilly online learning.

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