When a communication file (subsystem-to-monitor, or monitor-to-subsystem) has to be reformatted as a result of a disk crash, or a similar failure, all the communication files should be reformatted. Follow the steps below to restore the communication file:
Stop the Control‑M monitor.
If Control‑O is installed and active, stop the Control‑O monitor using one of the following operator commands:
F CONTROLO,STOP
P CONTROLO
Issue this command on all computers where Control‑O is active.
If CMEM is active, stop it using one of the following operator commands:
F CTMCMEM,STOP
P CTMCMEM
Issue this command on all computers where CMEM is active.
Delete the CTM2SBS file and all the subsystem-to-monitor files.
Reformat all the communication files, meaning, the CTM2SBS file, and all the subsystem-to-monitor files defined in the SYSID parameter in the IOACPRM member in the PARM library. See Step 7 – Install Event Manager (CMEM)/Control-O interface.
Start the Control‑M monitor.
If Control‑O is installed, start the Control‑O monitor in all computers where it should be active.
If CMEM was active in one or more computers, start it using the following operator command:
S CTMCMEM
This command should be issued in all computers where CMEM should be active.