The getpid_ function returns the process id of the current process.
Function
INTEGER(4)
The process id of the current process