APAR status
Closed as program error.
Error description
If you are using DB2 V9.7 or lower and you use Quick Publish to update promotion codes, you might encounter an error indicating that the parameters of the SQL UPDATE query is of invalid datatype. For example, com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-401, SQLSTATE=42818, SQLERRMC=IN, DRIVER=4.12.56 Stack trace: com.ibm.commerce.context.content.resources.exception.ResourceExc eption: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-401, SQLSTATE=42818, SQLERRMC=IN, DRIVER=4.12.56 at com.ibm.commerce.marketing.promotion.content.resources.Promotion CodeDSLResourceManager.publish(PromotionCodeDSLResourceManager.j ava:193)
Local fix
Problem summary
USERS AFFECTED: WebSphere Commerce Version 7 environments using DB2 V9.7 or lower. PROBLEM ABSTRACT: Datatype error occurs when using Quick Publish to update promotion codes BUSINESS IMPACT: Customers who are on DB2 v9.7 or lower are unable to use Quick Publish to update promotion codes in a promotion. RECOMMENDATION:
Problem conclusion
Enhanced existing SQL query to use parameter markers (?) when building the SQL query.
Temporary fix
Comments
APAR Information
APAR number
JR56779
Reported component name
WC BUS EDITION
Reported component ID
5724I3800
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-10-06
Closed date
2017-01-11
Last modified date
2017-01-11
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
WC BUS EDITION
Fixed component ID
5724I3800
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
11 December 2021