CLOSE LINK command: CNOS link

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
User 0, system administrator, system manager
Function
Disables a CNOS link

Syntax

CLOSE LINK linkname [FORCE]

Where: linkname is the link specified on the DEFINE LINK command.

Usage notes

The CLOSE LINK command disables the CNOS link. If you specify FORCE, conversations using the link are ended immediately; without FORCE, conversations are allowed to finish. In either case, no new conversations can start, the SNA Communications Server ACB is closed, and all internal resources, buffers, and control blocks are released.

If the link you are closing supports a combination of CNOS and non-CNOS sessions, the CLOSE LINK without the FORCE parameter drains the conversations on CNOS sessions first, and then it forces the conversations on non-CNOS sessions.