Error Codes Unique To Ioedit - HP Guardian Errors Manual

Procedure errors and messages manual
Table of Contents

Advertisement

Recovery Call EXTENDEDIT to increase the file's capacity, then try the call to WRITEEDIT again.
46
Cause Several IOEdit procedures return this error when the EDIT line number specified in the call
is less than -3 or greater than 99999999.
Effect The request is ignored.
Recovery Specify a valid EDIT line number.
59
Recovery Most IOEdit procedures return this error when an automatic attempt to recover from a
warning condition (previously reported by one of the negative error codes described later in this
section) does not succeed. All subsequent calls (except to CLOSEEDIT) for the same file return error
59.
Effect The file cannot be used.
Recovery Recovery is not possible.

Error Codes Unique to IOEdit

IOEdit can detect some error conditions for which no existing file-system error code has been
defined. These conditions can occur only in operations on EDIT files. IOEdit uses negative integers
to report these conditions.
Error numbers - 1 through -5 are returned when IOEdit finds something wrong with the directory in
an EDIT file. This directory corresponds to the set of index blocks in a key-sequenced file and can
be rebuilt by reading the entire file. Rather than doing this, OPENEDIT_ sets a flag and returns one
of the error codes -6 through - 1 0.
The caller can then choose to abandon the file by calling CLOSEEDIT or try to reconstruct the file's
directory by calling any of the other IOEdit procedures. In the latter case, IOEdit tries to rebuild
the directory in memory, without changing the file on the disk. If this succeeds, all subsequent
IOEdit operations work as if the file were intact. If this does not succeed, this and all subsequent
calls to IOEdit procedures (except CLOSEEDIT) for the same file return error 59.
-1
Cause A directory error occurred in an EDIT file.
Effect Processing stops.
Recovery Proceed as described at the beginning of this subsection.
-2
Cause A directory error occurred in an EDIT file.
Effect Processing stops.
Recovery Proceed as described at the beginning of this subsection.
-3
Cause A directory error occurred in an EDIT file.
Effect Processing stops.
224 IOEdit Errors
(%56)
INVALID KEY SPECIFIED
(%73)
FILE IS BAD
(inconsistent directory size value)
(record numbers in the directory are out of order)
(a record number in the directory is beyond legal range)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Guardian

Table of Contents