On Tue, Aug 9, 2016 at 11:28 AM, Mike Schwab <[email protected]>
wrote:

> http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/
> com.ibm.zos.v2r1.ieab100/reus.htm
> When you link edit, you indicate the re-usability of the program.
> When the program runs, it reuses the same program if re-entrant.  Each
> use has a different set of registers and working storage.
> Serially reusable can be self modifying (storing into load module
> areas), but can be reused after completing.  Needs a new copy for a
> simultaneous use.
> None means the program must be reloaded from disk for every use.
>
> When you run a program, the LOAD macro examines the directory and
> loads as appropriate.
> http://www.longpelaexpertise.com/ezine/ReentrantBeginners.php
>
>
​That explains why my version of the program does what it does. I compile
my COBOL with the RENT compiler option, and use RENT,REUS on the link. So,
at least in my case, everything makes sense. I'm a bit OCD about trying to
make all my code RENT,REUS. My main way to think of this is "would this
still run correctly if it were burned into ROM?" I try to make the answer
to that YES.​



-- 
Klein bottle for rent -- inquire within.

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