Rexx - getpid



This method is used to get the value of the current running process id.

Syntax

getpid()

Parameters

None

Return Value

Gets the value of the current running process id.

Example

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

When we run the above program we will get the following result. The following program is a sample output, this output will vary from system to system.

Output

6884
rexx_regina.htm
Advertisements