The PL/I precompiler attempts to use the structure parameter passing
technique, if possible. This structure parameter passing technique provides
better performance for most PL/I programs using SQL.
The precompiler generates code where each host variable is a separate
parameter when the following conditions are true:
- A PL/I %INCLUDE compiler directive is found that copies external text
into the source program.
- The data length of the host variables referred to in the statement is
greater than 32703. Because SQL uses 64 bytes of the structure, 32703 + 64
= 32767, the maximum length of a data structure.
- The PL/I precompiler estimates that it could possibly exceed the PL/I
limit for user-defined names.
- A sign leading separate host variable is found in the host variable list
for the SQL statement.