When you start the switch back to the production system from the backup system, MIMIX does the following:
-
Ends the user production and backup environments on the appropriate systems.
-
Switches and starts the selected data groups.
-
Starts the production environment on the remote system.
-
Optionally, starts the backup environment and data groups on the appropriate systems.
In the following table shows the process flow that occurs when the RUNSWTFWK PRC(*PROD) command is invoked:
RUNSWTFWK PRC(*PROD) 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. |
PBEB |
LVE8004 |
Call the ENDBCKUP user program to end backup on the production system. |
LVE8006 PEBF |
|
Check the local data area for a successful indicator. |
PBEP |
LVE8007 PEBF |
Call the ENDPROD user program to end production on the backup system. |
LVE8006 PEPF |
|
Check the local data area for a successful indicator. |
PDGD |
LVE8007 PEPF |
End selected data groups. |
PSWT |
LVE8007 PEDG |
Call SWTDG on the selected data groups or switch the selected data groups. |
PSSS |
LVE8003 PESW |
If there is an associated switch definition, then run the SETSWTSRC command |
PBSP |
LVE8009 PSSF |
Call the STRPROD user program to start production on the production system. |
LVE8006 PSPF |
|
Check the local data area for a successful indicator. |
PSPC |
LVE8007 PSPF |
Optional if you want to start the data groups |
PBSB |
|
Call the STRBCKUP user program to start backup on the backup system. |
LVE8006 PSBF |
|
Check the local data area for a successful indicator. |
PSTR |
LVE8007 PSBF |
Call the DGSELECT user program to determine which data groups to start. |
LVE8003 PEST |
|
Call STRDG on selected data groups. |
PSSD |
|
If associated with a switch definition, then start the switch. |
PCMP |