basic.%pgetpid
Gets a Pick process PID.
Syntax
variable=%pgetpid(line)
Description
returns the Unix Process Id (PID) associated to the Pick process 'line'.
If 'line' is equal to -1, the PID of the current process is returned. If 'line' is equal to -2, the PID of the flush process is returned. If the Pick process is not connected, 0 (zero) is returned.
Example
* Get our own pid
pid=%pgetpid( system( 22 ) )
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
