On Mon, May 12, 2014 at 10:11 PM, Jon Perryman <jperr...@pacbell.net> wrote:

> In assembler, we usually do this by allocating the storage to a shared
> subpool or allocating the storage to a TCB that we know is the last TCB to
> terminate. This allows assembler programmers to choose the time that the
> storage will be automatically freed if recovery / termination occurs for
> our task.
>

Why not just use "Job Step" storage, such as SP=130 or 131? From my
reading, a non-privileged program is allowed to request either of those
subpools, so long as it requests it in a key allowed by the PKM (or just
use key 8). Is this how you are doing it? Or do you use the "input TCB"
parameter of the STORAGE OBTAIN macro? Or do you just have a TCB which does
all the STORAGE OBTAINs. Or, perhaps weirdest, do you schedule an IRB from
the "requesting" TCB to run a subroutine on the "owning" TCB which does the
STORAGE OBTAIN and then returns the address to the original TCB somehow
(such as WAIT / POST)?

Inquiring minds want to know. <grin/> I am just curious.

-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to