User`s guide

78 DC 900-1516D
ICP2432 Users Guide for OpenVMS Alpha (DLITE Interface)
4.3.3.2 DETACH Command
The DETACH command closes an individual session between your program and the
protocol software on the ICP. The following values must be placed in the ICP header of
the
ATTACH command:
ICP Header:
Command field =
DLI_ICP_CMD_DETACH
Status field = hex 4000 (this tells the ICP to swap bytes for VMS systems)
Protocol Header:
Session ID field = session ID from
ATTACH command
The
DETACH command disassociates the protocol session ID from the session, freeing
it for use by another program. Your program can read the
DETACH response from the
read node number specified in the
ATTACH command for the session.