Change Processor Multitasking Information (QWCCHGPR) API


Required Parameter Group:


Optional Parameter Group:

Default Public Authority: *EXCLUDE

Threadsafe: No

The Change processor multitasking (QWCCHGPR) API can be used to set the maximum number of secondary hardware threads per processor on systems that support simultaneous multithreading. The processor multitasking (QPRCMLTTSK) system value should be set to 1 (on) or 2 (system controlled) when using this API to set the maximum number of secondary processor threads used by the system. This API will have no effect on the number of secondary processor threads used when the processor multitasking (QPRCMLTTSK) system value is 0 (off). To disable all secondary processor threads, use the Change System Value (CHGSYSVAL) command to set QPRCMLTTSK to 0 (off). See the processor multitasking (QPRCMLTTSK) system value for more information on simultaneous multithreading.

Authorities and Locks

This API is shipped with *EXCLUDE public authority.

To use this API you must:

Required Parameter Group

Maximum number of secondary threads per processor
INPUT; BINARY(4)

The maximum number of secondary hardware threads per processor that may be active at the same time when QPRCMLTTSK is on. Possible values are:


Optional Parameter Group

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Usage Notes

Error Messages



API introduced: V7R1 by PTF

[ Back to top | >Work Management APIs | APIs by category ]