You use this procedure to create new message classes in your program.
...
1. 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.
REPORT STEST MESSAGE-ID smsgclass.
Messages are available system-wide and the ID of the message class must be unique.
2. Double-click the message ID.
The system asks you whether you want to create a new message class.
3. Choose Yes.
The Message maintenance screen appears.
4. On the Attributes tab page, in the Short text field, enter a short description of the class.
5. Choose with the quick info text Save.
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.