DEFINE PROCESSGROUP command: UL/DB2

From m204wiki
Jump to navigation Jump to search

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.