Merging SAS Data Sets |
Match-Merge
Processing![]() ![]() |
The Execution Phase: Match-Merging
Observations
After compiling the DATA step, SAS software sequentially match-merges observations by moving the pointers down each observation of each data set and checking to see whether the BY values match.
|
|
When the BY value changes in all the input data sets, the PDV is initialized to missing. |
The DATA step merge continues to process every observation in each data set until it exhausts all observations in all data sets. |
![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.