IBM Support

IV25597: TRACE OFF DATE IS INCORRECT IN MQ TRACE GENERATED AND FORMATTED USING AIX TRACE COMMANDS TO FORMAT WEBSPHERE MQ V7 TRACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The TRACE OFF date will have incorrect date in the formatted
    MQ  trace captured and formatted using AIX trace commands.
    
    Example:
    
    Trace is collected using the following AIX command:
    trace -j30D,30E -o trace.out
    
    The trace is formatted using this command:
    trcrpt -t /usr/mqm/lib/amqtrc.fmt trace.out > trace.fmt
    
    The TRACE OFF line will show incorrect date(e.g. 1970):
    
    002    49.398488664      75.893241      TRACE OFF channel
    0000 Thu Jan  1 09:00:00 1970
    

Local fix

  • Change the template file by doing the following:
    
      # diff /tmp/amqtrc.fmt /usr/mqm/lib/amqtrc.fmt
      13c13
      <         "TRACE OFF" "channel" $chan TW
      ---
      >         "TRACE OFF" "channel" $chan T4
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users using AIX trace facility to capture MQ trace
    
    Platforms affected:
    AIX
    
    ****************************************************************
    PROBLEM SUMMARY:
    The problem occurred because of T4 used for TRACE OFF in the MQ
    AIX trace template. T4 would give problems in formatting
    traces gathered on 64-bit environment.
    

Problem conclusion

  • MQ trace template has been modified to use TW instead of T4.
    TW will format either 4 or 8 bytes of data depending upon
    whether this is a 32 or 64 bit hook.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.10
    --------           --------------------
    AIX                U853055
    
                       v7.1
    Platform           Fix Pack 7.1.0.3
    --------           --------------------
    AIX                7.1.0.3
    
    Platform           v7.5
    --------           --------------------
    Multiplatforms     7.5.0.1
    
    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

    IV25597

  • Reported component name

    WMQ AIX V7

  • Reported component ID

    5724H7221

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-02

  • Closed date

    2012-09-20

  • Last modified date

    2012-09-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 AIX V7

  • Fixed component ID

    5724H7221

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:
20 September 2012