SYSERR Utility

When you develop a Natural application, you may want to separate error or information messages from your Natural code and manage them separately. This makes it easy for you, for example, to standardize messages, to have predefined message ranges for different types of message, to translate messages into other languages or to attach to a message a long text that explains it in more detail.

The SYSERR utility provides the option to write application-specific messages. In addition, you can use the SYSERR utility to customize the texts of the existing Natural system messages.

Notes:

  1. If Natural Security (NSC) is installed in your environment, the administrator can restrict the use of SYSERR Utility functions on a user-specific basis. For detailed information, see SYSERR Utility Profiles in the Natural Security documentation and ask your NSC administrator.
  2. You can use the USR0020N application programming interface (API) in the Natural system library SYSEXT to read messages from the system file FNAT or FUSER. This helps you, for example, to display long messages as part of your user-defined help system in an application without having to use the Natural system library SYSERR. For more information, see the description of the SYSEXT Utility.

The SYSERR Utility documentation is organized under the following headings:

General Information on Messages
Invoking SYSERR
Functions
Parameters
Direct Commands
Upper Case Conversion- ERRUPPER
Replacing Characters - ERRCHAR
Managing Messages in Different Libraries