IBM Support

PI50268: RATIONAL DEVELOPER FOR SYSTEM Z (RDZ) COBOL PROGRAM CONTAINING COPYBOOK WITH SKIP1 PRIOR TO FD DEFINITION GIVES PARSER ERROR

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.1.1
    
    When you open a program using COBOL editor you will receive a
    ERROR_TOKEN error if copybook contains a SKIP1 prior to a
    File Description.
    
    For example, in the program you have the following lines:
           FD  TEST-DATA-FILE
              COPY TEST03.
    
    And, in the copybook TEST03, you have the following:
           SKIP1
                   BLOCK CONTAINS 0 RECORDS
                   RECORD CONTAINS 600 CHARACTERS
                   LABEL RECORDS ARE STANDARD
                   DATA RECORDS ARE
                       DATA-SUMM-REC
                       DATA-CTRL-REC.
    
    
    The copy statement line in the program will be flagged
    with an ERROR_TOKEN.
    
    If the SKIP1 is not present in the copybook prior ot the
    file definition description then the parser does not give
    an error.
    

Local fix

  • Comment out the SKIP1 prior to the file definition description
    in the copybook.
    

Problem summary

  • COBOL Parser was not handling SKIP statements correctly.
    

Problem conclusion

  • COBOL Parser needs to handle SKIP statements (SKIP1, SKIP2,
    SKIP3) correctly so that parser error is not displayed.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.1.1.3 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

    PI50268

  • 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-10-09

  • Closed date

    2016-02-25

  • Last modified date

    2016-02-25

  • 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 #: PI50268

Modified date: 25 February 2016