IBM Support

PI14187: RATIONAL DEVELOPER FOR SYSTEM Z - IF VARIABLE INSIDE COPYBOOK WITH 'REPLACING' HAS NUMERIC PREFIX, COBOL PARSER FLAGS INVALID

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z 8.5 and 9.0 - RDz - If variable
    within a copybook with 'REPLACING' has numeric prefix, COBOL
    parser flags statement invalid.
    
    When a COBOL COPY statement includes the REPLACING verb and the
    copybook contains variable definition with a numeric prefix, the
    parser flags the statement invalid. For example, consider a
    COBOL program having the following statement:
    
    COPY TEST1 REPLACING ==:Tag:== BY ==TEST==.
    
    and the TEST1 COPYBOOK contains the following variable:
    
           01 TEST-VAR.
                  10  15-:Tag:-SEG-ID                  PIC X(5).
    
    This COPY statement will be flagged in error with the following
    annotation:
    
    - Copybook 'TEST1' contains the following error: '15-' is
    invalid.
    
    Local Fix:
    N/A
    

Local fix

Problem summary

  • Earlier COBOL parser did not support identifiers ending with
    hyphen.
    

Problem conclusion

  • COBOL parser has now been modified to support identifiers ending
    with hyphen.
    
    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

    PI14187

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-20

  • 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



Document information

More support for: Rational Developer for System z

Software version: 8.5

Reference #: PI14187

Modified date: 04 June 2015