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: Louis Proyect <lnp3 at columbia dot edu>
Subject: CTlib question
Date: Sep 9 1999 6:18PM

I've got DBlib working pretty good in my environment, but wanted to test
out CTlib. Have run into a problem using the Sybperl documentation example.

My code:
#!/usr/local/bin/perl
use Sybase::CTlib;
 
$X = Sybase::CTlib->ct_connect("uid", "password");
 
$X->ct_execute("select count(*) from PAYROLL_CALENDAR");

returns this:

----
Open Client Message:
Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (16)
Message String: ct_cmd_drop(): user api layer: external error: This routine 
cannot be called while results are pending for a command that has been sent
to the server.
----

What's the problem?

Louis Proyect
Columbia Univ.