Delete Job Structures (QWTDTJBS) API


  Required Parameter Group:

1 Number of temporary job structures
to delete
Input Binary(4)
2 Error code I/O Char(*)

  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Delete Job Structures (QWTDTJBS) API deletes the number of temporary job structures that are passed on the call. The Create Job Structures (QWTCTJBS) API can be used to create temporary job structures and retrieve the current number available.


Authorities and Locks

Job Authority
*JOBCTL

Required Parameter Group

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

The number of temporary job structures that the user would like to have deleted. The valid range is 1 through 32000. If a number outside that range is passed, an error will be signaled. If there are fewer temporary job structures available than the number requested to be deleted, all available job structures will be deleted and no error is signaled.

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

Message ID Error Message Text
CPE3002 E A range error occurred.
CPF222E E &1 special authority is required.
CPF24B4 E Severe error while addressing parameter list.
CPF3CF1 E Error code parameter not valid.
CPF3CF2 E Error(s) occurred during running of &1 API.
CPF3C20 E Error found by program &1.
CPF3C36 E Number of parameters, &1, entered for this API was not valid.
CPF3C90 E Literal value cannot be changed.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V4R4
Top | Work Management APIs | APIs by category