User`s guide
150 DC 900-1340I
BSC Programmer’s Guide
5.5 Overview of BSC 2780/3780 Responses using Raw dlRead
Ta ble 5 –12 shows the valid BSC 2780/3780 codes sent to your application in response to
a Raw
dlRead request; the returned dlRead pOptArgs.usProtCommand field indicates the
response code. If the
dlRead return value is zero or positive, it indicates the number of
bytes read; if it is less than zero, an error has occurred. BSC error codes that can be asso-
ciated with the responses are returned in the
pOptArgs.iICPStatus field and are described
in Appendix D.
Note
The use of Normal dlRead requests (that is, without the optional
arguments parameter) is not recommended for BSC 2780/3780
since error reports would be indistinguishable from data received
from the remote application.
The following types of data can be returned from the ICP:
• Received data
• Error and confirmation responses
• Acknowledgments (if the localAck DLI configuration parameter is set to “no”)
• Reports in response to dlWrite information requests