Given our change control procedures, it would likely not be _allowed_ to
have multiple COBOL programs in a single source member. But I'm not sure of
that. This is a way to have RECURSIVE calls, but now we are getting very
complicated because I'm certain that the programmer will want each separate
program to have equal access to the WORKING-STORAGE of the "main" routine.
Which means having all, or most, of the WORKING-STORAGE in a COPY book with
the EXTERNAL attribute on all the 01 and 77 levels.

And I just had another thought because this might be  a CICS program, the
programmer didn't say. In which case all of this is very moot.


On Tue, Jul 30, 2013 at 9:31 AM, John Gilmore <[email protected]> wrote:

> Peter Farley's point, which I took as a given, is correct.  Such
> programs need to be compiled independently, although they can of
> course be batched together with others using process statements.
>
> John Gilmore, Ashland, MA 01721 - USA
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to