thankx -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Binyamin Dissen Sent: Monday, July 05, 2010 2:10 AM To: IBM-MAIN@bama.ua.edu Subject: Re: ECB parameter on attach
On Sun, 4 Jul 2010 19:13:20 -0400 Joe Reichman <joereich...@optonline.net> wrote: :>The system posts it when the Subtask does a BR R14 Or SVC 3 or abends. :>-----Original Message----- :>From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf :>Of john gilmore :>Sent: Sunday, July 04, 2010 4:58 PM :>To: IBM-MAIN@bama.ua.edu :>Subject: Re: ECB parameter on attach :>If I understand you correctly, the answer to your question is no. :>If an issuing task supplies an ECB with an ATTACH macro the system posts it :>complete when the subtask created by the ATTACH completes its processing. :>This is usually done so that the attaching task can use a WAIT macro to wait :>upon and be notified by the system of the completion of the subtask. :>The system does not, however, remove the program object or load module :>executed by this subtask from storage, which is an advantage if subtasks :>that use it are attached repeatedly. For this reason the attaching task :>must issue a DETACH macro for the subtask before it itself terminates. :>If instead neither an ECB nor an ETXR parameter is specified in an ATTACH :>macro the system does the clean up, removing the executable from storage :>after it completes its processing. :>Note also that, at least in new code, you should now be using ATTACHX :>instead of ATTACH. -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel 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