IBM Support

SE53636: WMQ AUTHORITY AND PROFILE CHANGE PROBLEMS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • OEM written application uses calls to QMQM under a User Profile
    that is not authorized to the Queue Manager. This will result
    in 2035 return code. But during cleanup, the user profile is
    not removed.
    
    Application then call qwtsetp to switch to another OS400 user
    profile.
    Subsequent calls to the MQI fail with 2035 also. The first user
    profile is still in effect.
    
    Workaround would be to either:
    1) Replace calls to QMQM with calls to WMQ API's
    2) Perform the profile swap BEFORE making calls to QMQM program
    

Local fix

  • The QMQM api was provided legacy to allow applications time to
    update to the new MQI at the v4.2.1 to v5.1 timeframe. Only
    call the MQI.
    
    Alternatively, if you switch user profile to an authorized
    users, the calls to QMQM and regular MQIs work without problems.
    

Problem summary

  • PROBLEM SUMMARY:
    ****************************************************************
    USERS AFFECTED:
    WMQ on IBM i users who are attempting to use the QMQM program
    for WMQ function calls while also attempting to swap IBM i
    profiles.
    
    Platforms affected:
    iSeries
    
    ****************************************************************
    PROBLEM SUMMARY:
    The QMQM program was provided in V4R2M1 of the product as a
    mechanism for making WMQ function calls such as MQCONN, MQDISC,
    etc. It was later deprecated in V5R1 by the WMQ API's
    themselves, but remained for backwards compatibility.
    A user who is still using this deprecated QMQM program for these
    function calls may experience problems when trying to swap from
    an unauthorized WMQ user to an authorized one, if the call to
    QMQM preceded the swap.
    The QMQM program is not correctly clearing the user cache so the
    unauthorized user is still being used to authorize subsequent
    function calls, even though an IBM i profile swap has been done
    for the job.
    

Problem conclusion

  • The QMQM program has been modified to correctly clear user cache
    information between function calls so that an attempt to profile
    swap will be successful.
    However, the QMQM program has been deprecated, and should be
    replaced by calls to the individual API's such as MQCONN,
    MQDISC, etc. This is recommended as the QMQM program itself may
    be removed in a future release of the WMQ product.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.10
    --------           --------------------
    iSeries            7.0.1.10
    
                       v7.1
    Platform           Fix Pack 7.1.0.3
    --------           --------------------
    iSeries            7.1.0.3
    
    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

    SE53636

  • Reported component name

    WMQ ISERIES V7

  • Reported component ID

    5724H7226

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-10-16

  • Closed date

    2012-11-01

  • Last modified date

    2012-11-01

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

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

Modules/Macros

  • RCHMGR
    

Fix information

  • Fixed component name

    WMQ ISERIES V7

  • Fixed component ID

    5724H7226

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ63","label":"APAR \/ Maintenance"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 April 2020