Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Error codes during file processing (DMS error codes)

&pagelevel(4)&pagelevel

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:
A Error in loading shared memories into the address space
C Error in close call
D Error in signing off from a shared memory area
E Error in remove call
F Error in fstat/stat call
G Error in allocating shared memory
L Error in lseek call
M Error in mkdir call
O Error in open call
R Error in read call
S Error in system call
W Error in write call
X Error in create call

xxx

The three characters xxx represent, in printable form, the error number which is stored by the operating system in the external variable errno. The meanings of the individual error numbers are described in the operating system manuals and in the errno.h header file. You will find some of the error codes which occur most often in System error codes.

In addition, the are the following error codes:

CONS

The data contents are inconsistent. 

GPOS

It was not possible to get the position in a file with fgetpos. 

LERR

lseek could not be positioned at the desired point. 

LOCK

The file cannot be written because it is locked.

MARK

The expected file marks could not be found. The file has probably been destroyed.

OERR

An attempt was made to open a directory as a normal file.

REND

End-of-file reached on reading from a file.

RERR

Insufficient bytes could be read.

USED

The file cannot be written because it is currently being used.

VERS

The expected version number could not be found. The file may have been destroyed.

WERR

Insufficient bytes could be written.