User receives an error running DataMigrator Flow: ICM18040 Return Code = 1406


Diagnostics

Product: DataMigrator
Release: 8207
Primary OS: Linux
Solution Date:

Symptom

(ICM18040)   Return Code = 1406

Problem

The user receives the error message above running a DataMigrator Flow. The DataMigrator flow log does not provide any further details.

Solution

Enabling the DataMigrator Server traces identified this as a permissions issue within the target RDBMS:

(FOC1400) SQLCODE IS 262 (HEX: 00000106) XOPEN: 42000
(FOC1500)  :  [42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]CREATE
(FOC1500)  :  TABLE permission denied in database 'KCUDB_Prologue'.
(FOC1406) SQL OPEN CURSOR ERROR.

To address this, give the user ID adequate permissions.