Rational Developer for System z, Version 7.5

Creating explicit error messages

You create explicit (or user-defined) error messages in the -GE Lines section of the -G Lines tab.

There are two types of explicit error messages: Errors on Data Elements, and Dialog-related errors:
  • ERRORS ON DATA ELEMENTS
    Two types of lines must be described: an F-type and a Utype. It is also possible to specify C-type lines.
    Note: Several U-type lines may follow an F-type line.
    • Type = F (Data Element call)

      Positions in the Description field:

      Position Contents
      1 to 6 Data Element code
    • Type = D (error message)

      Positions in the Description field:

      Position Contents
      1 to 3 Blank
      4 Error code (alphanumeric character except ’0’ and ’1’)
      5 Blank
      6 Error message
      Example:
         F NUCLI                                           
         U    3 THIS CLIENT NUMBER IS NOT AUTHORIZED       
         U    A THE TYPE DOES NOT CORRESPOND TO THIS CLIENT
    Note: To be taken into account, the error must be implemented via specific code.
  • DIALOG-RELATED ERRORS
    • Type = U (error message)

      Positions in the Description field:

      Position Contents
      1 to 4 code of the error
      5 Blank
      6 Error message
      Example:
           U AV01 DATE AND NATURE OF NOTICE MUST CORRESPOND 
    Note: To be taken into account, the error must be implemented via specific code.
Related concepts
Error messages
Related reference
-GE Lines section

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)