TN3270e Server Manual

ITI Communication Protocol
TN3270e Server Manual422923-003
6-15
WRITEREAD [x] Procedure
WRITEREAD [x] Procedure
A WRITEREAD procedure is processed by the TN3270e server as a WRITE request
followed by a READ request from the application process.
filenumber
INT:value
is the number of the file where the WRITE/READ is to occur.
buffer
is the information to be written to the file and, when returned, buffer contains the
information read from the file.
write-count
INT:value
is the number of bytes to be written.
read-count
INT:value
is the number of bytes to be read.
count-read
is for waited I/O operations only. It returns the number of bytes returned to buffer.
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 WRITEREAD[x] procedure.
CALL WRITEREAD[x] (filenumber, buffer, write-count, read-
count
[, count-read ] [, tag ])
INT .ref:* (for WRITEREAD)
STRING .EXT:ref:* (for WRITEREAD[x])
INT .ref:1 (for WRITEREAD)
INT .EXT:ref:1 (for WRITEREAD[x])