IBM Support

PI52890: IN RDZ, COBOL REAL-TIME SYNTAX CHECK RAISES INVALID ERROR FOR REPLACE STATEMENT WITH LINES HAVING D IN COLUMN 7

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for System z - RDz - v9.1.1.2, COBOL
    real-time syntax check raises invalid error for REPLACE
    statement with lines having D in column 7:
    
    "." expected after this token
    
    
    Steps to reproduce:
    
    The following program shows the error on line ".par".
    
           IDENTIFICATION DIVISION.
    
           PROGRAM-ID. REPLACE1.
    
           ENVIRONMENT DIVISION.
    
           DATA DIVISION.
    
            REPLACE
    
             ==:par:== by ==
          d       display '  +-------------------------'==
    
                   .
    
           WORKING-STORAGE SECTION.
    
    
    
           PROCEDURE DIVISION.
    
               :par:
    
               Goback.
    
           End PROGRAM REPLACE1.
    
    Remove the "d" from line:
          d       display '  +-------------------------'==
    change to:
                  display '  +-------------------------'==
    Observe that the error markers disappear.
    

Local fix

  • There is no known workaround at this time.
    

Problem summary

  • COBOL real-time syntax check raises invalid error for
    REPLACE statement with lines having D in column 7
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI52890

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-20

  • Closed date

    2016-02-26

  • Last modified date

    2016-02-26

  • 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

  • R911 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 9.1.1

Reference #: PI52890

Modified date: 26 February 2016