TN3270e Server Manual
ITI Communication Protocol
TN3270e Server Manual—422923-003
6-6
READ[x] Procedure
READ[x] Procedure
A READ procedure causes the blocks received by the TN3270e server to be collected
and stripped of any communication control characters. When the final block is
received, the READ request is completed to the application process with text only.
filenumber
INT:value
is the number of the file to be read.
buffer
is an array in the application process to which the information read from the file is
returned.
read-count
INT:value
is the number of bytes to be read.
count-read
is for waited I/O operations only. It shows the number of bytes returned from the
file to buffer.
tag
INT(32):value
is for nowait I/O operations only. tag is a value you define that uniquely identifies
the operation associated with this READ[x] procedure.
CALL READ[x] (filenumber, buffer, read-count [, count-read ]
[, tag ])
INT .ref:* (for READ)
STRING .EXT:ref:* (for READ[x])
INT .ref:1 (for READ)
INT .EXT:ref:1 (for READ[x])