Slide 59 of 68
Notes:
The F$GETJPI() lexical function is used to get information about the current job or process.
To get information about the current process, specify the PID as a null string () or a zero(0).
The example shows how to retrieve the mode of the current process. This could also be retrieved using the F$MODE() lexical function.