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: RC -205
Date: Feb 23 2005 7:40PM

On Wed, 2005-02-23 at 19:55, Ddunleavy2@aol.com wrote:
> Hi,
>  
> This is my code.  The truncate works just fine but the return code is
> always -205.  Where is my error?

There is no error.

The RC value is the last return code from the Sybase API, with -205
being CS_END_RESULTS (see cstypes.h).

It's not particularly useful, though. So you should probably just check
RC against CS_FAIL and CS_CMD_FAIL. If it's not one of these most likely
things went fine.

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