|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: problems with Sybase::BLK?
Date: Jun 17 2002 5:34PM
On Mon, 2002-06-17 at 10:23, Dennis Domingo wrote:
> I get these errors when using Sybase::BLK
> mytestbcp.pl: 06172002-0942 - More columns passed to
> blk_rowxfer() than were allocated with blk_init() at
> /usr/local/depot/perl-5.6.0/lib/site_perl/5.6.0/sun4-solar
> 41 $bcp->config(INPUT => $bcp1File,
> 42 OUTPUT =>
> $ProcessTMConf::TMBCPTABLE,
> 43 SEPARATOR => '|',
> 44 RECORD_SEPARATOR => '\n'
Try using "\n" for the record separator instead of '\n'.
Remember that \n isn't interpolated in a single quoted string.
Michael
--
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!
|