Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
Overview of the Library Services
3-58
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
I Process Development Process
CI Communication
Given that INT .EXT ci-config (_CI^DEF) ...
Declarations _CI^ID ( ciid ); Declares CIID structure where
information about an open CI is stored.
_CI^IDPOINTER (ciid ); Declares (extended) pointer to a CIID
structure.
Communication error := _OPEN^CI (ci-config, ciid
,[ processname ] ,[ nowait-depth ] );
Opens CI for communication.
error := _SEND^CI (ciid, buffer,
write-count, reply-count
,[ context-boolean ] ,[ tag ]
,[ timeout ] );
Initiates request for CI communication.
error := _CANCEL^SEND^CI ( [ tag ] ); Cancels outstanding CI communication
request.
error := _CLOSE^CI (ciid ); Terminates CI communication.
Information _LAST^CI^ID Points to CI that caused last event.
fserror := _CI^LASTERROR (ciid ) File system error of last CI operation.
replyaddress := _CI^REPLYADDRESS
(ciid )
Extended address of CI reply buffer.
replylen := _CI^REPLYLENGTH (ciid ) Length of CI reply buffer.
replytag := _CI^REPLYTAG (ciid ) Tag associated with last CI operation.
filenumber := _CI^FILENUM (ciid ) File number of CI involved in most-
recently completed communication.
Timeout intervals CALL _SET^TIMEOUT ( time-interval
,[ tag ] );
Initiates request for time interval delay.
error := _CANCEL^TIMEOUT ( [ tag ] ); Cancels outstanding timeout.
_LAST^TIMEOUT^TAG Accesses tag associated with timeout
request.
Command Context
Defining fixed
header portion of
command context
_COMMAND^CONTEXT^HEADER ; Required as part of command context
space structure definition to reserve
and define input, output, and command
context areas.
Accessing
command
context space
_THREAD^CONTEXT^ADDRESS Contains extended address of
command context space.
Table 3-1. Summary of I Process Development Library Services (page 5 of 6)
Function Arguments Description