IBM Support

IT17576: dmpmqcfg output truncates attribute string value

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You use runmqsc to define a subscription with a number of
    selectors in WebSphere MQ 7.5.0.6. However, the output of
    dmpmqcfg
    shows fewer selectors than was originally defined.
    .
    To check, compare the SELECTOR field returned on the DISPLAY
    SUB command in runmqsc with the dmpmqcfg output.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of long string values that contain single quotes on queue
    managers which use a non-default CCSID may be affected by this
    problem.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    WebSphere MQ will ensure that single quotes are doubled when
    displaying them.  This is done so that the command output uses
    the correct syntax such that it can be used as input to runmqsc.
     See the rules for MQSC strings here
    http://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.
    mq.adm.doc/q020630_.htm
    
    "...If the string itself contains a quotation mark, the
    quotation mark is represented by two single quotation marks..."
    
    Processing strings in this manner increases the string length.
     If the command processor needs to convert the string, for
    example if the queue manager CCSID is changed, then a different
    code path is taken.  This conversion code path copied the string
    to a buffer which used the length of the original string rather
    than the length of the processed string and so the output was
    truncated.
    

Problem conclusion

  • The WebSphere MQ code has been corrected so that the conversion
    logic uses the processed string length rather than the original
    string length.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.5       7.5.0.8
    v8.0       8.0.0.6
    v9.0 CD    9.0.1
    v9.0 LTS   9.0.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

    IT17576

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7241

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-19

  • Closed date

    2016-10-28

  • Last modified date

    2017-06-01

  • 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 BASE MULTIP

  • Fixed component ID

    5724H7241

Applicable component levels

[{"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.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023