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 peppler dot org>
Subject: RE: Sybase::DBlib manual page synopsis has no error checking
Date: Mar 31 2004 3:05PM

On Wed, 2004-03-31 at 03:19, Avis, Ed wrote:
> Michael Peppler wrote:
> 
> >The documentation for any error states/statuses is in the Sybase
> >DBlibrary docs, available at
> >http://download.sybase.com/pdfdocs/sdg1251e/dblib.pdf
> 
> It looks like many routines return either SUCCEED or FAIL.

Correct. However, DB-lib isn't as regular as CT-lib, so some routines
return success/fail status codes, and others return data, with null
values signifying errors.

This is also why CT-lib is preferable to use.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.peppler.org/resume.html