OSI/TS Configuration and Management Manual

NonStop Kernel File-System Interface
OSI/TS Configuration and Management Manual424831-001
7-39
Error Release
Error Release
If the transport connection is released because of a subnetwork reset or
disconnect indication, OSI/TS signals your application by completing all
outstanding requests to the subdevice, using file-system error 140. Issue a
SETPARAM 10 call to retrieve the cause of the disconnect.
Closing a Subdevice
After the transport connection has been released, you must terminate the
connection between your application and the OSI/TS subsystem using the
following commands:
Requesting Status Information
Your application can obtain detailed information about a connection or about the
contents of a response buffer, similar to the information provided through the
DSM programmatic interface. (The DSM programmatic interface is described in
the OSI/TS Management Programming Manual.)
To request status information about a connection or an attempted connection,
your application issues a WRITEREAD request to the TSP subdevice being used
to support the transport connection. (The WRITEREAD call returns more
information, such as error information, than a SETPARAM 10 call.) Issue a call
with the following syntax:
Request Buffer
The request buffer is the WRITE portion of the WRITEREAD call and is a one-
word buffer consisting of an MCW with the value 2 (bit 14 set to 1), as
follows:
Figure 7-17
shows the contents of the buffer:
CALL CLOSE ( filenum );
or
CALL FILE_CLOSE_ ( filenum );
CALL WRITEREAD ( filenum, buffer, write-count,
read-count,
count-read [, tag ]
)
Bit in MCW Value Meaning
0-13 0 Reserved
14 1 Status request information
15 0 Reserved