IBM Support

SE54604: RDP 8.5.1 RPGLE LIVE OUTLINE DOES NOT HANDLE DBCS CHARACTERS CORRECTLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The source code scan for the RPG Live Outline view has a problem
    with handling double byte characters.  This causes double byte
    characters to be treated as single byte characters on the line.
    This may shift any right-most entries on the line out of valid
    RPG columns for the specification; causing false errors to be
    reported, and may prevent the Live Outline view from being
    populated.
    

Local fix

  • A workaround is either to switch the Outline view back to the
    static view, or to rewrite the statements with code scan issues
    so that they do not have entries to the right of the double byte
    string on a fixed format specification.  Possibilities include
    using a named constant for the double byte string, changing to
    an EVAL with an extended Factor 2 format, or changing to a free
    format statement.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users who edit RPGLE source with double byte *
    *                 characters and using the live outline view.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Double byte characters in fixed form    *
    *                      statements may cause false errors in    *
    *                      the live outline view code scan.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Double byte characters in source on the IBM i host may be
    represented by a different number of bytes when downloaded
    and converted to unicode on the local client for editing.
    
    This presents a difficulty to the source code scan for the RPG
    Live Outline view which has to scan the bytes on a line
    according to the RPG fixed format columns.  This may shift any
    entries on the line (which are to the right of double byte
    characters) out of valid RPG columns for the specification;
    causing false errors to be reported, and may prevent the Live
    Outline view from being populated.
    
    This problem is fixed in RDi 9.0.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    SE54604

  • Reported component name

    RPG/COBOL DEV T

  • Reported component ID

    5724Y9901

  • Reported release

    850

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-25

  • Closed date

    2013-06-21

  • Last modified date

    2013-06-21

  • 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

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS4QVT","label":"Rational Developer for Power Systems Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
21 June 2013