ERRORNBR lookup table?

 3 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Janice
Basic Member
Posts: 7
Basic Member
    I'm trying to trace an error in HR54.1.  Where is the translation table that translates the error number to the error message that gets displayed to the user?  In the code, the error number is set like this:

    EVAL                 E@ERRORNBR     = 133

    I'm trying to find a table where I can see what error number 133 is.

    Thank you.
    Greg Moeller
    Veteran Member
    Posts: 1498
    Veteran Member
      From LID try msgmnt command.
      Input your Product Line and your program MA54

      You should have the associated number (133) and the return value to the user here.
      Not sure which table that would be stored in however, I bet it's in GEN.
      Janice
      Basic Member
      Posts: 7
      Basic Member
        Thanks Greg.  msgmnt works for me.  I remember using msgmnt before; I just couldn't remember the command.  I looked around in GEN, but couldn't find an error message table.  However, msgmnt is good enough.  Thanks.
        Kwane McNeal
        Veteran Member
        Posts: 479
        Veteran Member
          The GEN table would be CRTERRMAP, or DBDBCEM, depending on platform and version.