in reply to Sybase::BCP & iowait
I would try opening and closing the database handle only once. In other words, open and close it somewhere outside of the bcpInsert subroutine.
Also, the code that you posted probably isn't the culprit. Please post code for the following subroutines...
I think your problem may lie somewhere in that listbcp_init(); bcp_meminit(); bcp_sendrow(); bcp_batch bcp_done;
Kristofer Hoch
|
|---|