IBM Support

PI71850: RDZ IDZ COBOL EDITOR GIVERS ERROR ON COPY REPLACING STATEMENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z - RDz
    IBM Developer for z Systems - IDz
    
    COBOL editor givers error on copy replacing statement
    
    The following statements may cause a parser error in the
    real time syntax checker for the COBOL compiler:
    
    The line in the COBOL program:
               COPY TEST REPLACING +QQ BY +645.
    
    In TEST copybook:
               03 TEST-ENTRY-LENGTH      PIC S9(8) COMP VALUE +QQ.
    
    The following exception can be found in the .trace file for
    the user in the workspace\.metadata folder when the COBOL
    parsing trace options are turned on:
     com.ibm.systemz.cobol.editor.core.copy.parser.
                                 CopyStatementLexerLpgLexStream
     com.ibm.systemz.common.editor(FINE):
    reportLexicalError: no message handler, reporting:
    ****Error: null:16:36:16:36:414:-1:6: "ERROR_TOKEN" {0}
                          unexpected token(s) ignored
    java.lang.Exception
        at com.ibm.systemz.cobol.editor.core.copy.parser.
            CopyStatementLexerLpgLexStream.reportLexicalError
        at lpg.runtime.PrsStream.reportError
        at lpg.runtime.PrsStream.reportError
        at lpg.runtime.DiagnoseParser.emitError
        at lpg.runtime.DiagnoseParser.emitError
        at lpg.runtime.DiagnoseParser.primaryDiagnosis
        at lpg.runtime.DiagnoseParser.primaryPhase
        at lpg.runtime.DiagnoseParser.errorRecovery
        at lpg.runtime.DiagnoseParser.diagnoseEntry
        at lpg.runtime.DiagnoseParser.diagnose
        at com.ibm.systemz.cobol.editor.core.copy.parser.
                                       CopyStatementParser.parser
        at com.ibm.systemz.cobol.editor.core.copy.parser.
                                       CopyStatementParser.parser
    

Local fix

  • None available
    

Problem summary

  • Copy Replacing statement flagging words containing '+'
    characters as invalid.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI71850

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    951

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-04

  • Closed date

    2017-02-23

  • Last modified date

    2017-02-23

  • 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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 951

Reference #: PI71850

Modified date: 23 February 2017