Function to get process identity
The GETPID() function returns a unique system wide number which represents the identity of the user process. This function will return the same value while you remain logged in. This can be used, among other purposes, to create system-wide temporary files. Note that each time you log into the system, you will have a different process identity.
? getpid() 14586 pid = getpid() ? type("pid") N
Lianja Server, Lianja