$ZPID()

Examples of $ZPID()

The $ZPID function returns the process identification number (PID) of the first or next currently accessible process in the system. The $ZPID() function is similar to the DCL lexical function F$PID except that M represents the resulting PIDs in decimal.

The format for the $ZPID function is:

    $ZPID(tvexpr)
    

$ZPID() provides a tool for identifying processes in the VMS environment from within GT.M. Accessing information about processes belonging to other users requires certain VMS privileges. Consult your system manager if you feel you require additional privileges.