Oracle Error Message
ORA-34806: (OCI14) Statement number can only be executed within an ACROSS command.
Reason for the Error
Statements prepared with DIRECT=YES must be executed in an ACROSS command.
Solution
Execute the statement within an ACROSS command.