When you start a planned switch from the production system to the backup system, MIMIX does the following:
-
Ends the user production and backup environments on the appropriate systems.
-
Switches the selected data groups.
-
Starts the user production environment on the local (backup) system.
-
Optionally, starts the backup environment on the remote system and starts the selected data groups.
The following table shows the process flow that occurs when the RUNSWTFWK PRC(*BCKUP) TYPE(*PLANNED) command is invoked:
RUNSWTFWK PRC(*BCKUP) TYPE(PLANNED) events |
Success status or messages |
Fail status or messages |
---|---|---|
Check the switch status to determine if the system is in the correct state to run. |
BESD |
LVE8004 |
If associated with a switch definition, end the switch. |
BBEB |
|
Call the ENDBCKUP user program to end backup on the backup system. |
LVE8006 BEBF |
|
Check the local data area for a successful indicator. |
BBEP |
LVE8007 BEBF |
Call the ENDPROD user program to end production on the production system |
LVE8006 BEPF |
|
Check the local data area for a successful indicator. |
BDGD |
LVE8007 BEPF |
End selected data groups. |
BSWT |
LVE8007 BEDG |
Switch selected data groups. |
BSSS |
LVE8003 BESW |
If associated with a switch definition, then run the SETSWTSRC command. |
BBSP |
BSSF LVE8009 |
Call the STRPROD user program to start production on the backup system. |
LVE8006 BSPF |
|
Check the local data area for a successful indicator. |
BCMP |
LVE8007 BSPF |
Optional, if you want to start the data groups. |
BBSB |
|
Call the STRBCKUP user program to start the backup on the original production system. |
BSTR |
LVE8006 BSBF |
Check the local data area for a successful indicator. |
LVE8007 BSBF |
|
Call the DGSELECT user program to determine which data groups to start. |
LVE8003 BEST |
|
Run STRDG command for selected data groups. |
ACMP |