Ioedit Errors; Error Message Forms; File-System Error Codes - HP Guardian Errors Manual

Procedure errors and messages manual
Table of Contents

Advertisement

16 IOEdit Errors

IOEdit allows the run-time libraries of the compilers supported on the operating system to read and
write EDIT format files. An application process can use the following IOEdit procedures to access
files IOEdit Errors.
BACKSPACEEDIT
CLOSEALLEDIT
CLOSEEDIT
CLOSEEDIT_
COMPLETEIOEDIT
COMPRESSEDIT
DELETEEDIT
EXTENDEDIT
GETINCREMENTEDIT
GETPOSITIONEDIT
INCREMENTEDIT
Like the sequential I/O (SIO) procedures, IOEdit is capable of reading and writing EDIT files. EDIT
files have a file code of 101.
Most error messages returned by IOEdit are the same as the file-system error codes described in
"File-System Errors" (page
meanings are further explained here.
A status or code of 0 indicates that no error occurred.

Error Message Forms

IOEdit returns errors in three different forms:
Errors returned as positive integers, using the same codes as the file-system errors described
in
"File-System Errors" (page
when returned by IOEdit, as described below.
Errors returned as negative integers. These errors are unique to IOEdit and can occur only
from operations on EDIT files.
Errors that result in the immediate abnormal termination of the calling process. No recovery
is possible. IOEdit does not return to the caller but instead writes a message to the home
terminal and calls ABEND.
The classes of IOEdit errors are discussed in the following subsections.

File-System Error Codes

Errors reported using positive integers are generally the same as those returned by the file system.
The positive IOEdit error codes that do not have the same meaning as the file-system errors described
in
"File-System Errors" (page 19)
2
(%2)
Cause IOEdit returns this error when a file is specified that is not an EDIT file (unstructured, file
code 101) or is not on a disk device.
Effect IOEdit cannot operate on this file.
222 IOEdit Errors
19). Some have special meaning to IOEdit. The messages with special
19). These errors can assume a somewhat different meaning
are presented here.
OPERATION NOT ALLOWED ON THIS TYPE OF FILE
INITIALIZEEDIT
NUMBEREDIT
OPENEDIT
OPENEDIT_
PACKEDIT
POSITIONEDIT
READEDIT
READEDITP
UNPACKEDIT
WRITEEDIT
WRITEEDITP

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Guardian

Table of Contents