*THREADID (GETMODE)
*THREADID={id}
The *THREADID control reports the current thread identifier (32 bit number) of a PL/B program object running under the automation server.
{id} is a previously defined Numeric Variable that receives the thread identifier.
For task information when using the Sunbelt Application Server, use the *TASKID control.
See Also: List Controls (GETMODE), GETMODE
![]() |