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: "K dot Ganapathy" <ksg at themarina dot corp dot sgi dot com>
Subject: Re: Problem with &bcp_meminit() in Sybperl-2
Date: Feb 16 1996 12:35AM

 _________________________________________________________________
|soup at  5:17pm,2/15 scribed this stuff...
|-----------------------------------------------------------------
>
>I've found that when doing &bcp_meminit() on tables with user-defined
>types, the program exits with the message:
>
>	DB-Library: Unknown datatype encountered.
>
>It seems to work fine on the tables that don't have user-defined
>types, however.  Is this unsupported?
>
>(This is with perl5.002beta1g).
>
>					Thanks,
>					Doug Campbell
>					soup@ampersand.com
|___________________________EOT soup-cat_________________________

This could be due to not calling  dbsetversion in your program also.

If the user data type is one of the System 10 types, then you should
call dbsetversion (DBVERSION_100).