No, The subtask has no need to know about the ECB. When the attacher specifies ECB=, the system will then POST that ECB as part of the standard task termination processing done by z/OS.
=============================================== Wayne Driscoll OMEGAMON DB2 L3 Support/Development wdrisco(AT)us.ibm.com =============================================== Joe Reichman <joereich...@optonline.net> Sent by: IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> 07/27/2009 07:22 AM Please respond to IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> To IBM-MAIN@bama.ua.edu cc Subject Re: How to end SubTask ??? does the subtask need to have access to the ECB since it is posted by MVS when the subtask does a BR R14 -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu]on Behalf Of Binyamin Dissen Sent: Monday, July 27, 2009 3:25 AM To: IBM-MAIN@bama.ua.edu Subject: Re: How to end SubTask ??? On Mon, 27 Jul 2009 01:57:32 -0500 Barbara Nitz <nitz-...@gmx.net> wrote: :>>The child task should BR R14 when it completes its work. That :>>causes the ECB to be POSTed for the parent task to test/WAIT. :>>After that ECB is POSTed, the parent should DETACH the child. :>When a task goes through BR R14 (which actually calls cvtexit and translates :>to 0A03 - exit svc), that tcb is gone. I think that detach would get a little :>upset when instructed from the parent to detach a tcb (the child tcb) that :>has already gone through exit. IIRC, the posting of the parent gets done by :>RTM when the daughter tcb was attached that way. The TCB is only gone if the task was ATTACHed without ECB and ETXR. If either was specified an explicit DETACH is required. -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html