The following is an example of debug messages for a typical CP-AMS database pattern match:
LG $AMS-MTCH GROUP = ’CMS’, NBRF= 1 LG $AMS-MSGF CMS ABORT FIN LG $AMS-HILT YELLOW LG $AMS-HOLD CMS-ABORT LG $AMS-ALRM$ 0
The message CMS ABORT FIN was matched in the active database by the pattern identified as pattern 1 in group CMS. The actions that would have occurred are highlighting the message in yellow, holding the message in the hold pane (with associated hold-id CMS-ABORT), and issuing console alarm 0.
In the following example, the matched message contains non-ASCII characters. Because of the limitations of console input, blanks are inserted into the message text to avoid rejection of the LG command.
LG $AMS-MTCH$ GROUP = ’CMS’, NBR = 1 LG $AMS-INFO$ BLANKS SUBSTITUTED FOR NON-ASCII CHARACTERS LG $AMS-MSG $ BERPR FEN DER DATEN BERTRAGUNG LG $AMS-SPRS$ LG $AMS-INFO$ BLANKS SUBSTITUTED FOR NON-ASCII CHARACTERS LG $AMS-DISP$ BERPR FEN DER DATEN BERTRAGUNG ZWISCHEN LG $AMS-DISP$ DRUCKER UND COMPUTER LG $AMS-ALRM$ 0
Note that in this example an $AMS-INFO$ message precedes the $AMS-MSG $ message and the $AMS-DISP$ message that contained non-ASCII text.