XCOUPLE—Coupling XRC sessions

Use the XCOUPLE TSO command to add XRC sessions to, or delete XRC sessions from, a master session. You can also use this command to manage the status of the master session. Specifically:
Note: If you issue the XSTART(session_id) command to an XRC session using SESSIONTYPE(MIGRATE), you cannot issue the XCOUPLE command to couple the session to a master session. If the XRC session has been migrated and you want to couple it, follow these steps:
  1. Issue the XEND or XSUSPEND command to the session.
  2. Restart the session by using SESSIONTYPE(XRC).
  3. Issue the XCOUPLE command to the XRC session
If you restart a coupled session and specify SESSIONTYPE(MIGRATE), the session type is changed to XRC. To restart a coupled session using MIGRATE, you must first issue the XCOUPLE PURGE command to uncouple the session.
Note:
  1. If RACF® facility class protection is being used for XRC, the XCOUPLE command should be added to the resource profile by using the procedure documented for existing XRC commands. The XCOUPLE command must also be defined as an authorized TSO command.
  2. The maximum number of coupled sessions that are supported by this release of CXRC is 14.
If you issue an XSTART command to restart a previously coupled session, and the automatic XCOUPLE ADD processing fails, subsequent XADDPAIR commands also fail with a return code indicating that the XCOUPLE processing is incomplete. To resolve this condition and to permit XADDPAIR commands to complete, you must either:

For additional information about coupled XRC sessions, refer to Managing coupled XRC operations.