When I want a COBOL program to end, I always code a GOBACK statement.

Rich Loeber - @richloeber
Kisco Information Systems
[1]http://www.kisco.com

--------------------------------------------------------------------------

On 6/28/2013 2:02 PM, David Gibbs wrote:

Fair warning ... I haven't seriously looked at COBOL since I was in college ... some 30+ years ago.

I've got a customer problem where a COBOL program is remaining active even after it's been exited. Even though the program has been replaced (and the original program moved to a different library), when they re-run the program, the moved program object goes active.

In RPG we would shut down a program by setting on LR and exiting the program.

If we want to keep the program active, we would NOT set LR on and exit.

How would you exit a program normally in COBOL ... and how would you exit the program but leave the program active?

Thanks!

david

References

Visible links
1. http://www.kisco.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.