Re: RC -205

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
On Wed, 2005-02-23 at 19:55, [email protected] 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  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.