One thing that is extremely annoying about the SECTALGN assembler
option is that it applies to ALL sections, which includes DSECTs.

It would be extraordinarily useful to be able to assemble some source
with whatever SECTALGN option deemed necessary/desirable by the
programmer while NOT having that SECTALGN option impose restrictions on
ORG directives contained within DSECTs.  Given that z/OS Virtual
Storage Management supports requesting storage aligned on any boundary
that is an integral power of two (where the exponent is over the range
3 through 31, inclusive), the alignment of storage mapped by a DSECT
has nothing to do with the alignment of the CSECT which uses that
storage.

If the ACONTROL directive permitted control over effective SECTALGN
values, then one could PUSH the ACONTROL value at the start of a DSECT,
set the desired boundary alignment restriction for that DSECT, and then
POP the ACONTROL value to restore its stacked state.

The way things work now, one is forced to come up with "convoluted"
equates and/or DC statements to suitably manipulate the location
counter within DSECTs.

Bob

Reply via email to