IBM Support

IT00757: DSPMQ RETURNS "ENDED IMMEDIATELY" FOR NON-MQM USER WHERE "STATUS NOT AVAILABLE" WAS EXPECTED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • dspmq command returns "Ended Immediately" for a non-mqm user
    when it should return "Status Not Available" as seen in case of
    'mqm' user. This particular difference in behavior is seen when
    the queue manager data directory is not available. Here is a
    simple recreate which shows this behavior:
    
    # crtmqm -md /tmp/qmgrs QM1
    # strmqm QM1
    # endmqm -i QM1
    
    # mv /tmp/qmgrs/QM1 /tmp/qmgrs/QM1.bak
    
    # dspmq (as non-mqm user)
    QMNAME(QM1) STATUS(Ended immediately)
    
    #dspmq (as 'mqm' user)
    QMNAME(QM1) STATUS(Status not available)
    

Local fix

  • Login as user mqm and run dspmq, which returns 'Status not
    available'.
    If you are logging in as root, then switch to user mqm (su -
    mqm) and run dspmq, which returns 'Status not available'.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of MQ who query status of queue manager whose data
    directory had been created at a non-default location and is
    unavailable.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A queue manager can be created with its data directory being set
    to a non default location. In such a scenario, if the data
    directory becomes unavailable due to a failover or any other
    reason, the status of the queue manager shown in dspmq command
    for 'mqm' and a non-mqm user is different. For 'mqm' user the
    status is "Status Not Available" whereas for a non-mqm user the
    status shown is "Ended Immediately".
    The problem is with the case of non-mqm user, where "Ended
    Immediately" is shown instead of the expected status "Status Not
    Available" and this happens because of the unavailability of the
    Qmgr data directory.
    
    The status shown by the dspmq command should have been "Status
    Not Available" for both 'mqm' and non-mqm user.
    

Problem conclusion

  • The MQ code has been modified so that dspmq returns "Status Not
    Available" for non-mqm user when Qmgr data directory is not
    available.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.1       7.1.0.6
    v7.5       7.5.0.5
    
    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
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT00757

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7241

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-01

  • Closed date

    2014-05-20

  • Last modified date

    2014-05-20

  • 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

    WMQ BASE MULTIP

  • Fixed component ID

    5724H7241

Applicable component levels

  • R750 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5"}]

Document Information

Modified date:
24 September 2021