Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Comparing dbz's set-up to yours, you might be able to benefit from some simplication.
Program A calls Z with a table of pointers.
Z establishes address of all required "shared" storage requirements, putting addresses in relevant entries in table of pointers.
Table of pointers is included in linkage to all modules that A calls.
Modules that A calls, and any subsequent calls, can refer to the data they require without further recourse to Z (by setting relevant linkage to relevant address from table of pointers). |
|