Fixes are available
Rational Business Developer 9.1
Rational Business Developer Fix Pack 2 (8.5.1.2) for 8.5.1
Rational Business Developer 9.1.1
Rational Business Developer Fix Pack 1 (9.0.1.1) for 9.0.1
Rational Business Developer Fix Pack 1 (9.1.1.1) for 9.1.1
Rational Business Developer Fix Pack 2 (9.0.1.2) for 9.0.1
APAR status
Closed as program error.
Error description
In Rational Business Developer 9.0.x, when submitting a value via JSP, the following error (or similar) is generated: 'EGL0731E J2EELib SessionAttr function failed with key, mykey. Error: For input string: '' EGL0002I The error occurred in index processing the onConstruction function.' This happens when the attribute submitted is numeric. bstract: ATTEMPTS to submit a value via JSP may result in a J2EELib SessionAttr error. Sample code: ------------ function onConstruction() rec arrayRec; rec.array[1].myfield = 123; SysLib.writeStdout(rec.array[1].myfield); SysLib.writeStdout('before setSessionAttr'); j2eeLib.setSessionAttr('mykey', rec.array[1].myfield); SysLib.writeStdout('before getSessionAttr'); j2eeLib.getSessionAttr('mykey'); SysLib.writeStdout('after getSessionAttr'); end Output: ------- before setSessionAttr before getSessionAttr EGL0731E J2EELib SessionAttr function failed with key, mykey. Error: For input string: '' Using rec.array[1].myfield in j2eeLib.setSessionAttr is the cause, since, if rec.array[1].myfield is saved to a string variable faa that is given as the parameter for j2eeLib.setSessionAttr, then no error occurs. Local fix: A workaround is to store the attribute as a string before calling j2eeLib.setSessionAttr. A fix is available by contacting IBM Support: https://www-947.ibm.com/support/entry/myportal/support
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Assign value for structured record sub field whose parent field is a record array will produce runtime error. For example, given the record definition below. Set arrayRec.myfield = 123; will produce runtime error. record arrayRec type BasicRecord 5 array dataRec[100]; end ? record dataRec type BasicRecord 9 myfield num(9); End
Problem conclusion
The problem is fixed.
Temporary fix
Comments
APAR Information
APAR number
PI15829
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-04-11
Closed date
2015-03-23
Last modified date
2015-03-23
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
R751 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.5.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
17 October 2021