Release : All supported releases.
Component : CA ADS
When compiling an ADS statement involving built-in functions (BIFs) or a COMPUTE, the compiler allocates an internal storage area called an IRA (Intermediate Result Area). It has a maximum size of 65536 bytes. It was once 32768 bytes but was increased by APAR TF24105 back in 1998. For all currently supported releases, it is 65536 in the base code. TF24105 is not available and not required.
As a rule of thumb, the total size of the arguments passed to a BIF, plus the potential size of its result field must not exceed this amount. If it does, a DC164079 error will result.
Nesting BIFs can further complicate this scenario as the total sizes of all relevant arguments are included.
This is an internal limitation of the compiler.
The only solution is to restructure the code so that the total size of the involved arguments in any one statement is reduced.