I/O Error Codes


After you send an I/O command to a device, the device returns a status code which is stored in the returned status byte of the PAB and in the numeric display register. I/O errors do not halt a running program unless you have set the halt-on-error flag (flag 15). This allows the program to test the numeric display register and handle the error.


Commonly Used Error Codes

The following table lists the most commonly-used I/O error codes and gives a brief description of their meaning. Refer to the specific device emulation sections for the specific error coes that apply to the device.

--- Error Code ---

Decimal

Hex

Meaning


000Operation completed successfully
101Device option error
202Attribute error
303File/device not found
404File/device not open
505File/device already open
606Device error
808Data/file too long
909Write/protect error
120CBuffer size error
130DUnsupported command error
2519Low batteries in device
271BBus error
255FFBus time-out error (device is not attached/present or did not respond wthin a specific time period)



Back