TPROT like  the shift instruction second operand address is not used to
address data rather for simplistic terms is prog key checking if  the user
can access/store the storage.

 

So what If I am not sure what the key is.

 

 

I guess I can do the following.  Is my understanding  ?

 

Thanks 

                    MVC      PROGKEY,CHKKEY

                    EX          R0,TPROT

                    BC          3,ERROR_ADDRESS 

 

 

TPROT       TPROT      ADRESS,0

                   ORG          TPROT+5

PROGKEY  DS             X  


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to