Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide

Accessing Information About a CI Communication
3-48
109759Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
I Process Development Process
When the communication is complete, the frame dispatches the thread with the event
_EV^IODONE.
Canceling a CI Communication Request: _CANCEL^SEND^CI
Use _CANCEL^SEND^CI to cancel an outstanding CI communication request:
The frame cancels any outstanding _SEND^CI operations when the thread terminates.
Terminating a CI Communication: _CLOSE^CI
You must close a CI before its CIID structure (ciid) is used in another _OPEN^CI
operation. _CLOSE^CI terminates a CI communication and cancels any outstanding I/O
operations.
Accessing Information About a CI Communication
Use the following library services to retrieve information about a CI communication:
error := _CANCEL^SEND^CI ( [ tag ] );
error := _CLOSE^CI ( ciid );
_LAST^CI^ID Address of CI involved in last CI communication
when _EV^IODONE occurs
_CI^LASTERROR ( ciid ) INT file system error of last operation
_CI^REPLYADDRESS ( ciid ) INT(32) extended address of reply
_CI^REPLYLENGTH ( ciid ) INT length of reply
_CI^REPLYTAG ( ciid ) INT(32) tag of last operation
_CI^FILENUM ( ciid ) INT file number of CI