A fix is available
APAR status
Closed as program error.
Error description
Environment: - Windows XP - Rational Bussiness Developer v 8.0.1.1 Reproducible Y/N: Y Description of problem: Excepting not treated as expected when exception occurs in function convertUnsignedUnicodeNumToNumber Example extracted from help n15 decimal(8, 4); u15 unicode(9) = '01234123 '; try convertUnsignedUnicodeNumToNumber(u15, n15); // ==? TypeConversionException, ' ' (blank at end) //not valid numeric character onException (ex AnyException) SysLib.writeStdout(ex.message); end When this example is processed with program property 'v60ExceptionCompatibility = yes' =? The exception block isn't processed n15 decimal(8, 4); u15 unicode(9) = '01234123 '; try convertUnsignedUnicodeNumToNumber(u15, n15); // ==? TypeConversionException, ' ' (blank at end) //not valid numeric character onException SysLib.writeStdout(syslib.currentException.description); end Step to reproduce: Workaround:
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** In generated Java and the debugger, exceptions thrown by the SysLib functions convertUnicodeNumToNumber and convertUnsignedUnicodeNumToNumber can't be handled by a try-onException statement in code generated with V60ExceptionCompatibility=yes. The exceptions cause the program to end. This is the wrong behavior. Exceptions from those functions could be handled in version 6 of EGL.
Problem conclusion
The problem has been corrected with a change to the Java runtime. It is not necessary to re-generate any code.
Temporary fix
Comments
APAR Information
APAR number
PM46684
Reported component name
RBD EGL FOR COB
Reported component ID
5724S5001
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-08-30
Closed date
2012-01-27
Last modified date
2012-01-27
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
RBD EGL FOR COB
Fixed component ID
5724S5001
Applicable component levels
R710 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
28 October 2021