Generating a Batch or Dialog Error Message
You must generate an Error Message to take into account the messages that are associated with a Data Structure or some of its Segments (for a Program), or with a Dialog (standard, client, or server) or some of its Screens or Servers. This generation is required if you customized standard error messages, described error with specific code, or indicated online help (for standard or client Dialogs only).
Before you begin
Procedure
- Right-click an Error Message in the Design Explorer view and select .
- Enter an rpp –generate command line from a command prompt.
Results
The generation produces a .txt file under the Error Message instance in the Design Explorer view. To see its contents, right-click the file and select . The generation also produces the corresponding .txtpdp metadata file. This file can be viewed in the Package Explorer view. It must not be edited but must be assigned the same version number as the other generated files.
What to do next
You must then integrate this .txt file into the error message file that is used by the applications. Perform a direct load into an indexed file or a DB2 database, or an update of this file. In both cases, you are responsible for this integration.