System Variables
GID Operating SystemProcess Identifier
String System Variable
 
Contents String, two-character OS process identifier.
 
Description This system variable can be used to obtain a two-character 16-bit binary operating system group or Process ID (PID).
 
Examples Obtain the 16-bit UNIX Process ID by using:
 
->pid=dec($00$+gid)
->?pid
30633
For larger values (e.g., 32-bit), refer to TCB(89)under the TCB( ) Function. TCB(89)returns the numeric value of the current PID. Use this as a replacement for DEC($00$+GID)to retrieve the current PID value.
 
See Also SYS( ) Function