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: ZungNguyen <ZungNguyen at aol dot com>
Subject: Re: Open Client Errors When executing statements
Date: Apr 17 1998 1:54PM

You can't reuse a command structure until you've processed everything returned
in it. You can call ct_cancel or use the following loop to close the command
structure:

while(($rc = $dbh->ct_results($res_type)) != CS_END_RESULTS) {}

Zung