IBM Support

SE73268: RDI 9.6.0.7 EDITING SQLRPGLE SOURCE THE PARSER MAY REPORT AN ERROR FOR "END" USED AS NAME IN AN SQL STATEMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Editing ILE RPG source with embedded SQL the Remote Systems LPEX
    Editor in Rational Developer for i (RDI) 9.6.0.7 may incorrectly
    report parser errors (Unexpected END encountered) in a valid SQL
    statement.
    
    The problem occurs when the source has a SQL statement which
    contains the word END in some usage other than closing a
    statement block or clause. This can occur if the word END is
    used as a name or alias in the SQL statement.
    

Local fix

  • Avoid using END as a symbol name; choose some other name that
    does not conflict with SQL keywords.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ILE RPG developers using RDi to edit SQLRPGLE source.        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Embedded SQL with the word END intended as a name or alias   *
    * symbol is incorrectly interpreted as being an END clause.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    With the END token being incorrect interpreted as a SQL END
    clause; it propagates to further errors in the parsing of the
    source.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    SE73268

  • Reported component name

    RDI RPG AND COB

  • Reported component ID

    5724Y99RC

  • Reported release

    960

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-19

  • Closed date

    2021-09-21

  • Last modified date

    2024-10-10

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

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

Modules/Macros

  • SQLParse
    

Fix information

  • Fixed component name

    RDI RPG AND COB

  • Fixed component ID

    5724Y99RC

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"960","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
11 October 2024