Standard restore missions (when the TASKTYPE parameter is set to RST) are scheduled to the Active Missions file and execute once (unless manually rerun).
Normally you will define restore missions as being "cyclic" by setting the TASKTYPE parameter to CRS. This means that the mission can have multiple executions rather than just one. The flow of a cyclic mission is that the mission is scheduled to the Active Missions file. The mission executes at a specific point based on time and dependency parameters, and when it completes it is rescheduled for another potential execution. Using this method, a Restore Mission can have multiple executions.
Example
CATEGORY PROD MISSION RST0060M
OWNER M90 TASKTYPE CRS GROUP ADMIN
DESC RESTORES SELECTED REPORTS EVERY HOUR
DESC
===========================================================================
DAYS ALL DCAL
AND/OR
WDAYS WCAL
MONTHS 1- Y 2- Y 3- Y 4- Y 5- Y 6- Y 7- Y 8- Y 9- Y 10- Y 11- Y 12- Y
DATES
CONFCAL SHIFT RETRO N MAXWAIT 00
MINIMUM PDS
===========================================================================
IN
TIME FROM 0800 TO 1900 NOT LATER THAN PRIORITY INTERVAL 060
===========================================================================
OUT
SHOUT WHEN TO URGN
MSG
======= >>>>>>> END OF RESTORE MISSION PARAMETERS OF THIS CATEGORY <<<<<< ====
In the definition above, we specify that the restore mission should restore all reports (for this mission) at an hourly interval between 0800 and 1900 hours. This means that the restore mission will execute at an hourly interval between the specified times to check if any reports should be restored.
Note: You should by now have defined and implemented the restore procedures.
Parent Topic |