@yabwon wrote:
Kurt,
Two thoughts if I may:
1) Wouldn't the MODIFY statement do an update "in place" without rewriting dataset?
2) With increasing flag value for new data you will always have to find current maximum value to get the latest data instead just "where flag = 1".
All the best
Bart
If you manipulate the flag variable in the existing data, you will always have to read/write the whole dataset. The increasing flag for new data means that you only have to read the last observation of the existing dataset, and increment that. So my code
reads the last observation of existing; will be very fast
reads/writes the new data to set the flag
reads/writes the new data during append
I don't know if you can use modify to do a pure append, where the existing data is not at least read as a whole.
... View more