BPX4GPG (getpgrp) example
The following code gets the process group ID of the caller.
For the callable service, see getpgrp (BPX1GPG, BPX4GPG) — Get the process group ID.
AMODE 31 callers use BPX1GPG (getpgrp) example.
CALL BPX4GPG, Get the process group ID +
(RETVAL), Return value: group ID +
MF=(E,PLIST) ----------------------------------