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: gregory j pryzby <pryzby at tux dot org>
Subject: [Q] Looking for Error handling documentation
Date: Sep 1 1998 5:03PM

I want to log inserts and the return value to the database to a flat
file. 

I set an error_handler that writes the serverity (not really what I am
looking for, but the best I can find). I also write after the dbcmd()
that does the insert. 

As you probably know, I get a insert than and insert with severiry set
to 5 when it is a duplicate record. I only want the second entry
(failure)

Any pointers to read up, or suggestions are welcome

tia,
greg

--
gregory j pryzby                      | pryzby@tux.org
Founded Linux Users Group of Manassas |
http://www.tux.org/~pryzby/house.html
Check out the Home Pages              | http://www.tux.org/lugman.html
Love animals-- don't eat them!        | http://www.tux.org/~pryzby/