DB2-1052-00-E Invalid use of DB-LOOP-MAX keyword

DB-LOOP-MAX is valid for DB-PROCESS calls only. You included DB-LOOP-MAX included in a call other than a DB-PROCESS.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.