A restore mission restores reports from tape or cartridge back to disk. The workflow of the restore mission consists of the following stages:
The Control-V New Day procedure analyzes the basic scheduling criteria of the restore missions and decides which restore missions should be executed on the given day (for example, different restore procedures can be employed for end-of-month processing versus the regular working day). The missions are placed in the Active Missions file.
The user can request a restore by selecting option R on the History User Report list screen. The user is prompted with a list of possible restore missions. After selecting the desired restore mission, the restore request is recorded in the "input queue" of the specified restore mission. In addition, a prerequisite condition is (usually) added to the IOA Conditions file. Each restore mission has at least one prerequisite condition that indicates to the restore mission that a restore is needed.
The monitor analyzes the mission’s runtime scheduling criteria (prerequisite conditions, time constraints, priority, and so on). If all scheduling criteria are met, the restore mission executes. Restore missions are usually triggered by the associated prerequisite condition together with a time interval (for example, two hours between each restore mission).
The restore mission prepares restore parameters for all files in its queue (that is, for all restore requests that have accumulated since the last executed restore).
The restore mission prepares a list of datasets to be restored (and their tape numbers). The list can be in one of the following formats:
DF/DSS
DF/HSM
FDR
Site controlled format
DMS/OS
ASM2
ARCS
Control is passed to either:
A job under the Control-M Production Control System
A job submitted by another production control system
A job submitted from the Control-D monitor
The job restores all the files in the list in a fast and reliable manner since it employs the standard restore procedures used by the site.
The restored User Report entries are copied from the History User Report List file to the Active User Report List file, making them available for online viewing.
After the job finishes, it notifies the Control-D monitor that the restore has been successfully completed, and lists the tape numbers used in the restore process.
Optionally, the monitor adds and/or deletes requested prerequisite conditions and uses the Shout facility to notify appropriate personnel.