Re: DBMS_ALERT in Proc*C program

From: Mark Styles <lambic_at_msn.com>
Date: 1996/10/18
Message-ID: <3267B552.441F_at_msn.com>#1/1


Francois Rochette wrote:
>
> How do you use the DBMS_ALERT functions in a Pro*c program anyway?
>
> Oracle says something about it in the Developer's guide 7.3 but not
> for C programs and it doesn't work. The compiler doesn't know anything
> about the DBMS_ALERT and cannot link the program.

You need to change your Pro*C makefile to make sure you log on to the database as the required user, with full semantics, with lines something like:

USERID=user/pass
PROFLAGS= sqlcheck=full userid=$(USERID)

then your compilation rule will be something like:

.pc.c:

        $(PROC) $(PROFLAGS) iname=$*.pc Received on Fri Oct 18 1996 - 00:00:00 CEST

Original text of this message