To work with the error messages of the current application area or of the environment, you must either:
Choose the Error messages tab of the Object manager.
Click the Error messages button in the third button panel of the Question/Answer programming interface dialog box.
To work with error messages at the application area level, the "Message file" input field must be filled-in in the Miscellaneous tab of the Modify the logical level information dialog box for an application area.
These messages will be used during the generation of programs which are private to the application area.
Lists
Error messages
List of error messages of the application area if an error message file was specified when creating the application area. Otherwise, list of all the error messages of the environment.
Each message is identified by its prefix, its number, and its description.
The sort sequence can be defined by clicking the column headers of the list.
Several filters (prefix, number and description) located above the list can be used to limit the error messages displayed.
You can use the Description filter to search for messages relative to their description, to the level 1 message text, or to the level 2 message text. To initiate the search, simply press Enter in one of the filter fields.
Multiple-selection list.
Search mode
This combo lest you specify what the Description field should apply to: to the message description, level 1 message text or level 2 message text.
Note: this list, along with the Number and Description filters, are grayed out if the special value [CORR_DEF] is selected in the Prefix filter.
Mandatory selection.
With correction environments, there is a check mark to the left of each error message name.
A red check mark shows that the error message is being held by the default correction.
A black check mark shows that the error message is being held by a correction other than the default correction.
Context-sensitive menu
The following options are accessible at all times via the context-sensitive menu.
In addition, there may be buttons to perform the same actions on the right-hand side of the window, depending on the settings in the
Create/Modify a software engineer dialog box's Preferences tab.
Create
This option opens a dialog box which is used to create an error message.
Modify
This option opens a dialog box which is used to display or modify the general characteristics of the selected error message.
This option is not active when no error message is selected in the list.
Copy
This option opens a dialog box that lets you copy error messages.
This option is not active when no error message is selected in the list.
Delete
This option deletes the selected error messages, after confirmation.
When the deletion is validated, the list of error messages is updated accordingly.
This option is not active when no error message is selected in the list.
This option prints the description of the selected error messages.
The printing job is submitted to the Job manager.
This option is not active when no error message is selected in the list.
Hold
This option opens a dialog box enabling the selected error messages to be held by the default correction.
This option is only visible in correction environments.
It is only active when one or more error messages are selected in the list and the user has a default correction.
Radio buttons
Environment
App. area
These radio buttons display either the error messages of the environment, or the error messages of the application area (if they exist).
Generation
List
Source type
Source type of programs which will use the error messages.
Possible values:
Adelia |
Programs of ADELIA type. |
Visual Adelia |
Programs of Visual Adelia type (VADELIA). |
Adelia Web |
Programs of Adelia Web type (WADELIA). |
Adelia Mobile |
Programs of Adelia Mobile type (MADELIA). |
Client
Depending on the generation source type, the following radio buttons/check boxes are available.
Adelia Context
C/Windows
The error message file will be generated on the PC in the form of a Btrieve file which will be placed in the Windows - Client object directory.
AS/400
The error message file will be generated on AS/400 in the form of a *MSGF object which will be placed in the AS/400 - Client object library.
Replace
Add / Modify
These radio buttons display the two possible generation modes for the AS/400 error message file.
Visual Adelia Context
C/Windows
The error message file will be generated on the PC in the form of a DLL which will be placed in the Windows - Client object directory.
Java
The error message file will be generated on the PC, in the form of a ".properties" file which will be placed in the Java - Client directory.
Cloud
The error message file will be generated on the PC, in the form of a ".properties" file which will be placed in the WEB-INF/classes subdirectory of the Cloud - Client site root.
Adelia Web context
The error message file will be generated on the PC, in the form of a ".properties" file which will be placed in the WEB-INF/classes subdirectory of the Web - Client site root.
Adelia Mobile context
The error message file will be generated on the PC in the form of a DLL (Adelia Mobile and Visual Adelia Batch programs without report, with Mobile client). The selected versions of the DLL will be generated (ARMV4 or Intel x86).
ARMV4
The version of the DLL designed for ARM processors will be generated.
Intel x86
The version of the DLL designed for x86 processors will be generated.
Server
Check boxes (Visual Adelia, Adelia Web and Mobile generation only)
AS/400
The error message file will be generated on AS/400 in the form of a *MSGF object which will be placed in the AS/400 - Server object library.
Windows
The error message file will be generated on the PC in the form of a DLL which will be placed in the Windows - Server object directory.
Java
The error message file will be generated on the PC, in the form of a ".properties" file which will be placed in the Java - Server directory.
Buttons
Generate
This button submits a generation job of the error message file, by means of the Job manager.