Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Migration Guide

DEFAULT(CONNECTED)

Nonconnected arrays are arrays whose elements do not occupy adjacent pieces of storage. Nonconnected arrays are passed by both of these calls:

   dcl a(3,4) fixed bin;

   dcl 1 x(5), 2 y fixed bin, 2 z fixed bin;

   call f( a(*,1) );

   call f( x.y );

The new and old compilers fully support nonconnected arrays, and in fact, the compilers assume that any array parameter is not connected - that there may be other bytes between successive array elements.

This assumption slows down the compiler and requires more code to be generated which slows down your application.

If you use the new DFT(CONNECTED) compiler option, the compiler will assume that all arrays received are connected and will generate much better code. Hence, if you never pass a discontiguous slice of an array (such as a column), use this option for better performance.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)