Re: SSRB/SSRX and LOCAL locks question

2023-06-01 Thread Rob Scott
Dave

I will setup an offline conference call to discuss this with both you and my 
colleague.

He will be able to answer any/all questions in this area.

Rob

From: IBM Mainframe Discussion List  On Behalf Of 
David Cole
Sent: 31 May 2023 17:54
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SSRB/SSRX and LOCAL locks question

EXTERNAL EMAIL



Thanks Rob. That sounds rather definitive. And of course for
scheduling SRBs, that make perfect sense.

But let me change the question slightly. I'm actually more interested
in suspended local SRBs. I.E. SSRBs and SSRXs. Are they stabilized
when the LOCAL lock is held?

Thanks,
Dave






At 5/31/2023 09:52 AM, Rob Scott wrote:
>Dave
>The answer from a work colleague who knows a LOT about the dispatcher is :
>"The answer is no. SRB scheduling/dispatching does not use the local
>lock unless the SRB requests the local lock on dispatch. If so it
>is obtained (or suspended to wait for it) as the dispatch occurs."
>Rob Scott
>Rocket Software
>
>>From: IBM Mainframe Discussion List 
>>mailto:IBM-MAIN@LISTSERV.UA.EDU>> On
>>Behalf Of David Cole
>>Sent: 31 May 2023 11:01
>>To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
>>Subject: Re: SSRB/SSRX and LOCAL locks question
>>EXTERNAL EMAIL
>>
>>
>>I was enquiring specifically about SRBs, not RBs.
>>Dave Cole
>>
>>
>>
>>At 5/31/2023 05:25 AM, Binyamin Dissen wrote:
>>> >I don't see how that answers either question.
>>> >The need for SUSPEND RB caller to be disabled is to allow the
>>> resume process
>>> >to resume it. You cannot schedule the resume process until the suspend as
>>> >otherwise the resume may try resuming before the suspend
>>> completes, causing
>>> >the later suspend to never wake up. It works different than ECBs.
>>> >On Wed, 31 May 2023 18:38:58 +1000 Attila Fogarasi
>>> mailto:fogar...@gmail.com<mailto:fogar...@gmail.com%3cmailto:fogar...@gmail.com>>>
>>>  wrote:
>>>> >>:>It's documented as needing either LOCAL or CML lock. See
>>>> >>:>https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspen<https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspen>
>>>> ding-rb-until-event-completes-suspend<https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend<https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend>>
>>>>
>>>> >>
>>>> >>:>
>>>> >>:>On Wed, May 31, 2023 at 6:20?PM Binyamin Dissen
>>>> >>mailto:bdis...@dissensoftware.com<mailto:bdis...@dissensoftware.com%3cmailto:bdis...@dissensoftware.com>>>
>>>> >>:>wrote:
>>>>> >>>:>
>>>>> >>>:>> On Tue, 30 May 2023 16:42:00 -0400 David Cole
>>>>> >>>mailto:dbc...@colesoft.com<mailto:dbc...@colesoft.com%3cmailto:dbc...@colesoft.com>>>
>>>>> >>> wrote:
>>>>>> >>>:>>
>>>>>> >>>:>> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
>>>>>> >>>:>> :>stabilized by holding the LOCAL lock? (I'm
>>>>>> considering logic in
>>>>>> >>>:>> :>support of setting up TRAP2 debugging for SRBs.)
>>>>>> >>>:>>
>>>>> >>>:>> I am also curious to know what "owner serialized" means.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with 
the message: INFO IBM-MAIN


Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SSRB/SSRX and LOCAL locks question

2023-05-31 Thread David Cole
Thanks Rob. That sounds rather definitive. And of course for 
scheduling SRBs, that make perfect sense.


But let me change the question slightly. I'm actually more interested 
in suspended local SRBs. I.E. SSRBs and SSRXs. Are they stabilized 
when the LOCAL lock is held?


Thanks,
Dave






At 5/31/2023 09:52 AM, Rob Scott wrote:

Dave
The answer from a work colleague who knows a LOT about the dispatcher is :
"The answer is no. SRB scheduling/dispatching does not use the local 
lock unless the SRB requests the local lock on dispatch.  If so it 
is obtained (or suspended to wait for it) as the dispatch occurs."

Rob Scott
Rocket Software

From: IBM Mainframe Discussion List  On 
Behalf Of David Cole

Sent: 31 May 2023 11:01
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SSRB/SSRX and LOCAL locks question
EXTERNAL EMAIL


I was enquiring specifically about SRBs, not RBs.
Dave Cole



At 5/31/2023 05:25 AM, Binyamin Dissen wrote:

>I don't see how that answers either question.
>The need for SUSPEND RB caller to be disabled is to allow the 
resume process

>to resume it. You cannot schedule the resume process until the suspend as
>otherwise the resume may try resuming before the suspend 
completes, causing

>the later suspend to never wake up. It works different than ECBs.
>On Wed, 31 May 2023 18:38:58 +1000 Attila Fogarasi 
mailto:fogar...@gmail.com>> wrote:

>>:>It's documented as needing either LOCAL or CML lock. See
>>:>https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspen 
ding-rb-until-event-completes-suspend<https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend> 


>>
>>:>
>>:>On Wed, May 31, 2023 at 6:20?PM Binyamin Dissen
>>mailto:bdis...@dissensoftware.com>>
>>:>wrote:

>>>:>
>>>:>> On Tue, 30 May 2023 16:42:00 -0400 David Cole
>>>mailto:dbc...@colesoft.com>> wrote:

>>>:>>
>>>:>> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
>>>:>> :>stabilized by holding the LOCAL lock? (I'm 
considering logic in

>>>:>> :>support of setting up TRAP2 debugging for SRBs.)
>>>:>>

>>>:>> I am also curious to know what "owner serialized" means.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SSRB/SSRX and LOCAL locks question

2023-05-31 Thread Rob Scott
Dave

The answer from a work colleague who knows a LOT about the dispatcher is :

"The answer is no. SRB scheduling/dispatching does not use the local lock 
unless the SRB requests the local lock on dispatch.  If so it is obtained (or 
suspended to wait for it) as the dispatch occurs."

Rob Scott
Rocket Software

From: IBM Mainframe Discussion List  On Behalf Of 
David Cole
Sent: 31 May 2023 11:01
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: SSRB/SSRX and LOCAL locks question

EXTERNAL EMAIL



I was enquiring specifically about SRBs, not RBs.

Dave Cole




At 5/31/2023 05:25 AM, Binyamin Dissen wrote:
>I don't see how that answers either question.
>The need for SUSPEND RB caller to be disabled is to allow the resume process
>to resume it. You cannot schedule the resume process until the suspend as
>otherwise the resume may try resuming before the suspend completes, causing
>the later suspend to never wake up. It works different than ECBs.
>On Wed, 31 May 2023 18:38:58 +1000 Attila Fogarasi 
>mailto:fogar...@gmail.com>> wrote:
>>:>It's documented as needing either LOCAL or CML lock. See
>>:>https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend<https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend>
>>
>>:>
>>:>On Wed, May 31, 2023 at 6:20?PM Binyamin Dissen
>>mailto:bdis...@dissensoftware.com>>
>>:>wrote:
>>>:>
>>>:>> On Tue, 30 May 2023 16:42:00 -0400 David Cole
>>>mailto:dbc...@colesoft.com>> wrote:
>>>:>>
>>>:>> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
>>>:>> :>stabilized by holding the LOCAL lock? (I'm considering logic in
>>>:>> :>support of setting up TRAP2 debugging for SRBs.)
>>>:>>
>>>:>> I am also curious to know what "owner serialized" means.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with 
the message: INFO IBM-MAIN


Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SSRB/SSRX and LOCAL locks question

2023-05-31 Thread David Cole

I was enquiring specifically about SRBs, not RBs.

Dave Cole




At 5/31/2023 05:25 AM, Binyamin Dissen wrote:

I don't see how that answers either question.
The need for SUSPEND RB caller to be disabled is to allow the resume process
to resume it. You cannot schedule the resume process until the suspend as
otherwise the resume may try resuming before the suspend completes, causing
the later suspend  to never wake up. It works different than ECBs.
On Wed, 31 May 2023 18:38:58 +1000 Attila Fogarasi  wrote:

:>It's documented as needing either LOCAL or CML lock.  See
:>https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend 


:>
:>On Wed, May 31, 2023 at 6:20?PM Binyamin Dissen 


:>wrote:

:>
:>> On Tue, 30 May 2023 16:42:00 -0400 David Cole 
 wrote:

:>>
:>> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
:>> :>stabilized by holding the LOCAL lock? (I'm considering logic in
:>> :>support of setting up TRAP2 debugging for SRBs.)
:>>
:>> I am also curious to know what "owner serialized" means.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SSRB/SSRX and LOCAL locks question

2023-05-31 Thread Binyamin Dissen
I don't see how that answers either question. 

The need for SUSPEND RB caller to be disabled is to allow the resume process
to resume it. You cannot schedule the resume process until the suspend as
otherwise the resume may try resuming before the suspend completes, causing
the later suspend  to never wake up. It works different than ECBs.

On Wed, 31 May 2023 18:38:58 +1000 Attila Fogarasi  wrote:

:>It's documented as needing either LOCAL or CML lock.  See
:>https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend
:>
:>On Wed, May 31, 2023 at 6:20?PM Binyamin Dissen 
:>wrote:
:>
:>> On Tue, 30 May 2023 16:42:00 -0400 David Cole  wrote:
:>>
:>> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
:>> :>stabilized by holding the LOCAL lock? (I'm considering logic in
:>> :>support of setting up TRAP2 debugging for SRBs.)
:>>
:>> I am also curious to know what "owner serialized" means.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SSRB/SSRX and LOCAL locks question

2023-05-31 Thread Attila Fogarasi
It's documented as needing either LOCAL or CML lock.  See
https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend

On Wed, May 31, 2023 at 6:20 PM Binyamin Dissen 
wrote:

> On Tue, 30 May 2023 16:42:00 -0400 David Cole  wrote:
>
> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
> :>stabilized by holding the LOCAL lock? (I'm considering logic in
> :>support of setting up TRAP2 debugging for SRBs.)
>
> I am also curious to know what "owner serialized" means.
>
> --
> Binyamin Dissen 
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SSRB/SSRX and LOCAL locks question

2023-05-31 Thread Binyamin Dissen
On Tue, 30 May 2023 16:42:00 -0400 David Cole  wrote:

:>Does any know if suspended SRB control blocks (SSRB/SSRX) are 
:>stabilized by holding the LOCAL lock? (I'm considering logic in 
:>support of setting up TRAP2 debugging for SRBs.)

I am also curious to know what "owner serialized" means.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


SSRB/SSRX and LOCAL locks question

2023-05-30 Thread David Cole
Does any know if suspended SRB control blocks (SSRB/SSRX) are 
stabilized by holding the LOCAL lock? (I'm considering logic in 
support of setting up TRAP2 debugging for SRBs.)


Thanks,
Dave Cole

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN