IBM Support

SE75556: RDI 9.6.0.10 EDITING SQLRPGLE SOURCE THE PARSER MAY REPORT AN ERROR DUE TO SQL IF EXISTS CLAUSE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Editing ILE RPG source with embedded SQL using the Remote
    Systems LPEX Editor in Rational Developer for i (RDI) 9.6.0.10
    may incorrectly report parser errors (Statement begin and end
    type mismatch) in a valid SQL statement.
    The problem occurs when the source has a SQL statement with an
    IF EXISTS clause.
    
    Example:
        EXEC SQL DROP TABLE IF EXISTS mytable;
    

Local fix

  •  If possible, remove the IF EXISTS clause.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ILE RPG developers using RDi to edit SQLRPGLE source.        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The editor incorrectly reports parser errors when editing    *
    * valid SQLRPGLE source.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem occurs when the source has a SQL statement with an
    IF EXISTS clause.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    SE75556

  • 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

    2021-04-27

  • Closed date

    2021-09-21

  • Last modified date

    2021-09-21

  • 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

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"960"}]

Document Information

Modified date:
22 September 2021