Collect Hung Job Service Documentation (QPDETHNG) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Threadsafe: Yes

The Collect Hung Job Service Documentation (QPDETHNG) API dumps documentation associated with the hung job to help service determine the cause of the hang.


Authorities and Locks

Authority to use the API
Special authorities needed: *JOBCTL and either *SERVICE or be authorized to the Service Dump function of the IBM® i operating system through System i® Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_SERVICE_DUMP, can also be used to change the list of users that are allowed to perform dump operations.

Required Parameter Group

Job name
INPUT; CHAR(10)

The name of the hung job.

Job user
INPUT; CHAR(10)

The user of the hung job.

Job number
INPUT; CHAR(6)

The number of the hung job.

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

The following messages may be sent from this function:




API introduced: V5R4

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