Re: How to end SubTask???

2009-07-28 Thread Peter Relson
The starting point for the confusion is the (incomplete) explanation in the book for abend 23E reason 0: 00 The protection key of the address does not match the key of the issuer of the DETACH. That is indeed one reason. 23E reason 0 means no more and no less than that the system att

Re: How to end SubTask ???

2009-07-27 Thread Gilbert Saint-Flour
I suggest looking at the CRASH and EXECURP procedures of the FASTPATH program which works in TSO and ISPF. In the TSO environment, EXECURP invokes the Un-authorized Resource Processor Service Routine (IKJURPS) which schedules an IRB at the IKJEFT09 level to execute the CRASH85 routine whose add

Re: How to end SubTask ???

2009-07-27 Thread Wayne Driscoll
(AT)us.ibm.com === Joe Reichman Sent by: IBM Mainframe Discussion List 07/27/2009 07:22 AM Please respond to IBM Mainframe Discussion List To IBM-MAIN@bama.ua.edu cc Subject Re: How to end SubTask ??? does the subtask need to have access to

Re: How to end SubTask ???

2009-07-27 Thread Binyamin Dissen
l 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 wrote: :&g

Re: How to end SubTask ???

2009-07-27 Thread Joe Reichman
: Re: How to end SubTask ??? On Mon, 27 Jul 2009 01:57:32 -0500 Barbara Nitz 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.

Re: How to end SubTask ???

2009-07-27 Thread Binyamin Dissen
On Mon, 27 Jul 2009 01:57:32 -0500 Barbara Nitz 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 actu

Re: How to end SubTask ???

2009-07-26 Thread Barbara Nitz
>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

Re: How to end SubTask ???

2009-07-26 Thread Brian Westerman
Has your subtask changed keys while it was processing? Brian -- 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://

Re: How to end SubTask ???

2009-07-26 Thread Paul Gilmartin
On Sun, 26 Jul 2009 21:07:01 -0400, Joe Reichman wrote: > >I added an ECB to the ECB= parm of the attach thinking that when I did the >DETACH > >MVS would post it for me and I would the necessary cleanup and do a BR R14 > The child task should BR R14 when it completes its work. That causes the ECB

Re: How to end SubTask ???

2009-07-26 Thread Binyamin Dissen
On Sun, 26 Jul 2009 21:07:01 -0400 Joe Reichman wrote: :> Does Anyone know the right way to end a SubTask ??? Depends on the subtask. If it does one thing, it should just end when done. If it is a transaction processor, their would either be a transaction that says shut down or some ECB which te

How to end SubTask ???

2009-07-26 Thread Joe Reichman
Hi, Does Anyone know the right way to end a SubTask ??? I have been getting a 23E abend with r15 = 0 When issuing the Detach the explaination of which is The protection key of the address does not match the key of the issuer of the DETACH. Which doesn't make sense to me sine When I did th