Borrowed Messages and User-Defined Messages

Previous Next

See Also

System messages can be classified into two types: the messages borrowed from USoft Developer and the messages defined for your application.

Borrowed system messages are the system messages which you have not explicitly defined in your application repository, but are still displayed at the application's runtime. For example, the following error message is a borrowed message.

In this case, the words "Reservations" and "Name" are parameters which are supplied at runtime according to the structure of your application.

The message itself, which looks like:

<parameter1>: Field "<parameter2>" is mandatory.

is borrowed from USoft Developer.

User-defined system messages are the system messages that you have defined in your application repository.

These two types of system messages are usually stored in separate flat files (i.e. if the application has not been translated). If you open your file manager and go to the APP subdirectory of your USoft installation directory, you will see some files with the extension ".smg":

In this case, the file "my_application.smg" contains the user-defined system messages for the application "my_application". Other files with the extension ".smg" contain the system messages of USoft Developer. The borrowed messages are read from these files.

NOTE:

If you issue the Load System Messages command, all the system messages, including the borrowed messages, are loaded into the T_SYS_MSG table. If you then issue the Create System Message File command, a new my_application.smg file, which also contains the borrowed messages, will be created. See "Translating Your Application" for more information.