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 are the following error codes:
| The data contents are inconsistent. |
| It was not possible to get the position in a file with fgetpos. |
| lseek could not be positioned at the desired point. |
| The file cannot be written because it is locked. |
| The expected file marks could not be found. The file has probably been destroyed. |
| 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. |
| The file cannot be written because it is currently being used. |
| The expected version number could not be found. The file may have been destroyed. |
| Insufficient bytes could be written. |