Dialog error messages: automatic and explicit error messages

Error messages are automatically generated from the standard controls that are completed when a Screen calls a Segment or a Data Element. However, you can override these automatic messages, or declare explicit messages for errors that are described in specific code.

Automatic error messages

Automatic error messages correspond to the controls that are specified on the Screen -CE Lines and to each file access.

Error messages are divided into two parts:
  • A message that corresponds to the error type and therefore to the control or file access type. These standard error messages are stored in one of the system files. However, they can be modified on-site by the administrator.
  • The Segment or Data Element label, except for the Segments that are used in display.
Four standard error messages for validations on Data Elements are generated:
  • INVALID ABSENCE FOR THE FIELD
  • INVALID PRESENCE FOR THE FIELD
  • NON-NUMERICAL/NON-ALPHABETICAL CLASS FIELD
  • INVALID VALUE FOR THE FIELD
The following standard file access error messages are automatically generated for Segments:
  • Segments that are used for input:
    • INVALID CREATION RECORD
    • INVALID MODIFY/DELETE RECORD
    Both messages include the Segment .
  • Segments that are used for display:
    • END OF LIST
These automatically generated error messages can be customized to your needs in the -GE Lines section of the -G Lines tab.

Explicit error messages

Only the controls that are entered on the Screen -CE Lines and file accesses trigger the automatic generation of error messages.

For other error types that are detected through other controls, error messages must be explicitly entered. To do so, open the -GE Lines section of the -G Lines in the Screen or Dialog, depending on the type of error.


Feedback