User`s guide

4: Record Transfer Interface (BSCRTI)
DC 900-1406E 89
dtime This is a pointer to a descriptor. It is a character string containing the
timeout value in the following time string format:
VMS format:
dddd hh:mm:ss
UNIX format: hh:mm:ss
dak This is a longword containing the DAK node indicator. If the indica-
tor is 1, data acknowledgments are read from the DAK node; other-
wise, they are read from the link’s read node.
Return Codes
See Table 5–2 on page 95 for full descriptions of the error return codes.
Success RCOK
Failure RCNAS, RCILPAR, RCOVRSZ, RCUNR, RCTO, RCQ_WWR,
RCQ_RDTO
Caution
User applications that receive the RCUNR (non-fatal) return from
BSCWRIT can cancel the SEND process by calling BSCRESET and
issuing a Flush Queue command (command code 37).
Alternatively, the application can handle the unexpected response
contained in the
rdblock parameter. Then, to complete the inter-
rupted SEND process, the same BSCWRIT call should be repeated
until the return code is RCOK. This ensures that the expected data
acknowledgment is received.
The C code fragment shown below illustrates the proper use of
BSCWRIT to handle unexpected responses from the ICP while
sending a file.