Three-Phase Model
Status management and the programs involved (cross-archiving-object check program, write and confirmation programs, and cross-archiving-object delete program) interact as follows:
-
First, the cross-archiving-object check program checks the data objects that have been selected by the preselection function module (step 1) for archivability and deletability. Where appropriate it sets the status combination A rchivable (l1100) + Deleted (l1102) (step 2).
You can schedule the cross-archiving-object check program in Archive Administration using Check/Delete .
-
In the next phase, the write program selects all data objects that have the status Archivable and writes them to the archive (steps 3 and 4).
You can schedule the write program also in Archive Administration.
-
The confirmation program now reads the archive files and, if the write phase was successful, sets the status Archived (l1101) in status management (steps 5 and 6).
-
Finally, the cross-archiving-object delete program selects all data objects that have the status Archived or Deleted , and deletes them from the database (steps 7 and 8).
You can schedule the cross-archiving-object check program in Archive Administration using Check/Delete .
You can schedule the phases Check (steps 1 and 2), Replicate (Steps 3 to 6) and Delete (steps 7 and 8) to run at different times.