IBM Support

IV18623: MQ V7: USING MESSAGE SELECTOR "IS NULL" WORKS FOR "JMSTYPE" AND OTHER FIELDS, BUT DOES NOT WORK FOR JMSCORRELATIONID.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A WebSphere MQ V7 subscriber tried to select on a message using
    the selection string "JMSCorrelationID IS NULL". Messages were
    not being delivered to this subscriber, even though the
    MQMD.CorrelId was set to NULL.
    
    Similarly, the selection string "JMSCorrelationID IS NOT NULL"
    was allowing messages to be delivered when they should not have
    been.
    
    Other properties such as JMSType behaved as expected when using
    "IS NULL"
    

Local fix

  • As a workaround, try using the selection string
    JMSCorrelationID =
    'ID:000000000000000000000000000000000000000000000000'
    which should return messages correctly.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users who have subscriber applications that use the selection
    string "JMSCorrelationID IS NULL" or "JMSCorrelationID IS NO
    NULL" to select on Root.MQMD.CorrelId may receive messages in
    error or not receive messages that they should receive.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows)
    ****************************************************************
    PROBLEM SUMMARY:
    The problem was caused by the code incorrectly returning a
    string representation of the NULL MQMD.CorrelId rather than a
    byte representation. This caused the selector matching
    algorithms to make incorrect decisions regarding whether
    messages should be delivered to subscribers.
    

Problem conclusion

  • The code was corrected so that if the MQMD.CorrelId is NULL the
    the value is returned to the selection engine as bytes rather
    than as a string.
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.10
    --------           --------------------
    Windows            7.0.1.10
    AIX                7.0.1.10
    HP-UX (PA-RISC)    7.0.1.10
    HP-UX (Itanium)    7.0.1.10
    Solaris (SPARC)    7.0.1.10
    Solaris (x86-64)   7.0.1.10
    iSeries            7.0.1.10
    Linux (x86)        7.0.1.10
    Linux (x86-64)     7.0.1.10
    Linux (zSeries)    7.0.1.10
    Linux (Power)      7.0.1.10
    
                       v7.1
    Platform           Fix Pack 7.1.0.2
    --------           --------------------
    Windows            7.1.0.2
    AIX                7.1.0.2
    HP-UX (Itanium)    7.1.0.2
    Solaris (SPARC)    7.1.0.2
    Solaris (x86-64)   7.1.0.2
    iSeries            7.1.0.2
    Linux (x86)        7.1.0.2
    Linux (x86-64)     7.1.0.2
    Linux (zSeries)    7.1.0.2
    Linux (Power)      7.1.0.2
    
    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

    IV18623

  • 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-03-29

  • Closed date

    2012-06-29

  • Last modified date

    2012-06-29

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

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

    PM67917

Fix information

  • Fixed component name

    WMQ AIX V7

  • Fixed component ID

    5724H7221

Applicable component levels

  • R701 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDEZSF","label":"IBM WebSphere MQ Managed File Transfer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023