Sequential I/O Errors; Message Descritptions - HP Guardian Errors Manual

Procedure errors and messages manual
Table of Contents

Advertisement

3 Sequential I/O Errors

The following error codes are produced by the sequential I/O (SIO) procedures. An application
process can use the following SIO procedures to sequentially access files: CHECK^BREAK,
CHECK^FILE, CLOSE^FILE, GIVE^BREAK, NO^ERROR, OPEN^FILE, READ^FILE, SET^FILE,
TAKE^BREAK, WAIT^FILE, and WRITE^FILE. The error number is returned as the function result
from the procedure call. Except for errors 521, 532, and 533, all the error codes in this section
indicate fatal coding errors.
Interactive users can obtain a short explanation of most SIO errors by entering the following from
the TACL prompt:
1> ERROR number
For further information about the sequential I/O (SIO) procedures, refer to the Guardian
Programmer's Guide and the Guardian Procedure Calls Reference Manual.

Message Descritptions

This subsection lists each SIO error code and provides a description of each code.
512
Cause The SIO procedure call contained an invalid parameter.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Correct the parameter in error.
513
Cause The file control block (FCB) did not contain a file name.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery To correct this error, assign a file name before calling OPEN^FILE. You can assign a file
name by using the ALLOCATE^FCB macro, the ALLOCATE^FCB^D00 macro, the SET^FILE
procedure, or the command interpreter ASSIGN command.
514
Cause SIO procedures do not support the specified device type. This error is returned only by
OPEN^FILE.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Do not attempt an SIO operation on devices of this type.
515
Cause This error results if:
Meaningless access was specified (for example, a read from $0 or a line printer)
Read-write access was specified for an EDIT file or in conjunction with blocking.
Effect The procedure sets the error code and returns without performing the requested operation.
SIOERR^INVALIDPARAM: An invalid parameter was specified.
SIOERR^MISSINGFILENAME:
SIOERR^DEVNOTSUPPORTED: The SIO procedures do not
support the specified device type.
SIOERR^INVALIDACCESS: The specified access is
invalid.
A file name was missing.
Message Descritptions 129

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Guardian

Table of Contents