DEFINE PROCESSGROUP command: UL/DB2: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
 
Line 43: Line 43:
</p>
</p>
==Usage notes==
==Usage notes==
For more information about the User Language/DATABASE 2 Interface, see the <var>Model&nbsp;204 User Language/DATABASE 2 Interface Guide</var>.
For more information about the 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 17:20, 14 April 2017

Summary

Privileges
User 0 or system manager
Function
Connects the process to a specific link and identifies a node with which the process can communicate

Syntax

DEFINE PROCESSGROUP pgrpname WITH SCOPE=SYSTEM LINK=linkname DB2ID=ssid

Where:

pgrpname identifies a group of processes. The name can be from one to eight characters in length. The keyword ALL is reserved and cannot be used to name a group.
SCOPE=SYSTEM indicates that the PROCESSGROUP entity definition is available to all users of the Model 204 system for the entire run.
linkname associates the group with a locally defined link which implies the transport type and conversation protocol. linkname must match the name used in the DEFINE LINK statement.
ssid is the DB2 subsystem ID defined by your systems programmer.

Example

DEFINE PROCESSGROUP DB2GRP WITH - SCOPE=SYSTEM - LINK=DB2 - DB2ID=DSN

Usage notes

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