APAR status
Closed as program error.
Error description
In a message model if an element is defined as 'xsd:date' or 'xsd:dateTime' type and the DateTime format does not contain the year part in it, then the MRM parser will fail to parse date February 29 (0229) with a BIP5540E error message. BIP5540E: Unable to parse value '0229' using format string 'MMdd'. Strict Datetime Checking = 1. If the input dateTime field value misses any of the sub fields like year or month then the missing sub field value is substituted from the current epoch value which is 1970-01-01 00:00:00. So date '0229' is treated as '02291970' which is not a valid date as 1970 is not a leap year and hence the MRM parser throws a BIP5540E error while parsing the date field value '0229' and its an expected behaviour of the product. This APAR provides an option under environment variable 'MQSI_USE_CURRENTYEAR_FOR_SUBSTITUTION' to use current year as the substitution year if the input date value is missing the year part.
Local fix
clude the year in the DateTime Format and in the input Date value.
Problem summary
**************************************************************** USERS AFFECTED: All users of IBM Integration Bus V9.0 and V10.0 using the MRM parser with 'xsd:date' or 'xsd:dateTime' type elements. Platforms affected: z/OS, MultiPlatform **************************************************************** PROBLEM DESCRIPTION: In a message model if an element is defined as 'xsd:date' or 'xsd:dateTime' type and the DateTime format does not contain the year part in it, then the MRM parser will fail to parse date February 29 (0229) with a BIP5540E error message. BIP5540E: Unable to parse value '0229' using format string 'MMdd'. Strict Datetime Checking = 1. If the input dateTime field value misses any of the sub fields like year or month then the missing sub field value is substituted from the current epoch value which is 1970-01-01 00:00:00. So date '0229' is treated as '02291970' which is not a valid date as 1970 is not a leap year. Hence the MRM parser throws a BIP5540E error while parsing the date field value '0229'. This is the expected behaviour of the product. This APAR provides an option to set a new environment variable 'MQSI_USE_CURRENTYEAR_FOR_SUBSTITUTION'. When set, to any value, the product will use the current year as the substitution year if the input date value is missing the year part. There are a number of resource name changes between WebSphere Message Broker and IBM Integration Bus Version 9.0. For details visit http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.e tools.mft.doc/bb23814_.htm
Problem conclusion
The product now provides an option under the environment variable 'MQSI_USE_CURRENTYEAR_FOR_SUBSTITUTION' to use the current year as the substitution year. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v10.0 10.0.0.7 v9.0 9.0.0.7 The latest available maintenance can be obtained from: http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041 If the maintenance level is not yet available,information on its planned availability can be found on: http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT14924
Reported component name
INTEGRATION BUS
Reported component ID
5724J0530
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-05-02
Closed date
2016-11-23
Last modified date
2016-11-23
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
INTEGRATION BUS
Fixed component ID
5724J0530
Applicable component levels
R900 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
23 March 2020