HP 3000 Manuals

BUFCHK Errors [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation


HP RPG/iX Reference Manual

BUFCHK Errors 

The following errors may occur when you use the BUFCHK option (see the
Option Type Field (columns 54-59) of the File Description Continuation
line).  In addition to showing the cause of the error and remedy for it,
an *ERROR entry is listed for each message.  *ERROR is a one-character
predefined field that contains the error code.  You can test it in
Calculation Specifications.

--------------------------------------------------------------------------

 0-10    MESSAGE    INTERNAL OR INTRINSIC ERROR

         CAUSE      Internal RPG error.

         ACTION     Contact HP Support Engineering.

         *ERROR     F.

--------------------------------------------------------------------------

 11      MESSAGE    ATTEMPTED UPDATE BEFORE INPUT OF FIRST RECORD.

         CAUSE      Attempted to perform record update before reading a
                    record from a file.

         ACTION     Correct the program and recompile.

         *ERROR     U.

--------------------------------------------------------------------------

 12      MESSAGE    ATTEMPTED UPDATE ON SAME RECORD OR AN INTERVENING
                    "ADD" RECORD.

         CAUSE      You tried to update a record that has already been
                    updated (you did not read a new record).  Or, the
                    current record was not written before you attempted to
                    add a new one (the current record updates the added
                    record).

         ACTION     Correct the program and recompile.

         *ERROR     U.

--------------------------------------------------------------------------



MPE/iX 5.0 Documentation