DEFINE LINK command: UL/DB2: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
(→Syntax) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
<tr> | <tr> | ||
<th>name</th> | <th>name</th> | ||
<td> 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.</td> | <td> 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 <var>[[DEFINE_PROCESSGROUP_command:_UL/DB2|DEFINE PROCESSGROUP]]</var> command uses this name to refer to this connection.</td> | ||
</tr> | </tr> | ||
Line 40: | Line 40: | ||
</table> | </table> | ||
==Example== | ==Example== | ||
<p class="code">DEFINE LINK DB2 WITH - | <p class="code">DEFINE LINK DB2 WITH - | ||
Line 47: | Line 48: | ||
</p> | </p> | ||
==Usage notes== | ==Usage notes== | ||
For more information on the User Language/DATABASE 2 Interface, see the | For more information on the [[UL/DB2|User Language/DATABASE 2 Interface]], see the [[:Category: UL/DB2|UL/DB2 topics]]. | ||
[[Category: System manager commands]] | [[Category: System manager commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Latest revision as of 15:49, 12 February 2019
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.