A fix is available
APAR status
Closed as program error.
Error description
Environment: Windows XP Rational Business Developer 8.0.1.2 Description: using String type is generated to string in the java instead of stringitem and when using something like mystring[1:2] as int it is generated as mystring.substringItem( ezeProgram, (short)1, (short)2 ) which causes a problem The method substringItem(TestGenerationLibrary_Lib, short, short) is undefined for the type String
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** The Java generator in RBD 8.0.1.2 will sometimes generate Java code that does not compile when the substring operator is used on the expression to the left of the As operator.
Problem conclusion
The Java generator now generates correct code.
Temporary fix
Comments
APAR Information
APAR number
PM48030
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
801
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-09-16
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
RATL BUS DEV
Fixed component ID
5724S5000
Applicable component levels
R801 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
27 January 2012