Re: Fwd: DBlib to CTlib migration question

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
On Tue, 2005-04-12 at 13:09, Michael Peppler wrote:
> ---------- Forwarded message ----------
> From: Debkumar Chakraverty <[email protected]>
> Date: Apr 12, 2005 9:57 AM
> Subject: DBlib to CTlib migration question
> To: [email protected]
> 
> 
>  
> 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  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.