SE55502: RDP 8.5.1 RPGLE LIVE OUTLINE DOES NOT SHOW STRUCTURE SUB ELEMENT USAGE
Closed as user error.
When using the live outline for RPGLE source, references to usage of sub-elements of a structure are not shown in the outline view. For example, with the following source there is no reference shown for fld1 in the assignment statement. d ds1 ds qualified d fld1 1a d ds2 ds d fld2 likeDs(ds1) /free ds2.fld2.fld1 = '1'; /end-free This problem does not exist with the static outline.
Use the static outline for RPGLE source to avoid this issue.
This was determined to be an invalid use case. The Outline view does not show a line reference for the qualified subfield name because it is not a valid reference to the subfield. In the example reference DS2.DS1.FLD1, DS2 was not defined as QUALIFIED. When the QUALIFIED keyword is absent from the containing data structure, using the name of that data structure as a qualifier in a reference is invalid. As a result, neither the static or live outlines show the qualified references. However if the QUALIFIED keyword is specified, both the static and live outlines show all the references correctly.
Reported component name
RPG/COBOL DEV T
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Applicable component levels
Translate this page: