Well, the good news is that the bcp from the command line works fine... 63 rows of data loaded properly.
The bad news is, we apparently do not have Sybase::BLK installed on our system. Changing my code to:
use Sybase::BLK;
$bcp = new Sybase::BLK $user, $pwd, $server, $appname;
$bcp->config(INPUT => $tmp_file,
OUTPUT => 'css..tmp_site_term',
ERRORS => 'bcp_errors');
$bcp->run;
I get an error: Can't locate Sybase/BLK.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .)
Should I pursue using the other bcp routines? |