At 22:05 +0200 on 01/14/2015, Binyamin Dissen wrote about Re: Abend S602-0 when in AMODE 64:

On Wed, 14 Jan 2015 14:41:46 -0500 "Shmuel Metz (Seymour J.)"
<[email protected]> wrote:

:>In <[email protected]>, on
:>01/14/2015
:>   at 08:00 AM, Donald Likens <[email protected]> said:

:>>AMODE 64 routines should be using relative branch and generally
:>>should  establish addressability to a static data area

:>What if the code is shared? That goes against decades of coding to be
:>reentrant and refreshable.

What issues do you perceive sharing a STATIC data area?

The issue is with a Writable not a Read-Only area. The Static area would need to be acquired separately with each invocation and thus would need to be accessed via a register not by relative addressing. Otherwise different address spaces would overlay each other's data.


--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


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

Reply via email to