IBM Support

IT17310: CreateDate within a queue statistics PCF messages has wrong day of month and has two unwanted characters at the end

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The CreateDate (PCF id MQCA_CREATION_DATE) within a Queue
    Statistics message has incorrect contents.
    
    It should be of the form 'yyyy-mm-ddbb', where the last two
    bytes 'b' are blanks, but it has the contents 'yyyy-mm-gggg'
    where 'gggg' is some non-blank data corresponding to the first 4
    bytes of the CreateTime.
    
    Therefore the portion of the CreateDate that might be expected
    to hold the day of the month (dd) in fact holds the hour of the
    day.  This will usually result in the dd value being wrong.
    
    See the example below:
    
    String (MQCFST)
    Parameter Id : 2004 (MQCA_CREATION_DATE)
    Value : "2016-10-21.5  "
    String (MQCFST)
    Parameter Id : 2004 (MQCA_CREATION_TIME)
    Value : "21.53.56"
    
    This problem was introduced as a side-effect in MQ 8.0.0.5 via
    APAR IT12103.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of MQ 8.0.0.5 who are using the Queue Statistics PCF
    messages and are relying on correct formats appearing for the
    CreateDate portion of the message.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    After the change in IT12103, the CreateDate (12 bytes long) was
    copied wrongly from a data area that was 8 bytes long, so was
    smaller than the 12 bytes needed.
    
    Therefore the resulting CreateDate in the PCF message contained
    the first 8 bytes of the true creation date, and the first 4
    bytes of the creation time, which was held in the next portion
    of memory.
    
    No unsafe memory operations took place, but the resulting data
    was incorrect.
    

Problem conclusion

  • The MQ code has been corrected to ensure a 12 byte data area is
    used to hold the creation date before copying to the PCF
    message.  This ensures the value copied to the PCF message will
    be valid.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.7
    v9.0 CD    9.0.2
    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

    IT17310

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-11

  • Closed date

    2017-01-20

  • 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

    5724H7251

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 June 2017