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: Jason Stajich <jason at chg dot mc dot duke dot edu>
Subject: DBD::Sybase prob
Date: Sep 6 2000 4:06PM

When you initialized your handle did you 
DBI->connect(..., {AutoCommit=1}). ?  

You'll either need to turn transactions off completely, or just around
this statement.  To mimic the behavior in sqsh, just do a 
begin transaction;
then execute the proc and you should see the same error message you are
getting in your script.

-Jason

Jason Stajich
jason@chg.mc.duke.edu
http://galton.mc.duke.edu/~jason/
(919)684-1806 (office) 
(919)684-2275 (fax) 
Center for Human Genetics - Duke University Medical Center
http://wwwchg.mc.duke.edu/