X25AM Programming Manual

Procedures Summary for X25AM
X25AM Programming Manual527201-001
A-15
SETPARAM 21
SETPARAM 21
Count the 64-byte segments sent or received by a subdevice:
Count = count + ((data^byte^count + 63) / 64);
Get the counts.
4 Processor down.
5 Subdevice aborted with SCF.
6 Subdevice stopped with SCF.
7 Clear request issued.
8 Clear request received.
9 Incoming data packet > PACKETSIZE.
10 Incoming packet invalid for circuit state.
11 Restart Request issued.
12 Inconsistent internal data structure.
13 Incoming Call Request packet had invalid data or L3WINDOW holding
buffers could not be allocated.
14 Level-2 problem.
Integer <1>
nn If <0> = 14, then <1> contains the applicable Guardian error code.
Integer <2>
1 The line is logically down. (It has been downed with PUP or stopped with
SCF).
2 The line is logically up, but the physical circuit has not been established.
3 The line is logically up, and the physical circuit has been established.
Integer <3>
If <2> = 1 or 2, then <3> contains the applicable Guardian error code.
CALL SETPARAM (filenum, function,,, counts, length)
filenum = file number
function = 21
counts
= counts sent (4 bytes), counts received (4
bytes).
length = 8-byte total count length
Table A-5. Reasons for Circuit Disconnection (SETPARAM 9) (page 2 of 2)
Integer Reason for Circuit Disconnection