TN3270 Server Manual
CRT Communication Protocol
TN3270 Server Manual—424097-001
5-7
WRITE[x] Request Procedure
WRITE[x] Request Procedure
A WRITE request procedure adds communication control characters to the data and
writes it to the client. Transfer of the data to the TCP/IP process completes the WRITE
request.
filenumber
INT:value
is the number of an open file that identifies the file to be written.
buffer
is an array containing the information to be written to the file.
write-count
INT:value
is the number of bytes to be written.
count-written
is for waited I/O only. It returns a count of the number of bytes written to the file.
tag
INT(32):value
is for nowait I/O only. tag is a value you define that uniquely identifies the
operation associated with this WRITE[x].
WRITE[x] (filenumber, buffer, write-count [, count-written]
[, tag ]);
INT .ref:* (For WRITE)
STRING .EXT:ref:* (For WRITE[x])
INT .ref:1 (for WRITE)
INT .EXT:ref:1 (for WRITE[x])