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: Retrieving stored procedure's print statements
Date: Dec 6 2000 4:37PM

Gottesman, Elisheva writes:
 > Hi, I'm new to the list, and to sybperl in general. I've browsed through
 > whatever I could find in the archives, but couldn't find anything to help me
 > in this, so any assistance would be greatly appreciated.
 > I'm using DBlib. When the sp I'm calling doesn't return any rows, I need to
 > be able to retrieve a message printed by the sp.

Messages that are PRINTed in T-SQL are sent to the "message
handler". See the dbmsghandle() call, as well as the sybutil.pl file
in the lib/ directory of the sybperl distribution.

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