IBM Support

IC68640: AMQ7315 DISPLAYS THE COMPLETION CODE INSTEAD OF THE REASON CODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • AMQ7315 messages in the queue manager error log should include
    a reason code, but prints the completion code instead.
    For example:
    
    AMQ7315 Failed to put message to accounting queue. Reason(2)
    The attempt to put a message containing accounting data to
    the queue SYSTEM.ADMIN.ACCOUNTING.QUEUE failed with
    reason code 2.
    
    The '2' in the above message represents the completion code
    "MQCC_FAILED" from the MQPUT call.
    

Local fix

  • The workaround to find out the reason code is to obtain the
    traces for the queue manager and locate the statements for
    the queue mentioned in the error message.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of WebSphere MQ who enable queue accounting or MQI
    accounting. This is applicable to both WebSphere MQ v6 and v7.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows)
    ****************************************************************
    PROBLEM SUMMARY:
    When queue accounting and MQI accounting is enabled in the queue
    manager properties, the queue manager generates accounting
    messages on the queue SYSTEM.ADMIN.ACCOUNTING.QUEUE. If the
    queue manager encounters any problems while trying to put the
    accounting message on the SYSTEM.ADMIN.ACCOUNTING.QUEUE (for
    example: the queue is full), then an AMQ7315 error message is
    reported in the error log. A review of the AMQ7315 error message
    indicates that the completion code for MQPUT call is displayed
    in place of the reason code.
    
    This is because the completion code from an internal MQPUT call
    is passed as a parameter to the error-reporting routine in place
    of reason code.
    

Problem conclusion

  • Code change ensures that the reason code is now displayed
    correctly in the AMQ7315 error message.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.3
    --------           --------------------
    Windows            U200320
    AIX                U834987
    HP-UX (PA-RISC)    U834414
    HP-UX (Itanium)    U834413
    Solaris (SPARC)    U834986
    Solaris (x86-64)   U834210
    iSeries            tbc_p700_0_1_3
    Linux (x86)        U834415
    Linux (x86-64)     U834985
    Linux (zSeries)    U834412
    Linux (Power)      U835662
    
                       v6.0
    Platform           Fix Pack 6.0.2.10
    --------           --------------------
    Windows            U200318
    AIX                U832558
    HP-UX (PA-RISC)    U833084
    HP-UX (Itanium)    U833088
    Solaris (SPARC)    U833085
    Solaris (x86-64)   U832557
    iSeries            tbc_p600_0_2_10
    Linux (x86)        U832545
    Linux (x86-64)     U833083
    Linux (zSeries)    U833089
    Linux (Power)      U833087
    Linux (s390x)      U833086
    
    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

    IC68640

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-13

  • Closed date

    2010-05-19

  • Last modified date

    2010-05-19

  • 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 WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R701 PSY

       UP

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

Document Information

Modified date:
19 May 2010