Thread status

The current status of a thread is viewed from the General page in the Thread Properties window, under Detailed status.

An example of a detailed status is:

Waiting for dequeue
The thread of the job is waiting for completion of a dequeue operation. A dequeue is an operation for removing messages from queues. Messages are communications sent from one person or program to another. In particular, a message is enqueued (placed) on a queue system object by one thread and dequeued (removed) by another thread.
Note: When Waiting for dequeue is shown on a properties page, additional information that identifies the queue being waited on is displayed. When the job or thread is waiting on the dequeue operation to complete for an i5/OS™ object, you will see a 10-character object name, its library, and the object type. If the job or thread is waiting on the dequeue operation to complete for an internal object, you will see a 30-character object name. For internal objects you need job control special authority (*JOBCTL) to see the 30-character name.

The detailed status can display an associated status value, which provides additional details about the current status of the thread. An example of a detailed status plus the associated status value is:

Held (n)
An individual thread is held. Unlike a job, a thread can have multiple holds on it at the same time. A number (for example, Held (3)) following the thread status tells the user how many times that thread has been held without being released. For example, if a thread has had three holds put on it and then has been released once, it still has two holds against it. A number is only shown when the status appears on the properties page and will not appear when displayed in a list. To resume thread processing, select the Release action for the thread.

For more information about the different thread statuses, see the iSeries™ Navigator online help.