From: <Mlpolutta@aol.com>

I did not understand things to be this way, Leif.  What the docs *used to*
say was that the first COBOL program in the stack created the run unit.  Once
the first COBOL pgm in the stack ended (no matter how) the run-unit was
deleted.  Therefore Brian's concern was valid.

===> no, I don't think so. What Brian said was:
"If you are going to call this COBOL program a bunch of times during the
running of the RPG program"

I myself (and everybody else that have used McKenzie's undelete record
program) have called COBOL from MI to open, read, and close files.
This works fine, and would not work if returning from the call to open
the file terminated the run unit. The next call of the COBOL program
(to do the read) would then fail and it doesn't. Or is my confusion
that RPG somehow is "special"? (again, I don't think so).




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.