Creating a Message Class
Use
You use this procedure to create new message classes in your program.
Procedure
- In the initial statement (for example, REPORT) or directly in the statement MESSAGE-ID <id>, enter a parameter value of up to 20 characters as a message ID.
- Double-click the message ID.
The system asks you whether you want to create a new message class.
- Choose Yes.
The Message maintenance screen appears.
- On the Attributes tab page, in the Short text field, enter a short description of the class.
- Choose
with the quick info text Save.
Result
You can add messages to your class by choosing the Messages tab page. You can always return to the Message maintenance screen by double-clicking a message ID or a message number where it appears in your code.