REPLACE FUNCTION TDWM.TDWMAssignWD (
HostId SMALLINT,
SessionNo INTEGER,
VprocNo INTEGER,
Scope VARCHAR(1),
WDId INTEGER
) RETURNS INTEGER
...
;
Syntax Elements
- HostId
- ID of the host on which the session was issued. HostId cannot exceed 1023. A hostid of zero identifies the database operator Console.
- SessionNo
- Session number. SessionNo combined with HostId produces a unique session ID.
- VprocNo
- PE Vproc number where the session runs.
- Scope
- Scope of the change defined:
- R = Change the workload of the current request
- S = Change the workload of the session
- WDId
- WD ID to which the request must be assigned.