Create Job Structures (QWTCTJBS) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Create Job Structures (QWTCTJBS) API creates the number of temporary job structures that are passed on the call. The current number of temporary and permanent job structures available are returned.


Authorities and Locks

Job Authority
*JOBCTL

Required Parameter Group

Current number of temporary job structures available
OUTPUT; BINARY(4)

The number of temporary job structures that currently exist on the system that are not in use. This number also includes any temporary job structures that are to be created on this call to the API.

Current number of permanent job structures available
OUTPUT; BINARY(4)

The number of permanent job structures that currently exist on the system that are not in use.

Number of temporary job structures to create
INPUT; BINARY(4)

The number of additional temporary job structures that the user would like to have created. The valid range is 0-32000. If a number outside that range is passed, an error will be signaled. Under some conditions, the system may create fewer than the requested number. The following special value can be passed:


Error code
I/O; CHAR(*)

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


Error Messages



API introduced: V4R1

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