MSC termination

You terminate Multiple Systems Coupling (MSC) links from either of the two linked IMS systems by issuing either a type-1 command /PSTOP LINK or a type-2 command UPDATE MSLINK NAME(linkname) STOP(COMM). When transmission terminates on one side, its partner in the other system terminates its own transmission and notifies the MTO.

Use the command forms shown in the following table to terminate links between partner MSC systems.

Table 1. Commands to terminate links
Command Keyword MSC use and effect
/IDLE LINK IMS forces termination of all transmissions on the physical link associated with the named logical link. Use only after a shutdown checkpoint.
NOSHUT For TCP/IP and VTAM® link types only, IMS forces the idle condition without taking a shutdown checkpoint.
/PSTOP LINK IMS halts transmissions associated with the logical link between two partner systems, but continues queuing for the remote resources. IMS enqueues, but does not send, broadcast messages that would use the link.

IMS stops the logical link in the partner system, and sends message DFS2161 to its MTO.

LINK PURGE IMS forces PSTOP condition even if other system failed while channel-to-channel (CTC) I/O was in progress. CTC link type only.
MSPLINK Stops logons to an MSC TCP/IP or VTAM physical link and enables the operator to issue the /MSASSIGN command to reassign logical links to the physical link. Any links in sessions that have not been stopped by the /PSTOP command are not affected by an /MSASSIGN command.

For physical links in a TCP/IP generic resource group, after the physical link is stopped, all logical links must terminate normally to clear link affinity before they can be moved to a different IMS system.

UPDATE MSLINK NAME(linkname) STOP(COMM) Halts transmissions associated with the logical link between two partner systems, but queuing for the remote resources continues. Broadcast messages that would use the link are queued but not sent. This command is equivalent to the type-1 command /PSTOP LINK.

The logical link is stopped in the partner system and its MTO is notified by message DFS2161.

OPTION(FORCE) This command applies to TCP/IP and VTAM link types and forces a /PSTOP condition.

OPTION(FORCE) leaves the link in PSTOPPED IDLE ERE mode. The subsequent restart of the link is an emergency restart.

For VTAM link types, STOP(COMM) without OPTION(FORCE) must be issued before OPTION(FORCE) is used. For TCP/IP links, OPTION(FORCE) can be used any time.

OPTION(FORCE) might need to be issued on both sides of the link.

UPDATE MSPLINK NAME(msplinkname) STOP(LOGON) Stops logons to the physical link. This applies to MSC TCP/IP and VTAM links only. It stops logons to the physical link and enables the operator to reassign logical links to the physical link.
STOP(GENLOGON) For MSC TCP/IP links in a TCP/IP generic resource group only, stops logons to the IMS system on the physical link. After the command stops logons to the physical link and all logical links on the physical link have terminated normally to clear link affinity with the IMS system, the logical links can be reassigned to a physical link on another IMS system.