TCS0051E: Max. SQL-statement length of ... bytes exceeded in '...,line ... .
The length of an SQL statement exceeds the defined maximum length.

Change the value for 'Size of SQL DML statements' in setting 'Sizes'.