PROCESSID Function

── PROCESSID ──────────────────────────────────────────────────────────┤

The positive integer value uniquely identifies the process executing the function. PROCESSID is the stack number of the process.

The PROCESSID function returns a value that remains unique to that process for the duration of its execution. However, the value is not guaranteed to be the same on every invocation of the PROCESSID function. For example, upon restarting from a checkpoint, the value of the PROCESSID function can have changed. Also, after a process terminates, its PROCESSID value can be assigned to a new process.