IBM Support

IT27846: MQRC_BUFFER_LENGTH_ERROR (2005) error message when displaying authority records in the MQ Explorer

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When attempting to view authority records for an MQ object using
    the MQ Explorer by right-clicking on a named object, such as a
    queue, then choosing:
    
      Object Authorities
        Managed Authority Records...
          Specific Profiles
    
    an error message is displayed with the message text:
    
      An unexpected error (2005) has occurred. (AMQ4999)
    
    The object authority records for the users and groups are then
    not displayed.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users who configure MQ queue managers to use
    LDAP authorization with Distinguished Names.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When using the MQ Explorer to view authority records for an MQ
    object, such as a queue, a PCF message is sent to the command
    server of the target queue manager.  The command server queries
    the queue manager for the requested information and returns it
    in a PCF response message to a temporary dynamic queue created
    by the MQ Explorer.
    
    In order to query authority record information for an MQ object,
    the command server allocated a buffer it expected to be large
    enough to contain a complete record.  However, when using LDAP
    with long Distinguished Names for authorization to MQ objects,
    the default allocated buffer size may not be large enough in
    some cases.  If the buffer is not large enough to contain an
    authority record instance, the queue manager kernel returns the
    reason code MQRC_BUFFER_LENGTH_ERROR (2005) and the size of the
    authority record to the command server.  The command server did
    not expect this and returned this error code in the PCF response
    message sent to the MQ Explorer.  This resulted in the MQ
    Explorer displaying an error message reporting the
    MQRC_BUFFER_LENGTH_ERROR return code to the user.
    

Problem conclusion

  • The command server logic has been updated such that if the queue
    manager kernel returns the reason code MQRC_BUFFER_LENGTH_ERROR
    when querying an authority record, the command server allocates
    a larger buffer capable of containing the complete authority
    record and retrying the operation.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.0 LTS   9.0.0.7
    v9.1 CD    9.1.3
    v9.1 LTS   9.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

    IT27846

  • Reported component name

    IBM MQ BASE M/P

  • Reported component ID

    5724H7261

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-22

  • Closed date

    2019-03-22

  • Last modified date

    2019-03-22

  • 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 BASE M/P

  • Fixed component ID

    5724H7261

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 March 2019