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: Return Status of Stored Procedure
Date: May 28 1999 6:10PM

Tan Saw Phaik writes:
 > Hi Gurus,
 > 
 >    I'm a newcomer to Perl and SYBPERL. I use the foll. commands  
 > 
 >   $rows = $dbh->ct_sql(<<'SQL_EOF');
 >         exec ahsekeep_oper_rem_ret
 >   SQL_EOF
 > 
 >   and I need to check for the return status of the SYBASE stored procedure
 >   (ahsekeep_oper_rem_ret).
 >  

The return status of the stored proc will be the first row in the
@$rows array.

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