OSI/TS Configuration and Management Manual

NonStop Kernel File-System Interface
OSI/TS Configuration and Management Manual424831-001
7-36
Data Transfer Completion
The read buffer contains an MCW that indicates whether or not the data was
received in an expedited packet and whether there is more data to fetch.
Interpret the MCW as follows:
Figure 7-15
shows the contents of the READ buffer.
Your application should always have a READ or WRITEREAD call pending
during the data-transfer phase.
Data Transfer Completion
Table 7-7 shows completion codes for WRITE calls during data transfer.
Bit in MCW Value Meaning
0-7 0 Undefined.
80
1
Data was received in a normal data packet.
Data was received in an ED-TPDU.
9-14 1 Undefined.
15 0
1
Data transfer is complete.
More data was received than allowed in the read buffer.
Issue another READ call to retrieve more data.
Figure 7-15. READ Buffer: Incoming Data
Note. Your application should always have a READ or WRITEREAD call pending
during the data-transfer phase.
715CDT .CDD
Octet 1
Octet 0
Octet 2
Through
Octet n
0
0
MCW
X = 0 Normal
X = 1 Expedited
Y = 0 Data Completed
Y = 1 More Data to Follow
Incoming Data
X Y
Legend