DEFINE LINK command: Transfer Control

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Privileges
System manager, User 0
Function
Defines the transport type and the protocol to be used in communicating with the partner process

Syntax

DEFINE LINK name [LIKE previousname] WITH SCOPE=SYSTEM TRANSPORT=TERMINAL PROTOCOL=TRANSFER

Where:

name identifies the link.
LIKE gives the current link the attributes of the link entity referred to by previousname.
SCOPE=SYSTEM indicates that the definition is available to all users of the Model 204 system for the entire run.
TRANSPORT is the physical communication transmission method.

For Transfer Control links, TRANSPORT must be set to TERMINAL. The TERMINAL keyword means that under SNA Communications Server or CICS the terminal is borrowed to perform communications.

PROTOCOL identifies the protocol to be used with the partner process. The TRANSFER keyword indicates the Transfer Control facility. If TRANSFER is specified, the only User Language statement allowed is TRANSFER.

Example

In the following example, the Transfer Control link is identified by the transport type TERMINAL and the protocol TRANSFER:

DEFINE LINK M204PROD WITH - SCOPE=SYSTEM - TRANSPORT=TERMINAL - PROTOCOL=TRANSFER