IBM Support

PH71292: IBM ZOPENEDITOR EXTENSION FOR VSCODE - COPY REPLACING CLAUSES WITH A WORD CONTAINING $ SIGN LEADS TO THE COBOL PARSER FAILURE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • since upgrading IBM zOpenEditor Extension for VSCode from
    version 6.3 to version 6.4 COPY REPLACING clauses with a word
    containing a dollar sign ($) lead to the COBOL parser failing. A
    statement like this is no longer valid in the edior
    
    COPY TMW9999 REPLACING $WERT$ BY =='TESTTEXT'==.
    
    In consequence there are no features like "Go to Definition" or
    tooltip text for variables available.
    the statement in the copybook is an incorrectly formatted
    statement as it stands by itself.  It compiles cleanly because
    the compiler will do the replacing before evaluating the syntax
    of the copybook, therefore, a clean compile..
    

Local fix

  • A workaround is to put the singe ' in the copybook around the
    $WERT$ and remove the single quotes from the cobol file in the
    BY clause.  But this might not be able to be done easily if a
    lot of files are affected.
    

Problem summary

  • Fixed an issue where COPY REPLACING logic was not handling $
    characters correctly.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH71292

  • Reported component name

    DEV FOR Z/OS EC

  • Reported component ID

    5724T0700

  • Reported release

    H00

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-05-12

  • Closed date

    2026-08-24

  • Last modified date

    2026-08-24

  • 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

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"H00"}]

Document Information

Modified date:
24 August 2026