Manage the coupling facility
Use this topic to understand how to add or remove coupling facility (CF) structures.
This section describes the following tasks:
Adding a coupling facility structure
To add a coupling facility structure, use the following procedure:- Define the CF structure in the CFRM policy data set.The information about setting up the coupling facility in Set up the coupling facility describes the rules for naming coupling facility structures, and how to define structures in the CFRM policy data set.
- To configure the structure to offload message data to SMDS, allocate and preformat data sets. See creating a shared message data set for details.
- Define the structure to IBM MQ using the DEFINE CFSTRUCT command.
Removing a coupling facility structure
To remove a coupling facility structure, use the following procedure:- Use the following command to get a list of all the queues using the coupling facility structure
that we want to delete:
DISPLAY QUEUE(*) QSGDISP(SHARED) CFSTRUCT(structure-name)
- Delete all the queues that use the structure.
- Delete the CF structure from IBM MQ using the DELETE CFSTRUCT command.
- If the structure was configured to offload message data to SMDS, delete the SMDS.
- Remove the structure definition from your CFRM policy data set and run the IXCMIAPU utility. (This is the reverse of the customization task set up the coupling facility, described in Set up the coupling facility.)
Parent topic: Manage queue sharing groups and shared queues on z/OS