EQA1504S %Generation number of %RECURSION (procedure name, number) does not exist. The present number of allocations of %RECURSION (procedure name, number) is number.

Explanation

In %GENERATION(x,y), y must be no greater than the number of allocations of the variable x.