Envoy Application Programming Manual

Table Of Contents
BISYNC Point-To-Point Protocol
Envoy Application Programming Manual427159-001
3-23
WRITE Procedure
The file-system errors shown in Table 3-12 can occur on an initial WRITE.
Example 3-6. Initial WRITE (Line in CONTROL State)
Local Remote
line state = CONTROL
CALL WRITE(...)
|
| (bid) enq -->
| <-- ACK0
| message 1 -->
| <-- ACK1
|
(WRITE completes
error = 0
line state = WRITE
Table 3-12. Errors on Initial WRITE for BISYNC Point-to-Point (page 1 of 2)
Error
Number Description
Resultant Line
State
0 No error. Message is the buffer of the application process is
written to the remote station.
WRITE
160 Request is invalid for line state. unknown
161 Impossible event occurred for device state; protocol error. unknown
163 EOT received. An EOT was received while waiting for the
line bid.
CONTROL
164 For switched lines, the disconnect sequence (DLE EOT) was
received. Data terminal ready is cleared.
DISCONNECT
For nonswitched lines, the disconnect sequence (DLE EOT)
was received.
CONTROL
165 RVI received. The remote station transmitted a reverse
interrupt sequence as a positive acknowledgment to the
message.
WRITE
166 ENQ in response to line bid. The remote station is also
bidding for the line. If the local station is a primary station,
the line bid was attempted the number of times specified by
the retry value.
CONTROL
ENQ in response to line bid. The remote station is also
bidding for the line. The local station is a secondary station.
WRITE
167 EOT in response to line bid. The remote station rejected the
line bid.
CONTROL
168 NAK in response to line bid. CONTROL
169 WACK in response to line bid. CONTROL