A fix is available
APAR status
Closed as program error.
Error description
The following line is wrong according to the Enterprise COBOL Language ref and also according to the ANSI X3.23-1985 standard. FD FOOBAR LABEL RECORDS IS STANDARD. The COBOL editor correctly gives a syntax error. We want the COBOL editor to accept this as valid as does the Enterprise COBOL compiler for z/OS. The compiler has been wrong for years but there are too many of these lines to change. The editor must behave the same as the compiler. Same situation with DATA RECORDS IS OMITTED. DATA RECORD ARE OMITTED. 88 data-name VALUES IS. The words IS and ARE should be ignored.
Local fix
Problem summary
RDz editor parser (real-time syntax check) checked the LABEL RECORDS and DATA RECORDS clauses strictly against the Enterprise COBOL for z/OS Language Reference, which requires verb/subject agreement between RECORD/RECORDS and IS/ARE. However, the compiler does not require this and accepts both RECORD ARE and RECORD IS together as well as the documented RECORD IS and RECORDS ARE.
Problem conclusion
Changed editor parser to relax the requirement specified by the Enterprise COBOL for z/OS Language Reference, and accept RECORD ARE and RECORDS IS within the RDz editor. Changed editor parser to relax the requirement specified by the Enterprise COBOL for z/OS Language Reference, and accept RECORD ARE and RECORDS IS within the RDz editor. 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
PM60608
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-03-16
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