A break-handling program can be called whenever a message of equal or higher severity than the severity code filter arrives on a message queue that is in break delivery mode.
To request a break-handling program, you must specify the name of the program and break delivery on the same Change Message Queue (CHGMSGQ) command. The break-handling program must receive the message with the Receive Message (RCVMSG) command so the message is marked as handled and the program is not called again. There is an IBM-supplied break-handling program that you can use by default on the CHGMSGQ command. For example:
CHGMSGQ MSGQ(name) DLVRY(*break)