| Debugging and Testing DATA Steps |
| Understanding DATA Step
Processing |
| Compilation Phase
At the beginning of the compilation phase, the program data vector is created.
data finance.duejan;
set finance.loans;
Interest=amount*(rate/12);
run;
The program data vector is the area of memory where SAS builds a data set, one observation at a time. The term program data vector refers to a logical concept and does not necessarily reflect the physical storage of data. |
| The program data vector contains two automatic
variables that can be used for processing but are not written to
the data set as part of an observation.
|
| During the compilation phase, SAS also scans each statement
in the DATA step, looking for syntax errors. Syntax errors include:
|
![]() ![]() |
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.