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

An array can be passed between Fortran and PL/I routines only when the array has its elements in contiguous storage locations and when the called routine specifies a constant number of elements along each dimension. In Fortran, arrays of more than one dimension are arranged in storage in column major order; in PL/I they are in row major order. Unless you specifically override remapping with the PL/I attributes NOMAP, NOMAPIN, or NOMAPOUT (for overriding remapping in both called and calling Fortran routines), a temporary remapped array is created for the called routine. When an array is remapped, an element can be referenced in both Fortran and PL/I with subscripts in the same order.

Structures are not supported in Fortran to PL/I ILC.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014