Add or change messages for a parse exit routine

If you customize the DB2 UDB Option for CICS by adding a parse exit routine, you can add additional messages to the AMD2 message table to report on the processing of your routine. A sample parse exit routine ships with the DB2 UDB Option for CICS with a corresponding message number 33400 (“Error 33400”) in the AMD2 message table.

You can modify the sample routine entries in the translate and text tables, or you can create new entries. The changes to the AMD2 message table for these two options are shown in Table 5-4.

Table 5-4: Adding or changing messages for a parse exit routine

Option

Message number (MSGNO=)

Translate table changes

Text table changes

For coding the changes, see

Modify the sample parse exit routine message.

33400.

Change SYRTMAMX properties as appropriate.

Replace message text as appropriate in the SYRTMAMT entry for each language in use.

“Modifying a translate table entry”.

“Modifying a message in the text table”.

Create new messages.

See “Selecting an error message” for available numbers.

Add an SYRTMAMX entry for each new message.

Add messages to the SYRTMAMT entry for each language in use.

“Adding a translate table entry”.

“Adding a message to the text table”.