HP 3000 Manuals

File Error Returns [ HP ALLBASE/4GL Developer Quick Reference Guide ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Quick Reference Guide

File Error Returns 

The data manager returns the following values to *IOSTATUS if a file
error occurs.  If no error occurs, the data manager returns the value
00000 to *IOSTATUS.

Indexed and Serial Data File Errors and Data Set Errors 

Value                 Condition                                                                                                      

19000                 Operating system file access error detected by the
                      data file manager.

19001                 Operating system error.  The user is not the owner
                      of the file, or does not have access permission for
                      the file.

19013                 Operating system error.  Access permission denied
                      to file.

19045                 MPE-XL error - deadlock detected or locking table
                      full.

19100                 Duplicate primary key error.  The file only allows
                      unique primary key values, and a record with the
                      same primary key value already exists.

19107                 Record locked error.  Another user or process has
                      locked the record you are attempting to access.

19110                 The beginning or end of file reached during a *NEXT
                      or *PREVIOUS file operation.

19111                 Record not found.  No record has a key value
                      matching the value specified for *KEY=key.

19112                 Record not read.  No record has been read for the
                      file.

19113                 Exclusive locking error.  Another user or process
                      has opened the file under MODE *LOCK.

19130                 File locking error.  The current process cannot
                      lock the file because the file or a record in the
                      file is already locked by another process.

HP ALLBASE/SQL Errors 

(Subtract 100000 from the HP ALLBASE/4GL error message number to
determine the HP ALLBASE/SQL error message number.)

60000                 No SQL database has been defined for the
                      application.

60010                 HP ALLBASE/4GL is unable to open the HP ALLBASE/SQL
                      message catalog.

60011                 You have an SQL transaction open, continue(y/n)[n]?

60012                 Do you want to perform an SQL COMMIT WORK )(y/n)[y]

60110                 Beginning or end of file encountered by a FILE
                      *NEXT command (SQL).

60112                 A record has not been read for the file.  You
                      cannot update or delete a record with the HP
                      ALLBASE/4GL FILE command, or use the WHERE CURRENT
                      OF clause in an SQL logic block unless you read a
                      record to position the cursor.

60150                 The requested file operation cannot be performed on
                      an SQL select list.  You cannot insert a new record
                      into a select list.

60151                 The requested FILE *DELETE operation is out of
                      sequence.  You must use a SELECT command in an SQL
                      logic block to open a cursor, and a FILE *NEXT
                      command to position the cursor before you can
                      delete a record.

60153                 The requested FILE *NEXT operation is out of
                      sequence.  You must use a SELECT command in an SQL
                      logic block to open a cursor before you can use the
                      FILE *NEXT command to read a record.

102509                Index uniqueness violation.  You are attempting to
                      insert a new record that causes duplicate values in
                      a column defined as a unique index.

HP TurboIMAGE/iX Data Set Errors 

19115                 The beginning or end of detail data set chain
                      reached during a *NEXT or *PREVIOUS file operation.

19131                 Database cannot be locked because another user has
                      locked all or part of the database.

19500                 Database access has been disabled from within HP
                      TurboIMAGE DBUTIL.

19505                 The value in the *LOCKWAIT communication field is
                      invalid.

19520 to 19532        The named HP TurboIMAGE/iX library procedure
                      (intrinsic) failed.

19540                 The record listed has no HP TurboIMAGE/iX
                      attributes set for it.  Regenerate the record so
                      that HP ALLBASE/4GL can set these attributes.

19550                 The HP TurboIMAGE/iX attributes set for a field
                      specification in the named data set are invalid.

19551                 Field specifications do not match the HP
                      TurboIMAGE/iX attributes for a field in the named
                      data set.

19552                 Field specifications do not match the HP
                      TurboIMAGE/iX attributes for a field in the named
                      data set.

19553                 Field specifications do not match the HP
                      TurboIMAGE/iX attributes for a field in the named
                      data set.

45073                 You cannot close an HP TurboIMAGE/iX data set while
                      a transaction is still in progress.



MPE/iX 5.0 Documentation