IBM Support

IZ73505: THE COMMAND 'DISPLAY QSTATUS(*) TYPE(HANDLE)' CANNOT BE FILTERED BY CHANNEL, APPLTAG OR CONNAME.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The runmqsc administration tool is not able to correctly filter
    on the CHANNEL, APPLTAG or CONNAME attributes when using the
    'DISPLAY QSTATUS(*) TYPE(HANDLE)' command.
    
    This restriction also applies to the equivalent PCF commands
    when attempting to filter on these attributes.
    
    For example:
    5 : dis qs(TESTQ) type(handle) all
    AMQ8450: Display queue status details.
    QUEUE(TESTQ)                            TYPE(HANDLE)
    APPLTAG(amqsputc)                       APPLTYPE(USER)
    BROWSE(NO)                              CHANNEL(CHANNEL1)
    CONNAME(127.0.0.1)                      HSTATE(INACTIVE)
    INPUT(SHARED)                           INQUIRE(YES)
    OUTPUT(NO)                              PID(12345)
    QMURID(12345)                           SET(NO)
    TID(12345)
    URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
    URTYPE(QMGR)                            USERID(user1)
    
    dis qs(TESTQ) type(handle) where(CHANNEL eq 'CHANNEL1')
    6 : dis qs(TESTQ) type(handle) where(CHANNEL eq 'CHANNEL1')
    AMQ8565: Queue status not found.
    dis qs(TESTQ) type(handle) where(APPLTAG eq 'amqsputc')
    7 : dis qs(TESTQ) type(handle) where(APPLTAG eq 'amqsputc')
    AMQ8565: Queue status not found.
    dis qs(TESTQ) type(handle) where(CONNAME eq '127.0.0.1')
    8 : dis qs(TESTQ) type(handle) where(CONNAME eq '127.0.0.1')
    AMQ8565: Queue status not found.
    

Local fix

  • Blank pad the filter to the maximum length of the string. For
    example blank pad to 20 characters for filtering on the
    channel name:
    DISPLAY QSTATUS(*) TYPE(HANDLE) CHANNEL('abc                 ')
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users who take advantage of attribute filtering (RUNMQSC or PCF)
    on QSTATUS TYPE(HANDLE) for the attributes CHANNEL, APPLTAG and
    CONNAME.
    
    Platforms affected:
    All Distributed (iSeries, all Unix and Windows)
    ****************************************************************
    PROBLEM SUMMARY:
    The problem was caused by MQ storing the data for these
    attributes using one type of string padding for trailing blanks
    and trying to compare with the filter using another type of
    padding.  This inconsistency resulted in match failures when
    these particular attributes were filtered on as their padding
    was interpreted as a difference in the strings.
    

Problem conclusion

  • The code was corrected to use the right sort of padding for
    these attributes so that they could be filtered on.
    
    A workaround for this problem is to pad the filter string out to
    the maximum length of the string with spaces.  For example:
    
    instead of:
    
    dis qs(TESTQ) type(handle) where(CHANNEL eq 'CHANNEL1')
    
    use this instead (note the channel filter is padded to 20
    characters):
    
    dis qs(TESTQ) type(handle) where(CHANNEL eq
    'CHANNEL1            ')
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       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
    
                       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
    
    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

    IZ73505

  • Reported component name

    WMQ LIN X86 V6

  • Reported component ID

    5724H7204

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-26

  • Closed date

    2010-05-25

  • Last modified date

    2010-05-25

  • 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 LIN X86 V6

  • Fixed component ID

    5724H7204

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCPQ5M","label":"APAR"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 May 2010