SNAX/APN Application Programming Manual

Handling Errors in SNAX/APN Applications
SNAX/APN Application Programming Manual420111-001
B-6
File-System Error Codes
Table B-2 outlines the responses when a LINE and/or PU either stops operations
completely (hard down) or is interrupted. In the table, the following apply:
A WRITE request is a WRITEREAD request with read-count = 0 and a READ
request is a WRITEREAD request with write-count = 0.
A WRITEREAD request is handled the same as a WRITE request followed by a
READ request.
In the case of LINE hits for a READ, WRITEREAD, or two-step READ request, the
first request returns a SNASESSIONEND file error.
Table B-2. Responses to a Line or PU Failure
Primary Secondary
Request
Line
Hit
Line
Down
PU
Down
Line
Hit
Line
Down
PU
Down
WRITE 183 140 140 183 140 140
READ
1
183 140 140 183 140 140
READ
2
N.A. 140 140 N.A. CLEAN
UP
CLEAN
UP
2-step READ
3
N.A. 140 140 N.A. CLEAN
UP
CLEAN
UP
2-step READ
4
DATA DATA DATA DATA DATA DATA
1 Line hit/hard down. PU down before the READ request is issued.
2 Line hard down. PU down after the READ request is issued.
3 Line hard down. PU down after the WRITEREAD request is issued.
4 Line hit/hard down. PU down after the WRITEREAD request completes but before the READ request is
issued. The READ request returns the data; the next request returns an error.