The following code issues a shutdown to stop socket writes
to this socket connection. SOCKDESC was returned from a previous
call to BPX4SOC. For the callable service, see
shutdown (BPX1SHT, BPX4SHT) — Shut down all or part of a duplex socket connection.
AMODE 31 callers use
BPX1SHT (shutdown) example.
SPACE ,
CALL BPX4SHT, Shutdown communication +
(SOCKDESC, Input: Socket Descriptor +
SOCK#SHUTDOWNWRITE, Input: How - shutdown writes +
RETVAL, Return value: 0 or -1 +
RETCODE, Return code +
RSNCODE), Reason code +
MF=(E,PLIST) ----------------------------------