PM84266: COBOL variable names are wrongly flagged as reserved words.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • RD/z 8.5.1.0    LPEX or the COBOL editor.
    01 TABLE1.
         02 MY-NAME PICTURE X OCCURS 5 TIMES INDEXED BY AS.
         02 ATTRIBUTES PICTURE X.
    Both of the above statments give syntax errors.
    They both compile okay using Remote Syntax Check.
    The first gives 'IndexNameList' is invalid because AS is wrongly
    assumed to be a reserved word.
    The second gives 'ERROR_TOKEN' unexpected tokens ignored because
    ATTRIBUTES is wrongly assumed to be a reserved word.
    The compiler allows these; so should LPEX and the COBOL editor.
    

Local fix

  • None.  Change the variables AS or ATTRIBUTES to something else.
    

Problem summary

  • COBOL real-time syntax checking was not allowing several "soft
    keywords" like AS and ATTRIBUTES that can be both keywords and
    user-defined data names.
    

Problem conclusion

  • COBOL real-time syntax checking has added the known soft
    keywords so they can be used as user-defined data names.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.5.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

    PM84266

  • 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

    2013-03-06

  • Closed date

    2013-10-16

  • Last modified date

    2013-10-16

  • 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

  • R850 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Developer for System z

Software version:

850

Reference #:

PM84266

Modified date:

2013-10-16

Translate my page

Machine Translation

Content navigation