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: "Alan Olsen" <olsena at odscompanies dot com>
Subject: Global Sybase variables and ctlib
Date: Jan 10 2006 9:25PM

Is there an easy way to get back global variable information (especially
@@error) without having to do another select?

I have a stored procedure I am calling.  It does not check the error
conditions of the last insert or update and I cannot modify the stored
procedure.  My concern is that this returns back a bunch of information
and I would like to be able to check for errors as I am getting back
stuff.  Currently I get error messages back from Sybperl, but no real
reported error codes.  Do I need to rewrite the error handling hooks to
do this or is there a better shortcut?