Rexx - Extended Functions getpid



This function gets the id of the current running process.

Syntax

getpid() 

Parameters

None

Return Value

This function gets the id of the current running process.

Example

/* Main program */ 
options arexx_bifs 
say getpid()

When we run the above program we will get the following result. The process number returned will differ from system to system. An example of the result is shown below.

Output

4372
rexx_extended_functions.htm
Advertisements