And I would say that ESTAE is "heavy" and is not the best choice if you expect the S0C4 with some frequency, but ESPIE is "light" and intended for this sort of thing.
I remember there was some sort of VSE -- DOS/360 when I was using it -- equivalent. STXIT? Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Ed Jaffe Sent: Saturday, March 5, 2022 8:36 AM To: [email protected] Subject: Re: Testing address validity On 3/5/2022 7:28 AM, Philippe Leite wrote: > You can use TPROT for this purpose but it's a privileged instruction. Not only is it privileged, but it does not do what the OP has asked for. He is not concerned only about storage that happens to be paged in, he wants the answer for storage that is paged out as well. Even if such an instruction did exist, there are timing window issues -- as Charles Mills correctly pointed out. The only foolproof method is to use a recovery routine: e.g., ESPIE, ESTAE(X), ARR, FRR in z/OS or whatever equivalents exist in other operating system environments like z/VSE, z/VM, z/TPF, Linux on Z, etc. -- Phoenix Software International Edward E. Jaffe 831 Parkview Drive North El Segundo, CA 90245 https://www.phoenixsoftware.com/ -------------------------------------------------------------------------------- This e-mail message, including any attachments, appended messages and the information contained therein, is for the sole use of the intended recipient(s). If you are not an intended recipient or have otherwise received this email message in error, any use, dissemination, distribution, review, storage or copying of this e-mail message and the information contained therein is strictly prohibited. If you are not an intended recipient, please contact the sender by reply e-mail and destroy all copies of this email message and do not otherwise utilize or retain this email message or any or all of the information contained therein. Although this email message and any attachments or appended messages are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the sender for any loss or damage arising in any way from its opening or use.
