I/O errors are handled differently by BTEQ in a mainframe-attached system than in a workstation-attached system. In a workstation-attached system operating in batch mode, BTEQ reports an I/O error to the user, then continues to execute the next SQL or BTEQ command. In a mainframe-attached system, BTEQ reports the I/O error, then terminates the job with an abend.
The next section explains how BTEQ handles I/O errors and abends for mainframe-attached clients.