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

THREADID built-in function

THREADID (short for thread identifier) returns a POINTER value that is the address of the operating system thread identifier for an attached thread.

Read syntax diagramSkip visual syntax diagram>>-THREADID--(--x--)-------------------------------------------><
 

The value used by this built-in function can be used as a parameter to system functions such as DosSetPriority, but it should not be used as a parameter to DosKillThread.

x
Task reference. The value of x should have been set previously in the THREAD option of the ATTACH statement.

Terms of use | Feedback

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