Re: SVRB for LINK, when freed?

2011-07-04 Thread Binyamin Dissen
On Sun, 3 Jul 2011 18:12:16 -0500 John McKown joa...@swbell.net wrote:

:Perhaps Peter Relson of IBM can resolve the question of whether the SVRB
:for a LINK is freed before the LINK'ed to program's PRB is placed on the
:RB chain. I'm now certain my test is wrong and that the SVRB actually
:is. 

I would think that the SVRB is simply changed to a PRB.

--
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


Re: SVRB for LINK, when freed?

2011-07-04 Thread Peter Relson
whether the SVRB for a LINK is freed before the LINK'ed to 
program's PRB is placed on the RB chain. 

After. But before the LINK'ed to program gets control.
An SVRB is never freed before the SVC routine is done (and part of the 
doing of the LINK SVC routine is to queue the PRB).

In fact (unless this has been rewritten without my consent)
programs executing as a result of EXEC PGM= are (normally?) invoked 
via LINK, and they run under a PRB (or used to).
If by programs executing as a result was meant the program
identified by EXEC PGM=, not in fact. That program gets control
via ATTACH. It does run under a PRB.

Peter Relson
z/OS Core Technology Design

--
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


Re: SVRB for LINK, when freed?

2011-07-04 Thread Shmuel Metz (Seymour J.)
In sus21758qbl87dcho87r1gfehtodos4...@4ax.com, on 07/04/2011
   at 11:04 AM, Binyamin Dissen bdis...@dissensoftware.com said:

I would think that the SVRB is simply changed to a PRB.

If that ever happened, it was before OS/360 R14. Every release that I
have seen behaved as Peter described.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
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


Re: SVRB for LINK, when freed?

2011-07-04 Thread Edward Jaffe

On 7/4/2011 1:04 AM, Binyamin Dissen wrote:

On Sun, 3 Jul 2011 18:12:16 -0500 John McKownjoa...@swbell.net  wrote:

:Perhaps Peter Relson of IBM can resolve the question of whether the SVRB
:for a LINK is freed before the LINK'ed to program's PRB is placed on the
:RB chain. I'm now certain my test is wrong and that the SVRB actually
:is.

I would think that the SVRB is simply changed to a PRB.


I believe the new PRB for the LINKed-to program is queued *between* the 
currently executing SVRB for the LINK SVC and the RB of the SVC 6 issuer. When 
finished, the LINK SVC routine simply returns in the normal manner via SVC 3.


--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com
http://www.phoenixsoftware.com/

--
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


SVRB for LINK, when freed?

2011-07-03 Thread John McKown
Perhaps Peter Relson of IBM can resolve the question of whether the SVRB
for a LINK is freed before the LINK'ed to program's PRB is placed on the
RB chain. I'm now certain my test is wrong and that the SVRB actually
is. 

-- 
John McKown
Maranatha! 

--
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