Defining Websphere MQ Channels |
As ever, you use this
free code at your own risk. Feel free to use the free software on this site but please honor the copyright. This page is discusses how to define MQ objects on a z/OS systems in order to establish channel triggering but the same principles apply to all WebSphereMQ platforms. To use the definitions on other platforms you will need to use the RUNMQSC program for executing the commands. The intent of this page is to provide the definitions required to establish a triggered sender and receiver channel pairs between two queue managers and to give a simple 'round trip' mechanism to prove the definitions have worked successfully. This page will assume that TCP/IP is the network protocol in use but the principal applies to other network protocols. The definitions that will be given are fairly basic, it is up to you to ensure that you follow your site standards for things like security (MCAUSER) etc. Why Trigger Channels?Regardless of how you start channels, the simple fact remains that they must get started in order for messages to flow across them.In a large WebSphereMQ network, automating the startup of channels becomes almost essential. Without using triggered channels, a significant effort in custom automation may be required. Given that WebSphereMQ may be running across many different platforms this may involve the use of several automation products to automate the starting of channels. Coordinating this automation may also be a substantial undertaking. Contrast this with triggered channels. Channel initiators exist on most WebSphereMQ platforms and the definitions to control their execution are common to most WebSphereMQ platforms. Finally, and perhaps most significantly there is no custom coding required to implement triggering channels. Customizing the Sample CodeThe sample code is provided with a REXX Exec (named CUSTOM) that will customize the supplied JCL with your values.The JCL dataset is distributed in TSO Transmitted format and comprises of 6 members. These members are:
Important Reminders
InstallationThis feature comprises of 2 datasets. One simply contains the two programs QECHO and QUEPUT that are needed if you want to run the ECHO and PUT JCL members. The other contains the JCL members detailed above.If you don't want to run the ECHO or PUT jobs then you do not need to download the load library.
As both these files are TSO TRANSMIT files they should be transferred to the z/OS system using a file transfer program. The files must be transferred as BINARY files. They should also be transferred as fixed blocked, 80 byte files. Once the files are on z/OS they will have to be received. To do this you use the TSO RECEIVE command. Please refer to the IBM RECEIVE command for details on the use of this TSO command. Once the DEFCHAN JCL file has been RECEIVED you can execute the CUSTOM exec by entering: TSO ex 'your.received.dataset.name(CUSTOM)' This will display the following screen:From this panel you fill in the appropriate site values and press enter. DisclaimerThis material has been used successfully by Abbydale Systems LLC. and to the best of our knowledge this material and any system(s) of which it is a part are operational as of the service level or date stated in the body of this material (if so stated). However, NO warranty is given or implied as to the accuracy of this material or any related material or systems, and no responsibility is assumed for any effect or modification directly or indirectly caused by the use of this material.It is the responsibility of any user of this material to evaluate its usefulness to the user's environment. Abbydale Systems LLC. does not guarantee to keep this or any related material current, nor does it guarantee to provide any corrections or extensions described by any users of this material or any corrections or extensions made in the future by Abbydale Systems LLC. itself. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Number of unique visitors 604
Copyright © Abbydale Systems LLC 2015-2024
Abbydale Systems LLC Lic. 802696149. All rights reserved.