Let me see if I am understanding it all.  There really isn't a need for
the daughter task to POST because the system does automatically when the
daughter process ends.  And just about the only information that the
daughter can get from the ECB is whether the parent has issued a WAIT or
not.  

I found it in the ECB description of the ATTACH parms:
"The ECB must be in storage so that the issuer of ATTACH can wait on it
(using the WAIT macro) and the system can post it on behalf of the
terminating task."

Gotta love _The System_.  Now I'm trying to figure out what POST is
actually used for.  The doc reads like a James Joyce novel.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A670/6.1

Lindy

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Gilmartin
Sent: 20. tammikuuta 2008 17:45
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: How does ATTACH pass address of ECB to child?

On Sun, 20 Jan 2008 16:00:41 +0100, Lindy Mayfield wrote:

>Ok, thanks, I see now.  ATTACH doesn't put it there automatically, I
put
>it there unless I use a parameter list, and then I would make it a part
>of that list.
>
Now that you can find it, what use can you make of it?  You shouldn't
POST it.  I suppose you can make some decision based on the WAIT bit:
e.g. process in a loop until the parent WAITs then terminate.

>-----Original Message-----
>From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
>Behalf Of Larry Crilley
>
>Not sure if someone responded or not...
>
You can generally find out by reading the followups.

>When the daughter is entered, the ECB address will be off of R1.
>
No, R1 points to the argument list.

-- gil

----------------------------------------------------------------------
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

Reply via email to