Thanks for pointing out the doc.  Time to re-read chapter 2.  Should
have searched the assembler list (as Ed pointed out) and the guide
(instead of browsing the TOC for a suitable subject).

Doesn't this make the doc change in the reference (storage/obtain/return
codes) redundant?

Back to mostly lurking.

...chris.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Relson
Sent: Friday, October 26, 2007 6:28 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: z/OS 1.8 Conditional Storage Obtain/Getmain Return Code

The general rule is this:

Unless otherwise documented, the return code is 4 bytes wide. That means
use of LTGR is incorrect in the general case..

Unless otherwise documented, the high halves of GPRs 0, 1, and 15 (and
ARs
0, 1, 14 and 15) are unpredictable on return from any service.

I am unaware of any exceptions to this.

Not that I tend to be a slave to what is documented versus what is not,
from the assembler services guide:

2.1 Saving the Calling Program's Registers

<snip>
</snip

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