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 MBAY dot NET>
Subject: Re: Info on return values
Date: Nov 24 1997 7:04PM

Daniele Russo wrote:
> 
> Hi,
> 
> I am new to Sybperl and I'm looking for some information on the return
> values of the DBlib functions. I already wrote some code using DBlib which
> works, but I'd like to make it more reliable by checking the return values
> of each function, trying to recover if anything fails. For example, what
> happens if the connection with the database is lost and 'dbsqlexec' is
> executed? I know there should be return values such as SUCCEED and FAIL,
> but the Sybperl man page and examples don't explain how to handle the
> return values.

Please read the Sybase documentation for OpenClient DB-Library. If you
don't have the docs available they can be found at 
http://sybooks.sybase.com.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler