Up Prev Next
From: "Stern, Meir" <Meir dot Stern at gs dot com>
Subject: RE: ANNOUNCE: sybperl 2.11
Date: Sep 21 1999 10:04PM
Hi to all,
I am very new to CTlib I am trying to insert a record to a table in a sybase
database what is the best way to do it. This is my code I have written
$isql= "insert into Ticket_Entry values
$dbh = new Sybase::CTlib $user,$passwd,$SERVER,"undef" ;
print "got to here and this is $dbh \n";
$status = $dbh->ct_execute($sql);
This is the error I keep on getting
Open Client Message: Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1)
NUMBER = (136) Message String: ct_command(LANG): user api layer:
external error: A string of length 0 is not allowed for parameter buf. Open
Client Message: Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1)
NUMBER = (155) Message String: ct_results(): user api layer: external error:
This routine cannot be called when the command structure is idle.
Content-type:text/html got to here and this is Sybase::CTlib=HASH(0x19711c)
got to the execute command this is
PLEASE HELP!!!!! Thanks a lot in advance.
Dept: User Support Engineering
From: Michael Peppler [mailto:firstname.lastname@example.org]
Sent: Tuesday, September 21, 1999 5:36 PM
To: SybPerl Discussion List
Subject: ANNOUNCE: sybperl 2.11
The uploaded file
has entered CPAN as
size: 164518 bytes
This is mostly a bug fix release - making sure that most of the fixes
that I have applied or received since the 2.10_02 release get out.
>From the CHANGES file:
2.11 Various bug fixes.
nsql() patch from W. Philipp Moore.
Added EMBED_SYBASE configuration variable.
dbreadtext() could cause a core dump if the internal call failed.
Figured out what was needed to get Sybase::DBlib to talk to an
MS-SQL 7 dataserver. Sybase::CTlib still does not work with the
normal, non-patched MS-SQL 7 server.
Fixed bug 261: Money/Numeric potentially lose precision in
Fix incorrect dropping of locale structure in CTlib::DESTROY.
Link pod/sybperl.pod to CTlib/CTlib.pod and DBlib/DBlib.pod so
that perldoc Sybase::DBlib now works.
Added DBIORDESC() and DBIOWDESC() (contributed by David Worenklein)
Modifications to nsql() contributed by W. Phillip Moore.
Added minimal support for languages and charsets to Sybase::CTlib.
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: firstname.lastname@example.org