Sorry by 2 I meant 1 parameter and 1 MVS Service DETACH
thankx
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Edward Jaffe
Sent: Saturday, October 30, 2010 9:57 PM
To: [email protected]
Subject: Re: Task Creation and Termination
On 10/30/2010 6:39 PM, Micheal Butz wrote:
> Just so I understand
>
> If I Attach a Task with a ECB parameter this ECB is posted by MVS
when
> the Subtask does a BR 14 to MVS
After end of task cleanup.
> When this ECB is posted I do DETACH to remove the TCB
Yes.
> If I don't code these two parameters the when the SUBTASK does a BR R14 to
> MVS everything (TCB etc) goes away automatically
Which two parameters?
> Would there be any reason to code both these parameter I guess maybe if
> after the task end I might want to look at the TCBTIME to see how much
time
> CPU time the
>
> Task used
I would think fundamentally a parent task would want to know when it's safe
to
terminate without fear of the dreaded A03 abend. I guess if the parent is
designed to never terminate, that wouldn't be a consideration...
--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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