×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
IIRC In my mainframe days there was a big difference between ending with GOBACK and EXIT PROGRAM. Not sure if this is the same on the 400, or if it has the same effect as not setting on LR.
Scott Lindstrom
-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Friday, June 28, 2013 01:03 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: [COBOL400-L] COBOL for RPG programmers: How do you shut down a program?
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
As an Amazon Associate we earn from qualifying purchases.
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.