IBM Support

PI09668: Rational Developer for System z (RDz) Real time syntax error for copybook with COPY Replace syntax

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z - RDz - v9
    A COBOL program that points to a copybook that contains the
    copy with replacing will cause an error in the real time syntax
    check in either LPEX or COBOL editor.
    
    The warning that is issued is:
    'Copybook 'CBLCOPY1' contains following error: '.'
    expected after this toke
    
    Below is an example of a failing statement:
    copy CBLCOPY1 replacing ==MLMXXXX== by
                  ==MLMC6(IND-S)== .
    ***************************************************************
    Local fix:
    

Local fix

Problem summary

  • When tokens get added normally there is variable called
    targetTokenLocation that gets incremented but for some reason it
    didn't get incremented for the replace tokens.
    

Problem conclusion

  • Increment  the targetTokenLocation count in case when there are
    more tokens to handle on the copy replacing clause in
    CobolPrsStream#performSubstitution method.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.0.1.4 Fix 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

    PI09668

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-15

  • Closed date

    2015-06-04

  • Last modified date

    2015-06-04

  • 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

  • R901 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 October 2021