Just like in DB2 it is possible to group more queue managers into one MQ group. Such a group has a name and when you know this name you do not have to worry about the name of the actual queue manager on the MVS system you are connected to.
Knowing the group name is an even bigger advantage when using the administration tool MQM (TSO MQM). It will give you access to information about all queue managers in the group no matter what MVS you are logged on to. If you know the name of a queue manager connected to a group you can determine the MQ group name by using the tip week 38/2009. The field is called Queue Sharing Group and if you are using MQINQ the field is called mqca_qsg_name.
Now you are ready to use a MQ group name in TSO MQM. Imagine a group name of MQGR and fill in the entry panel like this:
The group name must be supplied in fields Connect name and Target queue manager. * in Action queue manager meand that you want to view definitions across all queue managers of the MQ sharing group. You can use any kind of Object type, and Name is specified just as usual. Please use A as disposition as it allows you to view all definitions. When you press Enter the following popup appears:
This popup appears because you entered a group name in field Connect name. MQM tells you on this popup which queue manager it will connect to, in this case MQ01. Now you just press Enter. Uisng my example the next panel will look like this:
As you can see the MQ sharing group MQGR consists of four MQ managers called MQ01, MQ02, MQ03 and MQ04. From here on you can use all the different action codes and view information about queue managers residing on a different MVS than the MVS you are running on. Your life viewing MQ definitions simply gets a lot easier. Please remember that this works for all MQ object types, not just the MANAGER object type.