Re: Is a page protected?--how to determine

2007-07-25 Thread Peter Relson
OK, I'll bite. Why do you need to determine? If you have any reason to think that the page is protected (presumably because you did it or might have done it), then you can just unprotect it. A page does not need to be protected in order to successfully unprotect. Note that protection is not a

Re: Is a page protected?--how to determine

2007-07-25 Thread Paul Schuster
On Wed, 25 Jul 2007 07:27:15 -0400, Peter Relson [EMAIL PROTECTED] wrote: OK, I'll bite. Why do you need to determine? If you have any reason to think that the page is protected (presumably because you did it or might have done it), then you can just unprotect it. A page does not need to be

Re: Is a page protected?--how to determine

2007-07-25 Thread Binyamin Dissen
On Wed, 25 Jul 2007 12:08:42 -0500 Paul Schuster [EMAIL PROTECTED] wrote: :On Wed, 25 Jul 2007 07:27:15 -0400, Peter Relson [EMAIL PROTECTED] wrote: : :OK, I'll bite. Why do you need to determine? : :If you have any reason to think that the page is protected (presumably :because you did it or

Re: Is a page protected?--how to determine

2007-07-25 Thread McKown, John
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Binyamin Dissen Sent: Wednesday, July 25, 2007 12:28 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page protected?--how to determine On Wed, 25 Jul 2007 12:08:42 -0500 Paul Schuster

Re: Is a page protected?--how to determine

2007-07-25 Thread Wayne Driscoll
are strictly my own. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Schuster Sent: Wednesday, July 25, 2007 12:09 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page protected?--how to determine On Wed, 25 Jul 2007 07:27:15 -0400, Peter

Re: Is a page protected?--how to determine

2007-07-25 Thread Knutson, Sam
... -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Wednesday, July 25, 2007 1:55 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page protected?--how to determine From what I remember from the deep-dark-past, LPA is never paged-out. So

Re: Is a page protected?--how to determine

2007-07-25 Thread Veilleux, Jon L
:55 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page protected?--how to determine -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Binyamin Dissen Sent: Wednesday, July 25, 2007 12:28 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page

Is a page protected?--how to determine

2007-07-24 Thread Paul Schuster
Hello: I have a need to determine if an address in storage is page protected in order to determine if a PGSER UNPROTECT needs to be done. The best I have tried and seen in earlier posts is to look for a CC=1 on a TPROT backed up with an ESTAE. Are there any other methods to do this? Thank you.

Re: Is a page protected?--how to determine

2007-07-24 Thread Philippe Leite
Paul, You are in the right way. I think this is the same technique used in NUCLEUS by CSECT IEAVEVAL but with a FRR instead. Regards, Philippe Leite z/OS Systems Programmer Portugal On Tue, 24 Jul 2007 01:32:43 -0500, Paul Schuster [EMAIL PROTECTED] wrote: Hello: I have a need to determine

Re: Is a page protected?--how to determine

2007-07-24 Thread David Day
Subject: Is a page protected?--how to determine Hello: I have a need to determine if an address in storage is page protected in order to determine if a PGSER UNPROTECT needs to be done. The best I have tried and seen in earlier posts is to look for a CC=1 on a TPROT backed up with an ESTAE

Re: Is a page protected?--how to determine

2007-07-24 Thread Philippe Leite
Sent: Tuesday, July 24, 2007 1:32 AM Subject: Is a page protected?--how to determine Hello: I have a need to determine if an address in storage is page protected in order to determine if a PGSER UNPROTECT needs to be done. The best I have tried and seen in earlier posts is to look for a CC=1

Re: Is a page protected?--how to determine

2007-07-24 Thread Jeffrey D. Smith
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Schuster Sent: Tuesday, July 24, 2007 12:33 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Is a page protected?--how to determine Hello: I have a need to determine if an address in storage

Re: Is a page protected?--how to determine

2007-07-24 Thread David Day
: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Tuesday, July 24, 2007 8:22 AM Subject: Re: Is a page protected?--how to determine David, Actually, ISVK cannot tell you if a page is protected or not, it only shows you the storage key and fetch bit. The Page protection bit (bit 54) is in Page Table

Re: Is a page protected?--how to determine

2007-07-24 Thread (IBM Mainframe Discussion List)
In a message dated 7/24/2007 1:33:11 A.M. Central Daylight Time, [EMAIL PROTECTED] writes: I have a need to determine if an address in storage is page protected in order to determine if a PGSER UNPROTECT needs to be done. One way, not necessarily the most elegant, is to establish an

Re: Is a page protected?--how to determine

2007-07-24 Thread Jeffrey D. Smith
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of (IBM Mainframe Discussion List) Sent: Tuesday, July 24, 2007 8:07 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page protected?--how to determine In a message dated 7/24/2007 1:33:11 A.M

Re: Is a page protected?--how to determine

2007-07-24 Thread Jeffrey D. Smith
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Schuster Sent: Tuesday, July 24, 2007 12:33 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Is a page protected?--how to determine Hello: I have a need to determine if an address in storage

Re: Is a page protected?--how to determine

2007-07-24 Thread (IBM Mainframe Discussion List)
In a message dated 7/24/2007 10:56:09 A.M. Central Daylight Time, [EMAIL PROTECTED] writes: very bad idea in general. if the page is not protected, then you don't know what other processes are updating that page nor how they serialize their updates. the OI is not an interlocked update and

Re: Is a page protected?--how to determine

2007-07-24 Thread Jeffrey D. Smith
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of (IBM Mainframe Discussion List) Sent: Tuesday, July 24, 2007 10:05 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is a page protected?--how to determine In a message dated 7/24/2007 10:56:09

Re: Is a page protected?--how to determine

2007-07-24 Thread Craddock, Chris
There's no obvious way for an unauthorized program to discover that information. If you're a supervisor state program you can issue a TPROT with a key of 0. If the condition code is 1 then the page is protected. The interpretation of the other condition codes is left as an exercise to the

Re: Is a page protected?--how to determine

2007-07-24 Thread (IBM Mainframe Discussion List)
In a message dated 7/24/2007 11:14:10 A.M. Central Daylight Time, [EMAIL PROTECTED] writes: Because the fetch and the store are separated in time. Another CPU or an I/O operation can store into the byte *after* your CPU fetches the byte but *before* your CPU stores the byte. The other CPU