Skip to Content.
Sympa Menu

freetds - Re: FreeTDS and stored procedure retcode

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ruslan R. Laishev" <Laishev AT SMTP.DeltaTel.RU>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: FreeTDS and stored procedure retcode
  • Date: Sat, 16 Jun 2001 13:59:17 +0400


Hello Alen,
my environment is OpenVMS and only basic FreeTDS API (not DB, not
CT). My client is C
program : http://www.radiusvms.com/isql.c

Allen Grace wrote:
> > Hello All!
> > I use FreeTDS only to call a stored procedures in M$ SQL, how I can to
> catch a SP
> > return code?
>
> You don't tell us much about what kind of environment you're running in...
> if your client is written in C, use the functions
> dbhasretstat() - tells you whether there is a return value, and
> dbretstatus() - tells you what it is.
>
> http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/sql/dbc_pdc0
> 0b_2zkz.htm
>
> for more information on how to use these procedures.
>
> allen
--
Cheers, Ruslan.
+----------------pure personal opinion------------------------+
RADIUS Server for OpenVMS project - www.radiusvms.com
vms-isps AT dls.net - Forum for ISP running OpenVMS
Mobile: +7 (901) 971-3222




Archive powered by MHonArc 2.6.24.

Top of Page