Import queue managers from an MQ Explorer export

In a recent update to MO71 V9.0.4 a new feature was added to allow you to import queue manager location information from an MQ Explorer export file.

MQ Explorer Export menu

The menu option to export MQ Explorer settings

To export your configuration from MQ Explorer, right-click on the top level folder in the left-hand navigation pane, and choose Export MQ Explorer Settings…

This will bring up a dialog for Export. Press Next on the first panel, then on the second panel you can indicate where you want the XML file to be written and what you want to be exported. MO71 will only import the Sets and Remote queue manager information, but will not complain if there is other information in the XML file, so you can go ahead and export it all if you wish.

MO71 doesn’t import local queue managers from an MQ Explorer export file since you can import local queue managers directly in MO71 as discussed in an earlier post.

MO71 Import MQ Explorer Menu

The menu to import queue managers

Once you have your exported XML file from MQ Explorer, you can drive the import from the MO71 File menu, which then brings up a dialog.

In this dialog, navigate to the location where you exported your MQ Explorer settings and click on Read MQ Explorer XML File.

MO71 Import MQ Explorer Dialog

Import MQ Explorer Locations Dialog – choose your queue managers

The list below will show all the queue managers that were found in the MQ Explorer XML file. If any of the found queue managers are already locations in MO71, the Explorer entry will have a ‘no entry’ symbol beside it showing it cannot be added again. You can click on any others to indicate you wish to import them and the red cross will change to a green tick.

If you were using Sets to group your queue managers in MQ Explorer, you can choose to have those associations imported into MO71 as well. MO71 has several grouping concepts (as described in Can you see your QMgr for the trees?). A queue manager can be in a single group on the main window, and it can be in multiple Networks, which are used in various places where queue managers are listed in MO71. Since a queue manager could be in multiple MQ Explorer Sets, you can choose whether to translate this part of the configuration into Network names or the first one into a QM Group, or both.

Once you have selected all the ones you want, click on Import, and you’re done.

And of course, just as with imported local queue managers, and queue managers imported from a CCDT file, you can edit the imported ones after the locations are created to change the location labels and any other settings.


The new version can be downloaded from the MO71 Download Page. If you don’t have a licence and would like to try out MO71 then send an email to support@mqgem.com and a 1-month trial licence will be sent to you.

Advertisements

2 thoughts on “Import queue managers from an MQ Explorer export

  1. Hello, I am trying to add remote Queue Manager in MO71. MQ V7.5 installed in Google cloud. MO71 is copied in my Laptop. I have created Queue Manager QM1, created a Listener L1 and running on port 1414 **internal IP address I disabled Channel Authentication. Still I am not able to add the QM. Your help is greatly appreciated.

    [mqm@linuxcentos1 mqm]$ dspmq -m QM1
    QMNAME(QM1) STATUS(Running)
    [mqm@linuxcentos1 mqm]$ runmqsc QM1
    5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
    Starting MQSC for queue manager QM1.

    DISPLAY LSSTATUS(L1)
    1 : DISPLAY LSSTATUS(L1)
    AMQ8631: Display listener status details.
    LISTENER(L1) STATUS(RUNNING)
    PID(3514) STARTDA(2017-08-31)
    STARTTI(11.07.27) DESCR( )
    TRPTYPE(TCP) CONTROL(QMGR)
    IPADDR(::ffff:10.150.0.2) PORT(1414)
    BACKLOG(100)
    DISPLAY CHLAUTH()
    2 : DISPLAY CHLAUTH(
    )
    AMQ8878: Display channel authentication record details.
    CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(ADDRESSMAP)
    ADDRESS() USERSRC(CHANNEL)
    AMQ8878: Display channel authentication record details.
    CHLAUTH(SYSTEM.ADMIN.SVRCONN) TYPE(BLOCKUSER)
    USERLIST(nobody)
    AMQ8878: Display channel authentication record details.
    CHLAUTH(SYSTEM.DEF.SVRCONN) TYPE(BLOCKUSER)
    USERLIST(nobody)
    AMQ8878: Display channel authentication record details.
    CHLAUTH(SYSTEM.ADMIN.
    ) TYPE(BLOCKUSER)
    USERLIST(nobody)
    AMQ8878: Display channel authentication record details.
    CHLAUTH(SYSTEM.) TYPE(ADDRESSMAP)
    ADDRESS(
    ) USERSRC(NOACCESS)
    AMQ8878: Display channel authentication record details.
    CHLAUTH() TYPE(BLOCKUSER)
    USERLIST(nobody
    ,
    MQADMIN)

    Like

    • When adding a client connection to a queue manager in MO71, in the Location dialog, can you confirm you checked the “Client” check box and filled in the details in the window that appears when you click on the “Configure” button? Assuming you have done this, what is the error that is shown in the status bar at the bottom of a window when you try to connect to the queue manager? For example, it might say something like:-

      Error connecting via client to ‘QM1’ RC(2538) Host Not Available

      It is also very useful to look in the client error log on your laptop, which can be found in %MQ_DATA_PATH%\errors.

      Feel free to reply back here, or email us on support@mqgem.com for further assistance.

      Like

The team at MQGem would love to hear what you think. Leave your comments here.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s