We have a similar issue when following pointer chains that could have be 
corrupted.
If you're only reading the storage, I think transactionalizing the code with 
TBEGIN/TEND will do this for you. If the transaction is successful, you have 
access, if it's not you don't.
Don't know if this approach will actually work, it's the next new instruction 
facility I intend to play with, when I have the time.

Robert Ngan
DXC Luxoft

-----Original Message-----
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf 
Of João Reginato
Sent: Monday, March 7, 2022 12:17
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: RES: Testing address validity
Importance: Low

These macros are great. Thank you all by the discussion. Very useful



-----Mensagem original-----
De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome de 
Jeremy Schwartz Enviada em: sábado, 5 de março de 2022 17:14
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: Testing address validity

Just curious would the following macros work better as a replacement for TPROT 
in the requested case?

IARBRVER, IARBRVEA, and IARBRVKA

Regards,

Jeremy Schwartz
________________________________
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> on behalf 
of Philippe Leite <philippe.le...@gmail.com>
Sent: Saturday, March 5, 2022 9:28 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Subject: Re: Testing address validity

CAUTION: This message was sent from outside the company. Do not click links or 
open attachments unless you recognize the sender and know the content is safe.


You can use TPROT for this purpose but it's a privileged instruction.

Regards,

Philippe Leite
LAB Services - IBM

Em sáb., 5 de mar. de 2022 09:45, João Reginato <jb.regin...@gmail.com>
escreveu:

> Hi
>
> Which is the best instruction to test if a virtual address is still
> valid to avoid an unexpected S0C4?
>
>
>
> TIA
>
> João
>
>
>
-------------------------------------------
NOTICE:
This email and all attachments are confidential, may be proprietary, and may be 
privileged or otherwise protected from disclosure. They are intended solely for 
the individual or entity to whom the email is addressed. However, mistakes 
sometimes happen in addressing emails. If you believe that you are not an 
intended recipient, please stop reading immediately. Do not copy, forward, or 
rely on the contents in any way. Notify the sender and/or Imperva, Inc. by 
telephone at +1 (650) 832-6006 and then delete or destroy any copy of this 
email and its attachments. The sender reserves and asserts all rights to 
confidentiality, as well as any privileges that may apply. Any disclosure, 
copying, distribution or action taken or omitted to be taken by an unintended 
recipient in reliance on this message is prohibited and may be unlawful.
Please consider the environment before printing this email.

Reply via email to