z/OS Language Environment Writing Interlanguage Communication Applications
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


COBOL alignment

z/OS Language Environment Writing Interlanguage Communication Applications
SA38-0684-00

COBOL structures are mapped as follows. Working from the beginning, each item is aligned to its required boundary in the order in which it is declared. The structure starts on a doubleword boundary.

If you specify the SYNCHRONIZED phrase, then BINARY and floating-point data items are aligned on halfword, fullword, doubleword boundaries, depending on their length. If SYNCHRONIZED is not specified, then all data items are aligned on a byte boundary only.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014