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:

     For example, if a partition is set up to run three languages, French, Italian and Traditional Chinese, with French as the nominated default language (and thus the development language) you would create the following message file "pairings":

Language

User Message File 1

User Message File 2

French

USR01FRA USR02FRA

Italian

USR01ITL USR02ITL

Traditional Chinese

USR01TCHI

USR02TCHI

USR01FRA contains a set of user messages in French.

USR01ITL contains exactly the same set of messages in Italian.

USR01TCHI contains exactly the same set of messages in Traditional Chinese (DBCS).

The same pattern applies to USR02xxxx.

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 LANSA for i User Guide.

     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 LANSA for i Guide or the Visual LANSA User Guide 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 Message Files from the Tools 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 LANSA for i User Guide.

Also see

2.3.4 User Message File Process Example

2.4 Considerations for Exporting/Importing Multilingual Applications