In <listserv%[email protected]>, on 07/01/2011
at 03:45 PM, Paul Gilmartin <[email protected]> said:
>What do LINK and ATTACH respectively pass the child program as a save
>area pointer?
As documented, LINK leaves R2-R13 alone. ATTACH creates a save area
for the new task and puts its address in the subtask R13, while
leaving the main tasks R13 alone.
>If the caller ATTACHes multiple subtasks, must it provide a separate
>save area for each?
There's no way to do that. As documented, ATTACH(X) provides the new
save area, not the caller.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html