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 26 2005 11:22AM

On Fri, 2005-08-26 at 15:33 +0900, Ashish Gupta wrote:
> Hi Michael,
> 
> I still get an error.
> 
> I tried the command :
> 
> 	ct_config(CS_SET, 9173,   2, CS_INT_TYPE);
> 
> 
> And the following error was reported :
> 
> Open Client Message:
> Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (5)
> Message String: ct_config(): user api layer: external error: An illegal
> value of 9173 given for parameter property.

Indeed - the problem is that CS_RETRY_COUNT is a connection property, to
be set with ct_con_props() before the connection is attempted. This is
handled differently in this module, and will require a patch to the code
to get working. You can see how the other connection properties are
handled in CTlib.xs around line 6065 in my copy.

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