[Bug cobol/126612] New: cobol1: FR: implement READY/RESET TRACE (at least parsing)

simonsobisch at gnu dot org via Gcc-bugs <[email protected]> Mon, 03 Aug 2026 11:25:00 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D126612

            Bug ID: 126612
           Summary: cobol1: FR: implement READY/RESET TRACE (at least
                    parsing)
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simonsobisch at gnu dot org
  Target Milestone: ---

TEST.cob:82:12: error: syntax error, unexpected READY
   82 |            READY TRACE.
      |            ^~~~~~
TEST.cob:102:12: error: syntax error, unexpected RESET
  102 |            RESET TRACE.
      |            ^~~~~~

This feature was likely available at IBM which syntax-checks, but ignores t=
his:

https://www.ibm.com/docs/en/cobol-zos/6.5.0?topic=3Dstatements-ready-reset-=
trace-statement


GnuCOBOL fully supports that statement, so a support would be nice as well =
:-)=