Text can be stored externally from the DDS source code in a message description and is bound only to the display format at run time.
This technique can be used for:
In the DDS for the display file, the message is specified through the MSGID (Message Identifier) keyword. The message has to be entered into the specified message file using the ADDMSGD (Add Message Description) command.
For example:
A FLD-name length line pos MSGID(message-ID [*libl/]message-filename) ^ includes expansion space ADDMSGD MSGID(xxxnnnn) MSGF(library-name/message-file-name) + MSG('Text ')
This technique allows you to create any number of message files in different languages and different libraries, with one DDS source code and display file object. During run time, you assign another message file by setting the library list accordingly. The following figure is an example.