In addition to BNDRY=PAGE, on GETMAIN or STORAGE, you could use the STARTBDY= option with a value that is a multiple of 4 to ensure quad word alignment. =============================================== Wayne Driscoll OMEGAMON DB2 L3 Support/Development wdrisco(AT)us.ibm.com ===============================================
From: Tom Marchant <m42tom-ibmm...@yahoo.com> To: IBM-MAIN@listserv.ua.edu, Date: 02/25/2013 04:13 PM Subject: Re: [IBM-MAIN] I do not understand S0C6 on CDSG Sent by: IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu> On Mon, 25 Feb 2013 15:07:31 -0500, John Gilmore wrote: >You can of course force assembly-time, zero-origin quadword alignment >within a program object using > >| CNOP byte,16 or with DS 0LQ And either of these of course requires that SECTALGN(16) and GOFF be specified in the assembly options. The binder will then page align your program object. >For a location within dynamically obtained storage Paul Gilmartin's >scheme of using execution-time modulo (congruence) arithmetic is >inescapable.. Unless the GETMAIN or STORAGE OBTAIN specifies BNDRY=PAGE. In that case the quadword can be defined with DS LQ within your DSECT. -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN