My Oracle Support Banner

"Invalid CREATE Command" is Received when Executing an ODI 12c Mapping to Load Data Into a Target File Datastore (Doc ID 2375569.1)

Last updated on MARCH 26, 2018

Applies to:

Oracle Data Integrator - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

The following message is received when executing an Oracle Data Integrator (ODI) 12c Mapping that loads data from an Oracle source Datastore to a target File Datastore:

ODI-1228: Task Generate header-IKM SQL to File Append- fails on the target connection MyOracleDB.
Caused By: java.sql.SQLSyntaxErrorException: ORA-00901: invalid CREATE command

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
  at ...
  at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:205)
  at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:142)
  at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:28)
  at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:52)
  at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:206)
  at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:117)
  at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:886)
  at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2225)
  at ...

The error occurs while executing the following on the "Generate header" task of "IKM SQL to File Append":

create header
(
  COL1,
  COL2,
  ...
)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.