The Credit Check sample with multiple queue managers on z/OS
We can use the Credit Check sample application to demonstrate distributed queuing by installing the sample on two queue managers and CICSĀ® systems (with each queue manager connected to a different CICS system).
When the sample program is installed, and the trigger monitor (CKTI) is running on each system, you need to:- Set up the communication link between the two queue managers. For information on how to do this, see Configure distributed queuing.
- On one queue manager, create a local definition for each of the remote queues (on the other queue manager) to use. These queues can be any of CSQ4SAMP.B n.MESSAGES, where n is 3, 5, 6, or 7. (These are the queues that are served by the checking-account program and the agency-query program.) For information on how to do this, see DEFINE QREMOTE and DEFINE queues.
- Change the definition of the namelist (CSQ4SAMP.B4.NAMELIST) so that it contains the names of the remote queues to use. For information on how to do this, see DEFINE NAMELIST.