z/OS Program : MQERROR |
As ever, you use this free program at your own risk. Feel free to use the software on this site but please honor the copyright. MQERROR is a little assembler program that can be called whenever an MQ enabled program detects a MQ Reason code of 2161 (Queue Manager is Quiescing) is returned from a MQ API (Application Program Interface) call. All well-behaving MQ enabled programs must handle non-zero return codes in a manner that applies to the application requirements, but a retrun code of 2161 requires special handling. MQERROR will issue a write to operator with reply (WTOR) letting the opertor know that the calling job is trying to access a queue manager that is quiescing (closing down). However, if you don't want a WTOR to be issued in can issue a non-delete write to operator (WTO) instead. The options available are:
MQERROR is also packaged with QMGRWAIT along with some sample Cobol programs that will demonstrate how to use both QMGRWAIT and MQERROR. All the programs are fully functional and are included both as source code and as load modules. If you choose to install MQERROR without QMGRWAIT then you need to follow the steps below. A document detailing how to use the MQERROR program can be found here or in the PDS that is received.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Number of unique visitors 409
Copyright © Abbydale Systems LLC 2015-2024
Abbydale Systems LLC Lic. 802696149. All rights reserved.