open(INFILE,"X:\\\\ongoing\\bioinformatics\\db2\\image\\picture1.wmf"); binmode(INFILE); $img_data = ; close(INFILE); my $stmt = "INSERT INTO project_figures (pjfg_id, pjfg_name, pjfg_image) VALUES(?,?,?)"; my $sth = $dbh->prepare($stmt); my $rc = $sth->execute(1,'picture1.wmf', $img_data); #### DBD::ODBC::st execute failed: [IBM][CLI Driver] CLI0110E Invalid output or indicator buffer specified. SQLSTATE=22002 (SQL-22002)(DBD: st_execute/SQLExecute err=-1) at insert_image.pl line 24. DBD::ODBC::st execute failed: [IBM][CLI Driver] CLI0110E Invalid output or indicator buffer specified. SQLSTATE=22002 (SQL-22002)(DBD: st_execute/SQLExecute err=-1) at insert_image.pl line 24.