PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBlib BCP fails under Syb11.9.2.3
Date: Aug 30 2000 5:24PM

Seva Genis writes:
 > 
 > We recently upgraded from 11.5 to 11.9 and started seeing 
 > Sybperl BCP failures. What happens is if you bcp into the 
 > table that has numeric column BCP fails as following:
 > 
 > error: Sybase error: 'Unknown datatype encountered.'
 > 
 > error: Sybase error: 'Requested data-conversion does not exist.'
 > 
 > error: Problem in initializing BCP, bcp_meminit() retruned '3'
 > 
 > changing column datatype to float, int, char, varchar fixes
 > this error but unfortunatelly in not an option.

Hmmm - normally Sybase takes care of these sort of data conversions.

Could I see a minimal script that illustrates the problem please?

Thanks,

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com