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: Question about Message/Error handling
Date: Apr 28 2000 7:21PM

drTime writes:
 > The Problem. Finally we fill up the database. If we do this from SQSH
 > (which I believe is a CTLIB application) we get a Sybase MESSAGE 1105
 > (segment full) which is very specific and useful, and is the desired
 > behaviour.
 > 
 > However, when our application (DBLIB, remember?) fills up the database,
 > we get a Sybase ERROR number 20018, which is a generic server message
 > saying an error occurred and to check the logs.

This could be a programming problem, where the errHandler (which is
called *after* the message handler) stuffs *it's* error value (the
20018 - which is the DBlibrary error, I think) into some variable and
overwrites the value of the error that you get back from Sybase in the 
msgHander...

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com