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: sybperl ct_config CS_RETRY_COUNT
Date: Aug 25 2005 3:59PM

On Thu, 2005-08-25 at 16:53 +0900, Ashish Gupta wrote:
>
> If I want to restrict the number of retries, using the following
> command :
> 
>         ct_config(CS_SET, CS_RETRY_COUNT, 2, CS_INT_TYPE);
> 
> I get the following errors :
> 
> 
> Argument "CS_RETRY_COUNT" isn't numeric in subroutine entry at b.pl
> line 12.

I guess CS_RETRY_COUNT isn't exported.

Try:

ct_config(CS_SET, &Sybase::CTlib::CS_RETRY_COUNT, 2, CS_INT_TYPE);

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