A fix is available
APAR status
Closed as program error.
Error description
When a data structure contains a construct using the OVERLAY keyword as in the example below the size for MyData shown in the outline view will be Unknown(0) D MyData Dim( 999999 ) Ascend D Field1 6p 0 Overlay( Data: *next ) Inz D Field2 1a Overlay( Data: *next ) Inz D Field3 n Overlay( Data: *next ) Inz D Field4 n Overlay( Data: *next ) Inz
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * ILE RPG developers who use RDi. * **************************************************************** * PROBLEM DESCRIPTION: * * Data structures lengths and subfield positions did not * * respect the OVERLAY, ALIGN or POS keywords. * **************************************************************** * RECOMMENDATION: * **************************************************************** The lengths computed for ILE RPG data structures and subfields did not take into account the OVERLAY, ALIGN or POS keywords or the from position specified in the fixed columns. This could manifest itself with incorrect field lengths or in some cases subfields will be shown as "Unknown(0)" in the outline view. For example in the data structure below, the "Data" field will end up having a zero length and appearing in the outline view as "Unknown(0)" D myDs DS D Data D Field1 6p 0 Overlay( Data: *next ) Inz D Field2 1a Overlay( Data: *next ) Inz
Problem conclusion
This problem is fixed in the RDi 9.1.1 update.
Temporary fix
Comments
APAR Information
APAR number
SE58744
Reported component name
RDI RPG AND COB
Reported component ID
5724Y99RC
Reported release
901
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-04-22
Closed date
2014-12-31
Last modified date
2014-12-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Outline
Fix information
Fixed component name
RDI RPG AND COB
Fixed component ID
5724Y99RC
Applicable component levels
R901 PSY
UP
R910 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0.1","Line of Business":{"code":"LOB57","label":"Power"}}]
Document Information
Modified date:
03 November 2021