-10221: Command info too long

Explanation:

Failed to call method SQLDBC_PreparedStatement::setCommandInfo, because the character string entered is too long. The maximum length permitted is 40 characters.

User Action:

Check the length of the character string that was entered as the first parameter for the SQLDBC_PreparedStatement::setCommandInfo() method.