Re: STIMER(M) EXIT= question

2010-10-16 Thread Peter Relson
> Or even just set TCBNOIRB.within TCBFLGS8
> 
>>Is that GUPI???

Yes.

TCBFLGS8 is listed as a programming interface.

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: STIMER(M) EXIT= question

2010-10-15 Thread McKown, John
> -Original Message-
> From: IBM Mainframe Discussion List 
> [mailto:ibm-m...@bama.ua.edu] On Behalf Of Peter Relson
> Sent: Friday, October 15, 2010 6:30 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: STIMER(M) EXIT= question
> 
> >If a system routine does not wish to be interrupted by an 
> IRB it can take 
> a
> >lock or ENQ SMC or STATUS SET,MC,PROCESS
> 
> Or even just set TCBNOIRB.within TCBFLGS8
> 
> Peter Relson
> z/OS Core Technology Design

Is that GUPI???

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-691-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

--
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: STIMER(M) EXIT= question

2010-10-15 Thread Peter Relson
>If a system routine does not wish to be interrupted by an IRB it can take 
a
>lock or ENQ SMC or STATUS SET,MC,PROCESS

Or even just set TCBNOIRB.within TCBFLGS8

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: STIMER(M) EXIT= question

2010-10-14 Thread Binyamin Dissen
On Thu, 14 Oct 2010 13:04:53 -0500 Paul Schuster 
wrote:

:>Suppose you code something like this:

:>STIMER(M) SET BINTVL=1 second, EXIT=exitaddress,WAIT=NO

:>So the application program continues to run, and then 1 second later the
:>timer interrupt happens. The ASM MACROS documentation says the exitaddress
:>routine will get control at some point after the timer interrupt happens. 
:>My question is this:

:>What if your application program that is running has just issued an SVC 99
:>or SVC 55 when the timer interrupt occurs?  Can the exitaddress routine get
:>control while the internal IBM SVC code is running, or will the exitaddress
:>routine get control once the the internal IBM SVC code has returned control
:>back to the NSI after the SVC instruction?  

:>My question actually could be extended to any IBM service--will the
:>exitaddress routine get control while in the midst of the service program,
:>or wait until control returns to application program?

If a system routine does not wish to be interrupted by an IRB it can take a
lock or ENQ SMC or STATUS SET,MC,PROCESS

--
Binyamin Dissen 
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: STIMER(M) EXIT= question

2010-10-14 Thread Tom Harper
Paul,

Here is the answer: 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A8B0/22.1.5?SHELF=iea2bkb0&DT=20100629141054

Basically, it states that if the TCB is waiting, it is given control 
immediately. Otherwise, any interrupt, such as a page fault, may allow it to 
begin execution.

So the answer to your question is yes: it can get control while another SVC is 
executing.

Tom Harper
IMS Utilities Development Team
Neon Enterprise Software
Sugar Land, TX

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Paul Schuster
Sent: Thursday, October 14, 2010 1:05 PM
To: IBM-MAIN@bama.ua.edu
Subject: STIMER(M) EXIT= question

Hello:
 
Suppose you code something like this:

STIMER(M) SET BINTVL=1 second, EXIT=exitaddress,WAIT=NO

So the application program continues to run, and then 1 second later the
timer interrupt happens. The ASM MACROS documentation says the exitaddress
routine will get control at some point after the timer interrupt happens. 
My question is this:

What if your application program that is running has just issued an SVC 99
or SVC 55 when the timer interrupt occurs?  Can the exitaddress routine get
control while the internal IBM SVC code is running, or will the exitaddress
routine get control once the the internal IBM SVC code has returned control
back to the NSI after the SVC instruction?  

My question actually could be extended to any IBM service--will the
exitaddress routine get control while in the midst of the service program,
or wait until control returns to application program?

Thank you for any insight you can provide.

Paul 

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