Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Task data and attribute

THREADID built-in function

Task variables hold thread related information, such as thread identification, service category, and dispatching priority. A variable is given the TASK attribute by explicit declaration, or implicitly by appearing in a THREAD option.

Read syntax diagramSkip visual syntax diagram>>-TASK--------------------------------------------------------><
 

A task variable is associated with a thread by the task reference in the THREAD option of the ATTACH statement creating the thread. A task variable is active if it is associated with a thread that is active. A task variable must be allocated before it is associated with a thread and must not be freed while it is active. An active task variable cannot be associated with another thread.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)