You create explicit (or user-defined) error messages in the -GE Lines subtab of the Dialog or Screen -G Lines tab.
You must create explicit error messages if you have described nonstandard errors with specific code. There are two types of explicit error messages: errors on Data Elements (related to a Screen), and user errors (related to a Dialog).
Positions | Contents |
---|---|
1 - 6 | Data Element code |
Positions | Contents |
---|---|
1 - 3 | Blank |
4 | Error code (alphanumeric character except 0 and 1) |
5 | Blank |
6 | Error message |
F NUCLI
U 3 THIS CLIENT NUMBER IS NOT AUTHORIZED
U A THE TYPE DOES NOT CORRESPOND TO THIS CLIENT
Positions | Contents |
---|---|
1 - 4 | Error code (specific code) |
5 | Blank |
6 | Error message |
U AV01 DATE AND NATURE OF NOTICE MUST CORRESPOND
You must then generate the error messages. To do so, you must create an Error Message instance and associate it with the Dialog. The Error Message instance groups the generation options of the error messages for this Dialog. You must then generate the Error Message instance.