gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] GOBACK in main program


From: schlehuberc
Subject: [open-cobol-list] GOBACK in main program
Date: Fri, 15 Jun 2007 12:24:37 -0500


I have compiled all of the main batch program (called from the script) with -m, and execute them with cobcrun.

Several of the programs use a GOBACK instead of a STOP RUN to end the program.

On the mainframe and MicroFocus, the programs end when it hits the GOBACK.

With OC, since there is no module to return to, the goto exit_program is never executed, and the program falls through and starts to execute the first paragraph after the mainline.


Thanks.

Cris Schlehuber

reply via email to

[Prev in Thread] Current Thread [Next in Thread]