XMIG004: Syntax Error.

Migrate is unable to interpret an SQL command that has been included in your migration.
Restriction: This topic applies to Windows environments only.

Check the syntax of the SQL statements specified by any of the following components used in the migration:

Often, this error is caused by comments that are included in these components. If any of this SQL contains comments, remove them and rerun the migration.

If you are executing the migration from a MIG file, check that each QUERY statement in the file defines a valid SELECT statement.