User Activity

  • Created ticket #446 on GnuCOBOL

    -fperform-osvs flag doesn't appropriately match the behavior of osvs for performs

  • Created ticket #445 on GnuCOBOL

    Repeated SECTION labels give syntax error.

  • Posted a comment on ticket #901 on GnuCOBOL

    Thanks, that works as expected. On Mon, Sep 11, 2023 at 12:29 PM Simon Sobisch sf-mensch@users.sourceforge.net wrote: You may be interested in: -fperform-osvs exit point of any currently executing perform is recognized if reached [bugs:#901] https://sourceforge.net/p/gnucobol/bugs/901/ PERFORM ... THRU falls thru the procedure end into a following ENTRY statement Status: accepted Group: GC 3.x Labels: cobc codegen Created: Sun Jul 23, 2023 12:45 PM UTC by Simon Sobisch Last Updated: Mon Sep 11, 2023...

  • Posted a comment on ticket #901 on GnuCOBOL

    This may be easier to fix if GNU COBOL handled PERFORM .. THRU similar to how IBM and MF handle it. In particular, GNU COBOL appears to build a stack of return values, so that for sequential paragraphs A, B, C, if you 1. PERFORM A thru C, and through conditional branching inside of, say B you also 2. PERFORM A thru C, it will stack those up and at the end of C first return to the statement after 2, then to the statement after 1 the next time you reach the end of C. IBM doesn't do that; it overwrites...

  • Modified a comment on ticket #260 on GnuCOBOL

    I don't see documentation on most of this; I found I had to discover it through extensive testing. For ambiguous paragraph names, the IBM compiler issues a severe error (highest besides terminating) but nonetheless finishes the compile and runs the program. It actually discards the offending PERFORM or GO TO line. But I think being more permissive is ok (maybe in the IBM dialect disallow so people don't write programs that won't work on ibm). Your final questions are correct, if you don't reference...

  • Posted a comment on ticket #260 on GnuCOBOL

    I don't see documentation on most of this; I found I had to discover it through extensive testing. For ambiguous paragraph names, the IBM compiler issues a severe error (highest besides terminating) but nonetheless finishes the compile and runs the program. It actually discards the offending PERFORM or GO TO line. But I think being more permissive is ok (maybe in the IBM dialect disallow so people don't write programs that won't work on ibm). Your final questions are correct, if you don't reference...

  • Posted a comment on ticket #260 on GnuCOBOL

    FYI the current IBM COBOL 6.3 zOS compiler does not accept variables named the same as sections. However it does accept two sections with the same name, as long as it's not ambiguous. In other words you can have SECTION A. SECTION B. SECTION A. as long as you don't have a GO TO A. Version 3.1.2 of GNU COBOL does not support repeated section names, and maybe that can be fixed at the same time as this. Likewise, IBM allows the same paragraph name to be reused, even in the same section or without sections,...

View All

Personal Data

Username:
bfahle
Joined:
2023-09-08 14:04:44.860000

Projects

  • No projects to display.

Personal Tools