OSI/TS Configuration and Management Manual

NonStop Kernel File-System Interface
OSI/TS Configuration and Management Manual424831-001
7-34
Sending Data
The first two octets of the WRITE buffer contain the 16-bit MCW. The MCW
indicates whether or not the data is being sent as an expedited packet and
whether there is more data to send. To request data transfer, set the MCW as
follows:
MCW Bit 8
Use bit MCW.<8> to indicate whether or not you wish an expedited data
transfer. If expedited data transfer is enabled (MCW.<8>=1), then bit
MCW.<15> must be set to 0. If bit MCW.<15> is erroneously set to 1 during
expedited data transfer, then the OSI/TS subsystem returns error 179.
If you request expedited data transfer, do not place more than 16 octets of data
in the buffer.
MCW Bit 15
Use bit MCW.<15> to indicate that this I/O operation is part of a larger
transport service data request. With this option, you can send unlimited transport
service data requests.
For efficiency, put the end-of-TSDU flag (MCW.<15>=0) in the last user data
request rather than in a separate request, with no accompanying user data. Place
your data in the buffer following the MCW. Figure 7-14
shows the contents of
the buffer.
Bit in MCW Value Meaning
0-7 0 Reserved.
80
1
Normal data-transfer request.
Expedited data-transfer request.
9-14 1 Reserved.
15 0
1
Data transfer is complete.
More data needs to be sent than you allowed in the
write buffer. Issue another WRITE or WRITEREAD
call to send more data.