Proper thread authority

Certain authority levels are required before you can work with threads.

To view and change most attributes of a thread you need to have *JOBCTL special authority, or your user profile needs to match the job user identity of the job containing the thread. To change the run priority of a thread, you must have *JOBCTL special authority. Thread Control authority allows you to view some of the attributes of a thread.

To hold or release a thread, you need to have *JOBCTL special authority or Thread Control authority, or your user profile needs to match the job user identity of the job containing the thread. To end a thread, you need to have *SERVICE special authority or Thread Control authority.

For any thread attributes that refer to a IBM i object, such as a library in the library list, the user needs to have the proper authority to the object.

For more details about IBM i authorities, see Authority required for objects used by commands in the Security reference topic collection.

Note: With thread Control authority, you can retrieve information about threads of another job. Thread Control can be granted and revoked for individual users by using IBM Navigator for i Application Administration support, or by using the Change Function Usage Information (QSYCHFUI) API, with a function ID of QIBM_SERVICE_THREAD. For more detailed information about application administration, see the Information Center topic Application Administration.