SQL Array assignment rules

Before IBM® i 7.2, array assignments were allowed with any compatible array types. In 7.2, the documented assignment rules are enforced. If the right side of the assignment is an array variable, the TRIM_ARRAY function, or a CAST expression, it must be the same array type as the array variable on the left side of the assignment. If they are not the same array type, an SQL0408 diagnostic message is signalled.