A fix is available
APAR status
Closed as program error.
Error description
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.
Local fix
Problem summary
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).
Problem conclusion
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 V8.0.3.2 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
PM58681
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
803
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-02-21
Closed date
2012-03-29
Last modified date
2012-03-29
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
R803 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"803","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
28 October 2021