I have been reading IBM Manuals since 1978, you sometimes have to read
between the lines.  If you issue a "LOAD  EP=PROGB", it returns you the
address and the AMODE of the program in Register 0.  If you issue "LOAD
EP=PROGB,LOADPT=FWD" it returns only the address in FWD, no AMODE
information.  This is how I read it. 


Regards,

Don Holstein

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Binyamin Dissen
Sent: Tuesday, July 29, 2008 3:25 PM
To: [email protected]
Subject: Re: LOAD macro behavior

On Tue, 29 Jul 2008 11:31:27 -0500 Big Iron <[EMAIL PROTECTED]>
wrote:

:>The behaviour that you are describing does not seem to contradict the
:>documentation.

Exactly. Load Point <> Entry Point.

:>[EMAIL PROTECTED] wrote:
:>> Hi
:>> I have a program (PROGA 24/24), issue a LOAD EP=PROGB,LOADPT=FWD.
:>> PROGB is (31,24).   The value in FWD is of the order x'00XXXXXX'.
:>> Now, this causes a problem when I load it into R15 and do a BASSM
:>> against it.
:>> At this point PROGB is executing in amode 24!
 
:>> Now, if instead I issue LOAD EP=PROGB, and inspect R0,  voila!
:>> R0 has a value of x'80XXXXXX'.   Now the BASSM will work fine.
 
:>> We are running zOS 1.7

:>> Has anyone experienced this oddity, or am I just lucky?

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Should you use the mailblocks package and expect a response from me, you
should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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



-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.

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