CB2-1300-00-E Unable to translate index initialization in REPEAT VARYING

This error occurs when you use an index on a FROM clause in a REPEAT VARYING statement with a complex expression.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Break up the complex expression to multiple SET index UP/DOWN statements.