Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: trapping error messages
Date: Apr 4 2001 10:15PM
John P. Hauck writes:
> Please forgive me if this question has been asked before...
> In my perl pgm, how do I trap and act upon error messages generated by
> I'm trying to update a value in a record, and the trigger is preventing
> the update and returning an error message.
See the dbmsghandle() call, and the sybutil.pl file (it's in the lib
directory of the sybperl distribution) for some example "message"
Michael Peppler - Data Migrations Inc. - email@example.com
http://www.mbay.net/~mpeppler - firstname.lastname@example.org
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: email@example.com