or download this
DBD::Oracle::st execute failed: ORA-01008: not all variables bound (DB
+D ERROR: OCIStmtExecute) [for Statement "SELECT count(*)
FROM trans_hist
...
WHERE TO_CHAR(sched_dttm,'YY/MM/DD') = ? and
dep_id = ? and
file_id = ? , ORA-01008: not all variables bound (D
+BD ERROR: OCIStmtExecute) at QueMgrDaemon.pl line 2318.