PM84266: COBOL variable names are wrongly flagged as reserved words.
Fixes are available
Rational Developer for System z Fix Pack 4 (220.127.116.11) for 8.5.1
Rational Developer for System z Interim Fix 1 for 18.104.22.168
Rational Developer for System z Fix Pack 5 (22.214.171.124) for 8.5.1
Rational Developer for System z Fix Pack 6 (126.96.36.199) for 8.5.1
Rational Developer for System z Interim Fix 1 for 188.8.131.52
Rational Developer for System z Fix Pack 7 (184.108.40.206) for 8.5.1
Closed as program error.
RD/z 220.127.116.11 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.
None. Change the variables AS or ATTRIBUTES to something else.
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.
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 V18.104.22.168 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Reported component name
RATL DEV FOR SY
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
RATL DEV FOR SY
Fixed component ID
Applicable component levels
Translate this page: