BPX4SSI (setsid) example
The following code creates a session and a process group
(and is the leader of both). For the callable service,
see setsid (BPX1SSI, BPX4SSI) — Create a session and set the process group ID.
AMODE 31 callers use BPX1SSI (setsid) example.
CALL BPX4SSI, Create session, set process grp ID+
(RETVAL, Return value: -1 or new session ID+
RETCODE, Return code +
RSNCODE), Reason code +
MF=(E,PLIST) ----------------------------------