Direct links to fixes
APAR status
Closed as program error.
Error description
Users can configure event subscription on an item type with AddItem event and use a string type attribute. When an AddItem CommonBaseEvent is generated by the event monitor, it reports an attribute length of zero (ATTRLEN=0) while it also reports its attribute value (ATTRVAL) as not being an empty string. For example, CommonBaseEvent can display something like the following: ICMEMSTART;ETYPE=ITEM;EACTION=CREATE;ECODE=301; ... ATTRNAME=ABC;ATTRLEN=0;ATTRTYPE=448;ATTRVAL=XYZ; ... This zero length might cause an error in a custom event handler that is designed to handle General Integration event subscriptions. Such a handler might rely on the correct ATTRLEN value before it reads the ATTRVAL field. This problem occurs only on a 64-bit library server running on UNIX platforms (except x86 Linux.) 32-bit library servers on UNIX platforms do not have this problem.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * 843 * **************************************************************** * PROBLEM DESCRIPTION: * * After the user configured event subscription on an item type * * with AddItem event type and a string type attribute (such as * * variable character, date, timestamp data type), an AddItem * * CommonBaseEvent might be generated by the event monitor * * whenever an item is created in that item type. * * The CommonBaseEvent has fields to indicate attribute length, * * type and value of the subscribed attribute. However, if the * * subscribed attribute is of string type, the attribute length * * is reported as zero regardless of whether the attribute * * value is empty or not. * * Here is what the CommonBaseEvent might look like: * * ICMEMSTART;ETYPE=ITEM;EACTION=CREATE;ECODE=301; ... * * ATTRNAME=ABC;ATTRLEN=0;ATTRTYPE=448;ATTRVAL=XYZ; ... * * * * This will cause an error in the custom event handler for * * General Integration event subscription. Such a handler might * * rely on the correct value of ATTRLEN to further read the * * ATTRVAL field. * **************************************************************** * RECOMMENDATION: * * N/A * ****************************************************************
Problem conclusion
A wrong variable data type was used to store the attribute length. It was changed to use correct data type.
Temporary fix
Comments
APAR Information
APAR number
IO22294
Reported component name
II4C DOC ROUTIN
Reported component ID
5724B43W1
Reported release
843
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2014-10-15
Closed date
2016-10-13
Last modified date
2016-10-13
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
999
Fix information
Fixed component name
II4C DOC ROUTIN
Fixed component ID
5724B43W1
Applicable component levels
R843 PSY
UP
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRS7Z","label":"Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"843"}]
Document Information
Modified date:
23 September 2021