Chapter Contents

Previous

Next

Definitions

SAS performs error processing during both the compilation and the execution phases of SAS processing. You can debug SAS programs by understanding processing messages in the SAS log and then fixing your code. You can use the DATA Step Debugger to detect logic errors in a DATA step during execution.

SAS recognizes five types of errors.

This type of error ... occurs when ... and is detected at ...
syntax programming statements do not conform to the rules of the SAS language compile time
semantic the language element is correct, but the element may not be valid for a particular usage compile time
execution-time SAS attempts to execute a program and execution fails execution time
data data values are invalid execution time
macro-related you use the macro facility incorrectly macro compile time or execution time, DATA or PROC step compile time or execution time








Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.