Data File and Data Set Errors [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
Data File and Data Set Errors
These errors are caused by problems encountered by the KSAM file manager,
the serial file data manager, or the HP TurboIMAGE/iX data manager while
attempting to read or update an application's data files. Some errors
are fatal and cause HP ALLBASE/4GL to abort the current application.
Where a non-fatal condition is encountered, the error number is placed
into the communication area field *IOSTATUS. You can interrogate the
contents of *IOSTATUS from the application logic.
The FILE logic command allows you to specify an optional error command
that is executed if an error occurs while the file command is being
executed. If you specify an error command for a KSAM file, error
messages associated with errors 19 100, 19 110, and 19 111 will not be
displayed on the terminal screen. All other KSAM errors are displayed.
If you don't specify an error command in the FILE command, all error
messages are displayed.
The messages in this section may occur for any one of the data managers
listed above. However, there are errors that only occur for the HP
TurboIMAGE/iX data manager. These errors are listed on page C-11.
19000 HP ALLBASE/4GL data error - access to file <file
name> has failed
Error type message. This error is caused by an
MPE/iX or HP ALLBASE/4GL file system problem that
has been detected by the HP ALLBASE/4GL data
manager.
19100 The primary key value already exists, and
duplicates are not permitted for file <file name>
Error type message. You are trying to add a record
to a file and the record has the same primary key
value as a record already on the file. That is, a
duplicate key error has occurred. This error will
only occur when the file's primary key has been
defined as having unique values.
19101 Internal HP ALLBASE/4GL error - attempt to access
unopened file <file name>
Abort type message. You are trying to access a
file that has not been opened by HP ALLBASE/4GL.
This error should be documented and reported to HP.
19102 Internal HP ALLBASE/4GL error - Bad argument to
call for file: <file name>
Error type message. This indicates an HP
ALLBASE/4GL data manager error. It should be
documented and reported to HP.
19103 The key descriptor of <file name> is outside
defined range
Error type message. One or more elements that make
up the key description is outside the range of
acceptable values for that key. The file may need
reformatting.
19105 Data storage error - the contents of file: <file
name> are corrupt.
Abort type message. The format of the data file
has been corrupted, possibly as the result of a
system failure.
19106 Data storage error - Unable to update index of
file: <file name>
Abort type message. This error may occur during
data file creation or data file reformatting while
an application is under development. HP
ALLBASE/4GL requires exclusive access to the file
during file creation or reformatting.
19107 Unable to access record in file: <file name> - It
is locked
Error type message. This is a warning message only
and indicates that there has been an attempt to
access a record that is locked by another user of
that file. HP ALLBASE/4GL tries a number of times
to see if the record is still locked before this
error is returned.
19108 It is not possible to re-add the index in file:
<file name>
Abort type message. This error may occur during
data file creation or data file reformatting while
an application is under development. This error
should be documented and reported to HP.
19109 Data storage error - unable to delete Primary key
index for file: <file name>
Warning type message. This error may occur during
data file reformatting while an application is
under development.
19110 Data storage warning - beginning or end of file
<file name>
Warning type message. This message indicates that
the end or beginning of the file has been reached
during a FILE *NEXT or a FILE *PREVIOUS logic
command.
19111 Data storage warning - key value specified does not
exist in file <file name>
Warning type message. This message indicates that
no record could be found that matched the *KEY=
argument in a FILE *READ, FILE *FIND, or a VALIDATE
logic command.
19112 Data storage error - record has not been read for
file <file name>
Error type message. For KSAM files and HP
TurboIMAGE/iX data sets, the FILE *MODIFY command
can only operate on the most recent record
accessed. For KSAM files and HP TurboIMAGE/iX data
sets that have non-unique primary keys, the FILE
*DELETE command can only operate on the most recent
record accessed.
19113 File <file name> is exclusively locked
Error type message. The file is currently being
accessed by another user who has exclusive access
to the file. This error may occur if the file is
being reformatted.
19114 File Name <file name> is too long
Warning type message. The HP ALLBASE/4GL file name
(excluding the group and account name if specified)
cannot be longer than seven characters.
19130 Unable to lock file <file name>. The file or a
record is already locked
Error type message. The current HP ALLBASE/4GL
process is attempting to access a file under MODE
*LOCK, and another user has already locked the file
or a record in the file.
19451 The file <file name> does not exist
Error type message. The KSAM file manager or the
HP TurboIMAGE/iX data manager has detected that a
file does not exist. Check the file, group, and
account names.
19990 HP ALLBASE/4GL data error - unable to restore
current record in file <file name>
Error type message. This message may occur if the
pointer position for the current key has been lost
and the current process is attempting a *MODIFY,
*DELETE, *NEXT, or *PREVIOUS file operation. This
situation may occur if the value of *INDEXNO has
been changed, or another user has deleted the
current record.
19991 HP ALLBASE/4GL Record Layout size and physical
record size differ
Warning type message. This error may occur if the
HP ALLBASE/4GL record layouts for the file have
been changed and the file has not been reformatted.
Use the data file reformat screen to reformat the
file.
19992 Internal HP ALLBASE/4GL error - internal lock flag
error
Abort type message. This is an internal HP
ALLBASE/4GL error. It should be documented and
reported to HP.
19993 The specified *INDEXNO is greater than the number
of indexes for file <file name>
Abort type message. The current value of *INDEXNO
is higher than the total number of keys defined for
the file.
19994 HP ALLBASE/4GL Revision error - the correct user
data manager for the file type has not been
installed
Abort type message. This is an internal HP
ALLBASE/4GL error. It should be documented and
reported to HP.
19995 *WRITE operation may not be used because the
current index of file <file name> permits duplicate
values.
Error type message. If the file has been defined
as allowing duplicate values for the primary key,
then any updates to the file should be performed by
using the *INSERT argument to add a new record and
the *MODIFY argument to change one that already
exists.
19996 You cannot change file <file name>. It is in read
mode
Error type message. You are trying to alter the
contents of a file which has not been specified as
being updated in the current process. Check the
MODE command and ensure that the argument is
*WRITE, *LOCK, or *UNLOCK, and you have specified
the correct file name.
19997 Internal HP ALLBASE/4GL error - invalid file
operation
Error type message. This is an internal HP
ALLBASE/4GL data manager error. It should be
documented and reported to HP.
19998 Internal HP ALLBASE/4GL error - invalid data pool
number
Abort type message. This is an internal HP
ALLBASE/4GL error. It should be documented and
reported to HP.
19999 Record Length for File: <file name> is greater than
the physical record size
Abort type message. This error may occur when the
total length of the default record layout of the
file is greater than the length of the record
layout defined when the file was created. This
situation may occur if you modify a record layout
without reformatting the data file.
MPE/iX 5.0 Documentation