IBM Support

SE56575: RATIONAL DEVELOPER FOR I - RDI - DOES NOT CORRECTLY COLOR RPGLE FREE FORM TEXT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Developer for i - RDi - does not correctly color free
    form text when using /if and /endif compiler directives.
    For example, in the following RPGLE program the dsply is not
    always shown in red , nor is the /if defined always displayed
    in blue:
          /free
           dsply 'bla';
          /if defined(FOO)
            dsply 'blub ';
          /endif
          /end-free
    According to the RPGLE reference->chapter 2 (Compiler
    directives), these all need to start in column 7.  When I first
    enter the /if defined(FOO) and hit enter this line is displayed
    in blue, the same as the /free.
    I then add dsply 'blah"; <enter>, and it shows up in black.
    The /endif<enter>,  shows up in blue the same as /free.
    If I then close the program and reopen it, the /if, and /endif
    are now in black and the dsply is in red.
    

Local fix

  • Move code to column 8 then it is colored correctly.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: RDi users who edit RPGLE source.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Free-form source is colored             *
    *                      incorrectly when editing RPGLE.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When editing RPGLE source, some lines were not being colored
    correctly after moving the cursor off of the line. When the
    file is closed and reopened, some lines would appear correct
    while others were still colored incorrectly.
    

Problem conclusion

  • This problem is fixed in the RDi 9.0.1 update.
    

Temporary fix

Comments

APAR Information

  • APAR number

    SE56575

  • Reported component name

    RDI RPG AND COB

  • Reported component ID

    5724Y99RC

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-04

  • Closed date

    2013-12-11

  • Last modified date

    2013-12-11

  • 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

    RDI RPG AND COB

  • Fixed component ID

    5724Y99RC

Applicable component levels

  • R900 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","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
07 January 2022