2.3.3 User Message Files
You may specify up to ten User Message Files for each language. These message files are used to execute OVRMSGF commands when entering applications defined within this partition.
Points to note:- The ten pairs of message files allow messages to be split up into different message files by application.
- The same number of User Message Files specified for the default language must be specified for each language in your partition. That is, message file "pairing" is mandatory.
For example, if a partition is set up to run two languages, French and Italian, with French as the nominated default language (and thus the development language). You would use the following message file "pairings":
Language |
User Message File 1 |
User Message File 2 |
French |
USR01FRA | USR02FRA |
Italian |
USR01ITL | USR02ITL |
USR01FRA contains a set of user messages in French.
USR01ITL contains exactly the same set of messages in Italian.
To create User Message files in a client server environment with IBM i as the server:
a. Create the files on the IBM i as described in 2.2 Specifying a Partition's Multilingual Attributes
b. Export them to the Visual LANSA system as described in Add Message Files to PC Export Lists in the .
If you are exporting from an IBM i to Visual LANSA all languages are selected by default. If you are exporting from an IBM i to an IBM i, you can select the language to be exported.
To create User Message files in a Visual LANSA independent Visual LANSA system:
a. Create User Message files as described in 2.2 Specifying a Partition's Multilingual Attributes (you will need to scroll down the page).
Maintaining Message Files
For LANSA on both the IBM i and PC using Visual LANSA, the content for your message file is usually specified when you are setting some rules, such as for a range of values (refer to the
or the for more information), however you can add or amend rules using the message maintenance facilities.Using Visual LANSA
1. Define the message file name as described in 2.2 Specifying a Partition's Multilingual Attributes.
2. Select
from the menu.3. Adjust the text or add new messages, as described in Message File Maintenance in the Visual LANSA Administrator's Guide.
Using IBM i
1. Define the message file name as described in 2.2 Specifying a Partition's Multilingual Attributes.
2. Add, amend or delete messages using the ADDMSGC, CHGMSCD and DLMSGD commands that are described in
.Also see
2.3.4 User Message File Process Example
2.4 Considerations for Exporting/Importing Multilingual Applications