On 1/27/2022 8:56 AM, Tony Thigpen wrote:
Ed,

By the 'rules' express in this thread, if the caller places one of the literals at x'04', he then *must* place the back-pointer at offset x'80'. Is that not what you and others have been saying?

Ugh. I quickly "ripped off" a silly (and stupid) response to what seemed like a silly question. 😅

A better response is that empirical evidence demonstrates +4 in the provided save area does not necessarily indicate its size.

Case in point, upon entry to a batch program invoked via EXEC PGM= I see the following (courtesy of z/XDC):

TCB#4 RB#1 (AUTH) -----------XDC-CDF ISPF INTERFACE ------A.S. CALLSAVE-
XDC ===>
_  00000000_00038008 8f (A.S.CALLSAVE) --- PRIVATE+36008, @R13+0
_    +36008  8f                    00000000 00000000 *........*
_    +36010  8f  00000000 00000000 00000000 00000000 *................*
_    +36020  8f  00000000 00000000 00000000 00000000 *................*
_    +36030  8f  00000000 00000000 00000000 00000000 *................*
_    +36040  8f  00000000 00000000 00000000 00000000 *................*
_    +36050  8f  00000000 00000000 00000000 00000000 *................*
_    +36060  8f  00000000 00000000 00000000 00000000 *................*
_    +36070  8f  00000000 00000000 00000000 00000000 *................*
_    +36080  8f  00000000 00000000 00000000 00000000 *................*
_    +36090  8f  00000000 00000000 00000000 00000000 *................*
_    +360A0  8f  4F4F4F4F 4F4F4F4F 4F4F4F4F 4F4F4F4F *||||||||||||||||*
_    +360B0  8f  4F4F4F4F 4F4F4F4F 4F4F4F4F 4F4F4F4F *||||||||||||||||*

Clearly, we have been passed a 144-byte save area per the documentation. (Actually, we see one additional doubleword of zeros, but that is not part of the documented interface and is irrelevant.)

The value at +4 is zeros. How does that tell me I have a 144 byte save area?


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/


--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

Reply via email to