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: "Cobb, Thomas" <TCobb at lehman dot com>
Subject: RE: SYBPERL 2.09_05 / Solaris 2.5.1 Question
Date: Sep 21 1998 10:34AM

I can't manage to get return codes back using $dbh->{RC} in CTlib.
I want to get return status back from stored procedures like
dbretstatus() in dblib.

for example

$dbh->ct_sql("sp_help banana");
print $dbh->{'RC'};

prints out -204. I was expecting 1 since banana doesn't exist.