z/OS Program : QMGRWAIT |
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. QMGRWAIT 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. QMGRWAIT 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:
Included with QMGRWAIT are some sample Cobol programs that will demonstrate how to use QMGRWAIT. The programs are fully functional and are included both as source code and as load modules. If you choose to install QMGRWAIT then you need to follow the steps below. A document detailing how to use the QMGRWAIT program can be found here or in the PDS that is received.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Number of unique visitors 416
Copyright © Abbydale Systems LLC 2015-2024
Abbydale Systems LLC Lic. 802696149. All rights reserved.