Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Checking Connection Status in a Pro*C program
some code snippets:
EXEC SQL INCLUDE SQLCA ; EXEC SQL CONNECT :appidpwd ;
errno = 0 ; /* clear errno in case oracle sets it */ if (sqlca.sqlcode != 0) /* check oracle error */ { your error code here }
MEYOU_at_ComPorts.com wrote:
: Is there anyway to check connection status after "CONNECT" call in a
: Pro*C program?
: Need to know how very urgently. Please help!
: Regards
: Steven
--
While DSC may claim ownership of all my ideas (on or off the job),
DSC does not claim any responsibility for them. Warranty expired when you
opened this article and I will not be responsible for its contents or use.
Received on Mon Apr 13 1998 - 12:19:02 CDT
![]() |
![]() |