IBM Support

IC71200: UNEXPECTED VALUES RETURNED FROM MQTM2.GETVERSION() AND MQTM2.GETAPPLTYPE() CALLED FROM A WMQ JAVA APPLICATION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a WebSphere MQ base Java application is passed the
    MQTM2 structure as an application argument and the application
    queries its properties like Version and Application Type, the
    MQTM2.getVersion() and MQTM2.getApplType()
    methods return unexpected values.
    
    For example, a hex dump of the Version field contains
    x'20202032' or character '   2'. The getVersion()method
    interprets this as an integer and returns 538976306.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This issue affects users of the WebSphere MQ (WMQ) v7 classes
    for Java who attempt to query the Version and ApplType
    properties of a trigger message (MQTM2) from a WMQ Java
    application that is started by the trigger monitor in response
    to a trigger event.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows) +Java
    ****************************************************************
    PROBLEM SUMMARY:
    When a WMQ Base Java application, which is started by a trigger
    monitor, queries the Version and ApplicationType trigger message
    properties using getVersion() and getApplType() methods,
    unexpected values are returned.
    

Problem conclusion

  • The MQTM2 class which represents the Trigger Message, extended
    its structure from the MQTM class. However, the MQTM2 was not a
    simple continuation of MQTM - the data types of Version and
    ApplType were different (though they were of the same size).
    The MQTM2 class has now been rewritten to prevent the change in
    data types.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.5
    --------           --------------------
    Windows            U200324
    AIX                U839183
    HP-UX (PA-RISC)    U839621
    HP-UX (Itanium)    U839626
    Solaris (SPARC)    U839622
    Solaris (x86-64)   U839628
    iSeries            tbc_p700_0_1_5
    Linux (x86)        U839623
    Linux (x86-64)     U839627
    Linux (zSeries)    U839624
    Linux (Power)      U839625
    
    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

    IC71200

  • 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-09-14

  • Closed date

    2010-10-22

  • Last modified date

    2010-10-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

    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:
22 October 2010