Woops, must put my glasses on, read TPROT as TROT.

Apologies for all my dud replies, please ignore and treat with utter 
contempt.

------------------------------------------------------------------------------------------------------------------
Mike Poil
Java z/OS Level 3 Service
IBM United Kingdom Limited, Hursley Park, Winchester SO21 2JN
Internal: 246824  External: +44 (0)1962 816824 
Java debugging: http://www.ibm.com/developerworks/java/jdk/diagnosis/
------------------------------------------------------------------------------------------------------------------



Ngafei Huang <[EMAIL PROTECTED]> 
Sent by: IBM Mainframe Discussion List <[email protected]>
13/12/2007 18:11
Please respond to
IBM Mainframe Discussion List <[email protected]>


To
[email protected]
cc

Subject
Re: TPROT condition code






I would??TPROT first and only if cc 3 before issuing VSMLOC to save a few 
cycles.

Raymond Wong

-----Original Message-----
From: Wayne Driscoll <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thu, 13 Dec 2007 11:53 am
Subject: Re: TPROT condition code




Yes, getmained storage can be paged out, unless it is in a page fixed
subpool, or has been page fixed by the application.  As for TPROT, it
doesn't really help to determine if a page is valid, just if it is paged
in.  A cc=3 could be that a page fault will occur OR the page is
invalid, so you still need to deal with a possible S0C4.  If you are
attempting to determine if a piece of storage is valid, use VSMLOC.

Wayne Driscoll
Product Developer
JME Software LLC
NOTE:  All opinions are strictly my own.



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Ngafei Huang
Sent: Thursday, December 13, 2007 11:42 AM
To: [email protected]
Subject: Re: TPROT condition code

Getmained storage can be paged out and?TPROT can get cc 3 because of
it.?


-----Original Message-----
From: Michael Poil <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thu, 13 Dec 2007 11:26 am
Subject: Re: TPROT condition code



>
Can happen when the page has been paged out or?the page is not
accessible 
or simply means no such page.
>

Not due to  a "normal" page fault. This is fixed up by z/OS under the 
covers after it gets the program check 11. Referencing an invalid page
in 
the Address Space (i..e not getmained) will give you a S0C4.

------------------------------------------------------------------------
------------------------------------------
Mike Poil
Java z/OS Level 3 Service
IBM United Kingdom Limited, Hursley Park, Winchester SO21 2JN
Internal: 246824  External: +44 (0)1962 816824 
Java debugging: http://www.ibm.com/developerworks/java/jdk/diagnosis/
------------------------------------------------------------------------
------------------------------------------






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number

741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU






----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


________________________________________________________________________
More new features than ever.  Check out the new AOL Mail ! -
http://webmail.aol.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


________________________________________________________________________
More new features than ever.  Check out the new AOL Mail ! - 
http://webmail.aol.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to