Exchange/RJE Manual

READ Procedure
Exchange/RJE System Procedure Calls
5–26 104698 Tandem Computers Incorporated
Receiving Transparent Data
When you are receiving transparent data, you can receive several error numbers in
response to your READ call. These errors are:
301 If the call to READ returns error number 301, it means that the line server is
returning a control message rather than data. When your application receives
error 301, it should check the value in the reply buffer, which is 1 word long.
Error 301 can have the following values in the reply buffer:
1 Transparent text has been received; subsequent reads by the application
will contain transparent text.
2 Normal text has been received (after transparent text).
Your application should post the next READ call to the line server with the
read-count value set for transparent or normal text, as appropriate. See the
subsection “Receiving Transparent Text” in Section 4 for more information.
Error 301 is returned only if you request it by calling SETMODE function 41
with
param1
.<5> = 1.
310 If the call to READ returns error number 310, it means that your record sizes do
not match. When you are using standard 2780 mode or block mode with 2780
blocking and the underlying IOP is Envoy, the line server checks that the record
size of the incoming text is the same as the record size specified by the
application. Error 310 indicates an error; if your application receives this error,
it should abort the transmission.