-GE Lines in a Program or a Macro

In these lines, you declare explicit error messages for the controls written with specific code. Before generating the error message file, you must indicate this Program in the Comment field of the Overview tab of the transaction Data Structure.

The controls coded on the Data Element calls in Data Structures are the only ones that trigger the automatic generation of error messages. For all the errors that are detected by other controls, error messages must be defined explicitly.

You can create, reorder, or remove lines with the table buttons (whose position can be modified with the design editors preferences) or with the contextual menu that you open by right-clicking the table. You can also use the contextual menu to Copy and Paste lines. The Special copy and Special paste choices are also available in the Data Element -D Lines, Report -L Lines, and -G Lines of all the entities.
  • If you select Special copy, a dialog box opens. You must select the columns to be copied and indicate whether you want to copy their content to an external editor or to the same tab of another instance of the same entity. The copied content is then placed in the clipboard.
  • You can select Special paste to paste a content that was copied from an external editor. In this case, you must select the column where the content is to be pasted. You can also select Special paste to paste a content that was copied from another instance with Special copy.

The first column of the table can be used to select contiguous or non-contiguous lines. To select contiguous lines, click this column on the first line to select and press the shift key on your keyboard. Then, select the other lines by clicking the last line to select or by using the arrow keys on your keyboard. To select non-contiguous lines, click a line, and then select the other lines by clicking the first column and pressing the ctrl key on your keyboard.

Error
This column displays a dot on all the existing description lines that are not empty.

Moreover, if this line is not correct, this column also displays an error or warning symbol, depending on the severity of the error. A hover help indicates the source of the error.

Type
By default, the type of the new line is set to * (comment). To declare an error message, you must select a U type.
Link
You cannot use this column in this tab.
Description
You must enter the following information:
  • The error type on one position (values 0 to 5 forbidden)
  • The error code on three positions
  • The severity of the error on one position
  • The error label

Feedback