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


Using aggregates

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

Aggregates (arrays, strings, or structures) are mapped differently by C and COBOL and are not automatically mapped. You must completely declare every byte in the structure to ensure that the layouts of structures passed between the two languages map to one another correctly. The XL C compile-time option AGGREGATE and the COBOL compiler option MAP provide a layout of structures to help you perform the mapping.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014