A fix is available
APAR status
Closed as program error.
Error description
When performing a test on apostrophe in the B2X, ruleset generation works fine on CRE but fails on DE with below error : An error occurred during the export of the ruleset archive. While applying business to execution (B2X) model mapping In the B2X body for method 'testCharacter(java.lang.String)' of class 'XXXXXXXX.YYYYYYYY' Lexical error at line 4, column 13. Encountered: "\'" (39), after : "\'": Lexical error at line 4, column 13. Encountered: "\'" (39), after : "\'" b2x code : for ( int i=0; i< name.length();i++) { char c = name.charAt(i); Object[ ] array = new Object[20]; if (c == '\'') { return true; } } return false;
Local fix
use ASCII code : replace c=='\'' with c==39
Problem summary
The quote character is not handled properly during translation
Problem conclusion
The code is fixed
Temporary fix
Comments
APAR Information
APAR number
RS02087
Reported component name
WS DECISION SVR
Reported component ID
5725B6901
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-07-28
Closed date
2015-08-07
Last modified date
2015-08-07
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
WS DECISION SVR
Fixed component ID
5725B6901
Applicable component levels
R851 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022