In conjunction with file processing, return codes in the form yxxx occur in the event of an error. These are also known as DMS errors and have the following meanings:
y |
The first character y denotes the function in which the error occurred. y may have the following values: |
xxx |
The three characters xxx represent, in printable form, the error number which is stored by the operating system in the external variable |
In addition, the errors CONS
, LERR
, OERR
, REND
, RERR
, WERR
, SXDE
, SDDE
and SDFE
can occur.
These have the following meaning:
|
The data contents are inconsistent. |
|
lseek could not be positioned at the desired point. |
|
An attempt was made to open a directory as a normal file. |
|
End-of-file reached on reading from a file. |
|
Insufficient bytes could be read. |
|
Insufficient bytes could be written. |
|
A directory could not be created. |
|
A directory could not be deleted. |
|
A file could not be deleted. |