z/OS MVS Program Management: User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ALIGN2: 2KB page alignment option

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00

When binder page-aligns sections of text, a 4KB page size is assumed. For compatibility with older environments that used 2KB pages, if you are binding program modules that will execute on hardware that supports 2KB pages (not System/370 or System/390®), you can request 2KB page alignment by coding the ALIGN2 option in the PARM field of the EXEC statement. There are advantages to using 2KB alignment for modules that are executed on System/370 or System/390, although the system loader loads the module on a 4KB page boundary regardless of the ALIGN2 specification. Program data areas that are aligned are easier to read in a SNAP or ABEND dump and performance-critical assembler routines might perform better if they are aligned on 32-or 64-byte boundaries. ALIGN2 can give a smaller module without sacrificing these advantages.

{ALIGN2 | ALIGN2=NO | NOALIGN2}

ALIGN2=NO is the default value and can be specified with the keyword NOALIGN2.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014