SE55502: RDP 8.5.1 RPGLE LIVE OUTLINE DOES NOT SHOW STRUCTURE SUB ELEMENT USAGE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as user error.

Error description

  • 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.
    

Local fix

  • Use the static outline for RPGLE source to avoid this issue.
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • 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.
    

APAR Information

  • APAR number

    SE55502

  • Reported component name

    RPG/COBOL DEV T

  • Reported component ID

    5724Y9901

  • Reported release

    850

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-16

  • Closed date

    2014-01-13

  • Last modified date

    2014-01-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Developer for Power Systems Software

Software version:

8.5

Reference #:

SE55502

Modified date:

2014-01-13

Translate my page

Machine Translation

Content navigation