DEFINE PROCESSGROUP command: UL/DB2

From m204wiki
Revision as of 01:04, 28 February 2013 by Alex (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Model 204 User Language/DATABASE 2 Interface Guide.