DEFINE LINK command: UL/DB2

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
System manager, User 0
Function
Defines a connection from Model 204 to DB2, and indicates the transport type and protocol

Syntax

DEFINE LINK name [LIKE previousname] WITH SCOPE=SYSTEM TRANSPORT=INTERNAL PROTOCOL=CAF

Where:

name is a unique name that identifies the connection to DB2. The name must be from one to eight characters in length. The keyword ALL is reserved and cannot be used to name the link entity. The DEFINE PROCESSGROUP command uses this name to refer to this connection.
LIKE gives the current link the attributes of the link entity referred to by previousname.
SCOPE=SYSTEM indicates that the LINK entity definition is available to all users of the Model 204 system for the entire run.
TRANSPORT=INTERNAL is the physical transmission method.
PROTOCOL=CAF indicates that the Call Attach Facility is the communications protocol.

Example

DEFINE LINK DB2 WITH - SCOPE=SYSTEM - TRANSPORT=INTERNAL - PROTOCOL=CAF

Usage notes

For more information on the User Language/DATABASE 2 Interface, see the UL/DB2 topics.