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: Fwd: DBlib to CTlib migration question
Date: Apr 13 2005 6:31PM

On Tue, 2005-04-12 at 13:09, Michael Peppler wrote:
> ---------- Forwarded message ----------
> From: Debkumar Chakraverty 
> Date: Apr 12, 2005 9:57 AM
> Subject: DBlib to CTlib migration question
> To: mpeppler@peppler.org
> 
> 
>  
> Hi,
>  
> I am migrating DBlib calls to CTlib & am facing the following concern... 
> There is a call to "dbretstatus()" for which i am not able to get the
> corresponding call in CTlib as below...

The status result in CTlib is returned as any other result set in the
ct_results() loop.

The result type is set to CS_STATUS_RESULT.

If you wish to have a function that fetches the status result similar to
the dbretstatus() call then you'll have to store the status result
somewhere when it is retrieved during the ct_results() loop.

Michael
-- 
Michael Peppler  -  mpeppler@peppler.org  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html