TrueSight Middleware Administrator:  How to list queue managers in WMQ connections

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Middleware Administrator


    COMPONENT:

    BMC Middleware Management - Administration


    APPLIES TO:

    Middleware Administration TrueSight Middleware Administrator Middleware Management - Administration



    QUESTION:

    How to get a list of queue managers defined in WMQ connections?


    ANSWER:

    Use the attached javaScript.

    Sample run:

    [qpasa@clm-aus-sunhga admin-js-api]$ pwd/opt/BMC/TSMA/api/admin-js-api[qpasa@clm-aus-sunhga admin-js-api]$ export JAVA_HOME=/opt/BMC/TSMA/jre/jre1.8.0_121[qpasa@clm-aus-sunhga admin-js-api]$ bin/runadmin.sh examples/getQMList.jsConnecting to BMM Admin server: https://localhost:8443/bmmadmin Requesting WMQ Connections ... HGA-CRAIT CRAIT Received 1 connectionsDone.
      
      

     


    Article Number:

    000148778


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles