DEFINE LINK command: Transfer Control: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
(→Syntax) |
||
Line 39: | Line 39: | ||
<tr> | <tr> | ||
<th><var>PROTOCOL</var></th> | <th><var>PROTOCOL</var></th> | ||
<td> 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. </td> | <td> 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 [[Program_Communication_facilities#TRANSFER_statement_format_and_execution|TRANSFER]]. </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
==Example== | ==Example== | ||
In the following example, the Transfer Control link is identified by the transport type TERMINAL and the protocol TRANSFER: | In the following example, the Transfer Control link is identified by the transport type TERMINAL and the protocol TRANSFER: |
Latest revision as of 15:40, 12 February 2019
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