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: t_reilly at INDRA dot COM
Subject: Problems with ct_options
Date: Nov 14 1999 1:15AM

Any ideas about this - 

I am getting these errors from ct_lib with attempting to set options
using the following:

$dbh->ct_options(CS_SET, CS_OPT_SHOWPLAN, CS_TRUE, CS_CHAR_TYPE) if
($ShowPlan == 1) ; 
$dbh->ct_options(CS_SET, CS_OPT_STATS_IO, CS_TRUE, CS_CHAR_TYPE) if
($IOStats == 1) ; 
$dbh->ct_options(CS_SET, CS_OPT_NOEXEC, CS_TRUE, CS_CHAR_TYPE) if
($NoExec == 1) ; 

Open Client Message: (In msg_cb)
Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (9)
Message String: ct_options(SET,SHOWPLAN): user api layer: external
error: The paramlen parameter must be set to CS_UNUSED.

Open Client Message: (In msg_cb)
Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (9)
Message String: ct_options(SET,STATS_IO): user api layer: external
error: The paramlen parameter must be set to CS_UNUSED.

Open Client Message: (In msg_cb)
Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (9)
Message String: ct_options(SET,NOEXEC): user api layer: external error:
The paramlen parameter must be set to CS_UNUSED.


FYI Using this version:

CTlib version: This is sybperl, version 2.11

Sybase::CTlib $Revision: 1.40 $ $Date: 1999/09/21 21:05:01 $

Thanks in advance,


Tom Reilly