IBM Support

PM42747: RDz LPEX editor flaging SQL statement with REPLACE function with the following error: 'REPLACING' expected instead of this in

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RDz LPEX editor is flagging SQL statement with Replace function:
    
    
    || strip(replace(SURETY_NAME, '&', '%26'))
    
    The error text returned by RDz is :
    'REPLACING' expected instead of this input
    
    This use of the replace function should not be flagged as an
    error in the SQL.
    
    This error also disables (grayed out) the RDz 'Open Declaration'
    and 'Open Perform Hierarchy' functions.  If this line is
    commented out from the SQL statement, these functions are
    enabled.
    

Local fix

Problem summary

  • RDz showed incorrect warning annotations when the replace
    keyword was used within EXEC END-EXEC blocks.
    

Problem conclusion

  • In the next release, the incorrect warning annotations will not
    be shown when replace is used within EXEC END-EXEC blocks.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.3 Refresh Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42747

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-29

  • Closed date

    2011-10-14

  • Last modified date

    2011-10-14

  • 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

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R803 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2020