Debugging and Testing DATA Steps |
Understanding DATA Step
Processing |
At the beginning of the second iteration, the value of
_N_ is set to 2 and the value of _ERROR_
is reset to 0. Remember, the automatic variable _N_
keeps track of the number of times the DATA step has begun to execute. |
As the SET statement executes, the values from the second observation are written to the program data vector. |
The assignment statement executes again to compute the value for
Interest for the second observation. |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.