Previous Topic: Start Links Manually

Next Topic: Start Links Automatically

Deactivate Links Manually

Regardless of the way an APPC link is started it remains active while any sessions are active even when all conversation activity ceases. If all sessions on the link have closed then the link will automatically deactivate.

To stop the link at any other time, use the LINK STOP command. You can specify different options (DRAIN, QUIESCE, and FORCE) to influence the way the link deactivates.

If DRAIN is used (the default), all conversation activity is serviced before closing the link. If QUIESCE is used, active conversations are allowed to complete normally, but pending conversations complete with an allocation error. If FORCE is used, all conversations are terminated (with a resource failure return code) and link deactivation proceeds immediately.

Example: Deactivate Links Manually

To deactivate the link to NMB by using the LINK STOP command with the DRAIN option, enter the following command:

LINK STOP=NMB TYPE=APPC