


This routine returns the Process ID (PID) of the process holding the lock responsible for the previous file lock or record locked condition encountered. This library routine works only with the Vision file system and the UNIX platform.
Usage
CALL "C$LOCKPID" GIVING PROCESS-ID.
Parameters
PROCESS-ID PIC 9(5)
This contains a numeric data item large enough to hold a PID.
Comments
C$LOCKPID returns a PROCESS-ID of "0" if you have not yet encountered a locked file or record, if the PID is otherwise not found, or if you've used this routine with a non-UNIX runtime.