TN3270 Server Manual
ITI Communication Protocol
TN3270 Server Manual—424097-001
6-12
WRITE [x] Procedure
WRITE [x] Procedure
A WRITE procedure adds communication characters to the text to be written, and then
writes the data to the device. WRITE procedures to the application process complete
immediately, advancing an internal line counter. If the new line count positions the next
line to be written at the bottom of the screen, the bottom of the screen wraps to the top.
filenumber
INT:value
is the number of the file to be written.
buffer
is 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 operations only. count-written returns the number of bytes
written.
tag
INT(32):value
is for nowait I/O operations only. tag is a value that you specify which uniquely
identifies the operation associated with this WRITE[x] procedure.
CALL 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])