O'Reilly logo

SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Resolving Common Problems

Overview

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
Problem
Symptom
missing RUN statement
“PROC (or DATA) step running” at top of active window
missing semicolon
log message indicating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required