Previous Topic: Security ConsiderationsNext Topic: Concurrency Considerations


Use of an Exception Message Queue

The EXCPMSGQ parameter on the command Go to Menu (YGO) allows you to specify an "exception message queue". If an exception message queue is specified, copies of any unmonitored exception messages detected by the menu display program will be resent to the nominated message queue. A copy of the preceding diagnostic messages (if any) will also be sent; each set of messages will be preceded by a Toolkit message (YMN0044).

The EXCPMSGQ facility enables you to alert your system support staff when a problem occurs; for instance when an application program has crashed.

You may want to do the following:

CRTMSGQ MSGQ(QGPL/EXCPMSG) TEXT(‘Exception message queue’)
 YGO MENU(MASTER) EXCPMSGQ(QGPL/EXCPMSG)