Diagnostics
Symptom
(FOC1801) cmpbifun: logical error during parsing stage, function PARTITION_AGGR. expected number of parameters: 5, actual number of parameters: 4
Problem
The user receives the error message above when using a PARTITION_AGGR function with a sort field in a DEFINE field.
Solution
The PARTITION_AGGR function is only supported in a COMPUTE statement because it requires the internal matrix within the sort field. Use the PARTITION_AGGR function in a COMPUTE field instead of a DEFINE statement.