PM58681: Rational Developer for Sysetm z (RDz) real-time syntax check indicates errors
A fix is available
Closed as program error.
Rational Developer for Sysetm z (RDz) real-time syntax check indicates errors all through a program when in fact there are no errors. In this case, there is a vertical bar in the left margin that extends down into the procedure division. There are also 2 warnings that appear in the right margin. If you click on one of these then the whole section of initializeProgram through calculatexxxxDate becomes highlighted. The error that then appears in the left margin states, 'Preprocessor statement resolution contains the following error: 'ERROR_TOKEN' unexpected tokens ignored. Further analysis revealed that using ROWID as a variable was causing this behavior.
The COBOL data item ROWID, contained within this program or one of its copybooks, is being incorrectly treated as a COBOL language keyword by the Rational Developer for System z (RDz) real-time syntax check. This causes the parser to fail with the given error, and disables the RDz editor tooling that requires a successful parse of the edited program. (ROWID is a keyword in the data description clause USAGE SQL TYPE IS ROWID, which is not how it is being used in this program).
The Rational Developer for System z (RDz) real-time syntax check will now check for ROWID in the USAGE clause separately, without parsing ROWID like a keyword when it appears as a data item name. The side effect is that when used in USAGE SQL TYPE IS ROWID, ROWID will now use the "user-defined word" syntax coloring, not "reserved word". The problem listed in this APAR has been resolved with IBM Rational Developer for System z V184.108.40.206 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