%getpgrp() function

The %getpgrp() function returns the UNIX process group ID of the calling process.

For Windows: Not Supported

Syntax

var = %getpgrp()