Rational Developer for System z

Generation wizard of online error messages

You can generate the error messages and the help messages indicated on the -GE Lines of Screens and Dialogs. If necessary, you can take into account a specific error message file. This file replaces 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. However you can select all those displayed in the tree by clicking Select all.

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

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

You can enter a file name without an extension.

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

You must then integrate this file into the error messages file used by the applications. You can load into an indexed file or a DB2 database or update this file. In both cases, you are responsible for this integration process.

Specific error message 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 Browse... to easily select this file, which must have a .properties extension.

This file contains the error messages which replace the standard messages displayed when the application programs detect input errors. The errors are detected by the controls specified in the Segment -CE Lines tab. This file is created only when the standard messages are not appropriate.

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:
Figure 1. List of the standard error messages to be customized
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 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)