Jim Mulder answered this, but just in case it wasn't clear:

>If my callers are AMODE(64) and my PC is not, they will
>get a program check on the PC instruction.


This is incorrect. The ETDEAM bit has nothing to do with whether the
invoker can be AMODE 64. It solely has to do with the AMODE in which the
target routine will get control. There is no control by caller's AMODE on a
stacking PC.

It is up to you whether you check your caller's AMODE, depending on whether
you want to allow them to specify data above 2G for example.

Peter Relson
z/OS Core Technology Design

----------------------------------------------------------------------
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