Rational Developer for System z, Version 7.6

Generation wizard of online error messages

Using this wizard, you can generate the error messages and the documentary help messages indicated on the -GE Lines of Screens and Dialogs while taking into account, if necessary, an error messages specific file which will replace the standard file for any input errors automatically detected by the application programs.

Selected Screens or Dialogs
This tree displays all the Screens or Dialogs present in the current location, according to the entities from which you have opened the generation wizard.

By default, only the Screen or the Dialog from which you have opened the wizard is selected but you can select all those displayed in the tree by clicking the Select all button.

Destination
Enter or select the file (with a .txt extension) which will contain the generated error messages.

You can click the Browse... button to easily locate the file.

You can enter a filename without an extension.

If the file you have indicated does not exist yet, it will be automatically created. However all the folders which lead to the file must exist.

You will then have to integrate this file into the error messages file used by the applications, via:
  • A direct load into an indexed file or a DB2 database,
  • Or an update of this file.
In both cases, you are responsible for this integration process.
Error messages specific file
This field is optional. You fill it in only if you have already created a specific file for the error messages. If so, click the Browse... button to easily select this file, which must have a .properties extension.

This file contains the error messages which will replace the standard messages displayed when the application programs detect input errors, based on the controls specified in the Segments' -CE Lines tab. This file is created only when the standard messages are not appropriate for the applications of the current Repository.

There are five standard error messages related to Data Elements and three standard labels related to Segments. The specific file must then contain the following lines, with some or all the labels (second part of each line) modified:
INVALID_ABSENCE_FOR_THE_FIELD = INVALID ABSENCE FOR THE FIELD
INVALID_PRESENCE_FOR_THE_FIELD = INVALID PRESENCE FOR THE FIELD
INVALID_VALUE_FOR_THE_FIELD = INVALID VALUE FOR THE FIELD
NON_NUMERICAL_CLASS_FIELD = NON-NUMERICAL CLASS FIELD
NON_ALPHABETICAL_CLASS_FIELD = NON-ALPHABETICAL CLASS FIELD
INVALID_CREATION_RECORD = INVALID CREATION RECORD
INVALID_DELETE_MODIFY_RECORD = INVALID DELETE/MODIFY RECORD
END_OF_LIST = END OF LIST
ABSENCE_OF_RECORD = ABSENCE OF RECORD
Language code for error messages
You can specify the generation language (EN or FR) of the error messages.
Generation option
Select one of the following three options:
  • C1: Error messages defined for the Dialog and for each Screen.
  • C2: Error messages generated through C1 option plus documentary help messages.
  • C3: Error messages for the Dialog only. This option cannot be selected from a Screen.

Terms of use | Feedback

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