Re: ECB parameter on attach

2010-07-21 Thread Shmuel Metz (Seymour J.)
In , on 07/05/2010 at 10:48 AM, Paul Gilmartin said: >Does an RB issue SVC-3, or is it the task the RB dispatches that >issues SVC-3? No. >Does the RB remain once it has caused the task to be dispatched? Assumption contrary to fact. The RB represents work in progress within a task; it doesn

Re: ECB parameter on attach

2010-07-05 Thread Rick Fochtman
riginal Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Peter Relson Sent: Monday, July 05, 2010 9:43 PM To: IBM-MAIN@bama.ua.edu Subject: Re: ECB parameter on attach If I understand the posts, they so far have all been somewhat incorrect. The ECB is poste

Re: ECB parameter on attach

2010-07-05 Thread Joe Reichman
Subject: Re: ECB parameter on attach If I understand the posts, they so far have all been somewhat incorrect. The ECB is posted upon termination of the subtask rather than when DETACH is issued (though of course DETACH of a running task will lead to its termination). The subtask "progra

Re: ECB parameter on attach

2010-07-05 Thread Peter Relson
If I understand the posts, they so far have all been somewhat incorrect. The ECB is posted upon termination of the subtask rather than when DETACH is issued (though of course DETACH of a running task will lead to its termination). The subtask "program" is freed at termination of the subtask. Wh

Re: ECB parameter on attach

2010-07-05 Thread Tony Harminc
On 5 July 2010 11:48, Paul Gilmartin wrote: > Are you saying that it is unsupported for a module entered by ATTACH > to exit via R14?  Or merely that it is not guaranteed that a module > can CLC 0(2,14),=x'0A03' to determine that it was entered by ATTACH? It is not guaranteed in two senses: firs

Re: ECB parameter on attach

2010-07-05 Thread Chris Craddock
On Mon, Jul 5, 2010 at 10:48 AM, Paul Gilmartin wrote: > On Mon, 5 Jul 2010 08:48:38 -0600, Robert Raicer wrote: > > > >You have it just about right. When the sole remaining RB for the TCB > >issues SVC-3 (EXIT), End of Task processing begins. This causes RTM > > > Does an RB issue SVC-3, or is

Re: ECB parameter on attach

2010-07-05 Thread Paul Gilmartin
On Mon, 5 Jul 2010 09:20:12 -0700, Charles Mills wrote: >Absolutely, a sub-task can and normally does exit via BR 14. One of the >elegances of OS/360 and its descendents (as opposed, for example, to DOS/360 >and its descendants) is that a module can be entered and exit without >knowing or caring w

Re: ECB parameter on attach

2010-07-05 Thread Joe Reichman
THANKX -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Robert Raicer Sent: Monday, July 05, 2010 10:49 AM To: IBM-MAIN@bama.ua.edu Subject: Re: ECB parameter on attach > Date:Sun, 4 Jul 2010 22:30:01 -0500 > From:Paul Gil

Re: ECB parameter on attach

2010-07-05 Thread Charles Mills
ama.ua.edu] On Behalf Of Paul Gilmartin Sent: Monday, July 05, 2010 8:48 AM To: IBM-MAIN@bama.ua.edu Subject: Re: ECB parameter on attach Are you saying that it is unsupported for a module entered by ATTACH to exit via R14? Or merely that it is not guaranteed that a module can CLC 0(2,14),=

Re: ECB parameter on attach

2010-07-05 Thread Paul Gilmartin
On Mon, 5 Jul 2010 08:48:38 -0600, Robert Raicer wrote: > >You have it just about right. When the sole remaining RB for the TCB >issues SVC-3 (EXIT), End of Task processing begins. This causes RTM > Does an RB issue SVC-3, or is it the task the RB dispatches that issues SVC-3? Does the RB remain

Re: ECB parameter on ATTACH

2010-07-05 Thread john gilmore
Charles, Let me deal with your two questions Aren't you conflating DETACH and DELETE? A programmer who is ATTACHing with ECB the same load module multiple times should issue one DETACH for every ATTACH, no? seriatim. They led me to consult the assembler services reference, and t

Re: ECB parameter on attach

2010-07-05 Thread Robert Raicer
> Date:Sun, 4 Jul 2010 22:30:01 -0500 > From:Paul Gilmartin > Subject: Re: ECB parameter on attach > > On Sun, 4 Jul 2010 19:13:20 -0400, Joe Reichman wrote: > > > >The system posts it when the Subtask does a BR R14 > > > > ... and I always thoug

Re: ECB parameter on attach

2010-07-05 Thread Charles Mills
john gilmore Sent: Sunday, July 04, 2010 1: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

Re: ECB parameter on attach

2010-07-05 Thread Joe Reichman
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 wrote: :>The sys

Re: ECB parameter on attach

2010-07-04 Thread Binyamin Dissen
4, 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 compl

Re: ECB parameter on attach

2010-07-04 Thread Paul Gilmartin
On Sun, 4 Jul 2010 19:13:20 -0400, Joe Reichman wrote: >The system posts it when the Subtask does a BR R14 > ... and I always thought it was when the subtask issues SVC 3. (Or do I have the number wrong?) -- gil -- For IBM-MAIN

Re: ECB parameter on attach

2010-07-04 Thread Joe Reichman
The system posts it when the Subtask does a BR R14 -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

Re: ECB parameter on attach

2010-07-04 Thread john gilmore
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 u