On 10/20/2011 12:23 PM, John Ehrman wrote:
There is no system variable symbol that captures this information.

Too bad. It would be useful to be able to code SYSSTATE operands based upon the
value of a variable like &SYSAMODE--the AMODE of the CSECT at an entry point.

The AMODE value in the ESD, propagated by the binder, is what drives the
pointer-defined linkage that will ultimately give the module control in the
right AMODE.

It's inconvenient to have to keep SYSSTATE manually synchronized.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/

Reply via email to