SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Debugging and Testing DATA Steps
Understanding DATA Step Processing


Execution Phase

At the bottom of the DATA step, the values in the program data vector are written to the data set as the second observation.


PDV writes 2nd observation to new data set

Second, control returns to the top of the DATA step. Third, SAS retains the values of variables that were read from a SAS data set with the SET statement, or that were created by a sum statement. All other variable values, such as the variable Interest, are set to missing.


Second iteration is complete.


back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement