> -----Original Message----- > From: IBM Mainframe Assembler List > [mailto:[email protected]] On Behalf Of Jim Phoenix > Sent: Thursday, October 20, 2011 1:11 PM > To: [email protected] > Subject: Conditional assembly test for current AMODE > > Is there a way to test what AMODE is in effect for the current CSECT? > Such a test would be valuable to allow a macro to expand > differently based on the result, particularly if AMODE 64. > -- > | Jim Phoenix | Voice: (310) 338-0400 x316 |
Wouldn't that be a bit dangerous? The execution mode AMODE could be different. If you link an AMODE(31) into the same module as an AMODE(24), the resulting module defaults to AMODE(24). And a BASR or BALR won't change from 24 to 31 automatically. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM
