IBM Support

PH37175: MQ REST API reports MQWB0002E error message when requesting to list the queue manager status

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as duplicate of another APAR.

Error description

  • A 'curl' command is issued to list the status of the queue
    managers via the MQ REST Administrative API:
    
    curl -k http://x.xxx.xxx.xx:yyyy/ibmmq/rest/v1/admin/qmgr
    
    The following error message is returned by the command:
    
    {"error": [{
      "action": "Use the message from the command to resolve the
    problem and, if appropriate, resubmit the request. The MQ
    Knowledge Center can provide more information on the message
    from the command.",
      "completionCode": 0,
      "explanation": "A suitable command was used to query the queue
    manager state, but the command failed.",
      "message": "MQWB0002E: The attempt to query the queue manager
    state with the [dspmq, -o, all] command failed with the
    following message: 'QMNAME(MQS7) STATUS(Running) INSTVER(9.1.0)
    ERLYVER(9.1.0)  CMDPFX((MQS7) QSGNAME()' .",
      "msgId": "MQWB0002E",
      "reasonCode": 0,
      "type": "cmd"
    }]}
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • Users affected:
    All users of IBM MQ for z/OS Version 9 Release 1 Modification 0
    and Release 2 Modification 0 with the Web UI Feature.
    
    Problem Description:
    When issuing an administrative REST API command, a MQWB0002E
    message is received by the user when using a '(' as a part of a
    CPF (command prefix string).
    
    Conclusion:
    Code has been corrected to handle all valid CPFs.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level APAR
    v9.1 LTS   9.1.0.9           PH39516
    v9.2 LTS   9.2.0.4           PH39640
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

APAR Information

  • APAR number

    PH37175

  • Reported component name

    IBM MQ Z/OS V9

  • Reported component ID

    5655MQ900

  • Reported release

    106

  • Status

    CLOSED DUB

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-12

  • Closed date

    2021-08-06

  • Last modified date

    2021-08-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM MQ Z/OS V9

  • Fixed component ID

    5655MQ900

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"106"}]

Document Information

Modified date:
25 August 2021