Thanks Peter,

fwiw, the buffer pool stuff is combined (not packed) into a structure
obtained with __malloc31().  I'll have to research whether Metal C provides
a way to get Quad-word alignment.

sas



On Tue, Jul 17, 2018 at 12:18 PM, Peter Relson <[email protected]> wrote:

> <snip>
> But who's at fault here... I'm just
> trying to use the service, and the book says nothing about Q-word aligning
> anything.  AND, it's been working fine for almost 3 years... have I just
> been lucky that my cell pool getmains were Q-aligned until today?
> </snip>
>
> I'd say that it's our fault for not documenting, but it's a to-do for you.
>
> The AMODE 31 variants require doubleword alignment as they do CDS.
> The AMODE 64 variants requires quadword alignment as they do CDSG
>
> The example in the assembler services guide shows using IARV64 which will
> naturally get storage that accommodates the requirement.
>
> As to have you been lucky? I guess so. You didn't show how you obtained
> the extent area. Depending on size, some flavors of getmain will naturally
> land on a page boundary. But others won't and would then have the default
> of doubleword alignment.
>
> Peter Relson
> z/OS Core Technology Design
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
sas

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to