Up Prev Next
From: "Chen, Charley" <chchen at EXAMNYC dot lehman dot com>
Subject: Trapping Errors with Sybperl
Date: Aug 7 2000 2:12PM
I'm new to the list and new to sybperl. So this question may seem stupid.
I am trying to fix a perl script that is wrapper for isql. However it
doesn't seem to trap errors properly. For example if I pass in a simple
I get sqlstatus of 1 which is the same if I do
Is there anyway I can get the script to report an error? I tried adding the
message handlers from sybutil.pl to my script and it didn't work either.
Any help would be greatly appreciated.