Using the auto maintenance facility
The auto maintenance facility provides INIT and TERM functions that refresh MainView for CICS modules without affecting CICS itself.
The INIT and TERM functions can be initiated through commands or at BBI-SS PAS initialization and termination.
The TERM function terminates all active MainView for CICS and MainView AutoOPERATOR for CICS functions and removes those MainView for CICS resources in CICS that were created by the INIT function. The TERM function stores the MainView processing environment in a status record and writes it to a CICS temporary storage queue (as described in CICS-temporary-storage-and-enqueue-name-conflicts).
The INIT function re-creates all resources and restarts all functions according to the status record. The only exception is if the TERM function is issued when the CICS target is not connected to a BBI-SS PAS. When no PAS connection is in effect, no agents are active. Consequently, the subsequent INIT function initiates agents based on the settings in CMRSOPT and not based on the TSQ status record indicators.
For additional information, see the following sections:
- Implementing the auto maintenance facility is described in Initiating-auto-maintenance.
- CSD definitions that are required by the auto maintenance facility are described in Auto-maintenance-resources-and-messages.
- The resources that are managed by the auto maintenance facility are described in Managed-resources.
- The JCL members that are used to set up the auto maintenance facility are listed in BBSAMP members.