A fix is available
APAR status
Closed as program error.
Error description
When generating a cobol program that uses an EGL statement that accesses a function and then as part of the same statement references a field in the function return record, a null pointer exception can occur, or invalid code is created.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** The expression analyzer factory was not checking for the usage of a record's field when the record was the return value from a function invocation. This failure would happen when both the function invocation and the field reference were used in the same expression. It could manifest itself as either a null pointer exception, or invalid code being generated.
Problem conclusion
The software has been updated to check for this condition and generate the correct code. In addition, a check to ensure the record being returned has been defined is also done. It is possible that the record being returned is not defined in the program, if libraries are used.
Temporary fix
Comments
APAR Information
APAR number
PM96840
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
2013-09-11
Closed date
2014-09-26
Last modified date
2014-09-26
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:
26 September 2014