Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> A stored procedure call in a C++ Program ?

A stored procedure call in a C++ Program ?

From: BEY Pascal <beyp_at_mygale.org>
Date: Tue, 8 Sep 1998 17:32:44 +0200
Message-ID: <6t3i7r$f5$1@bw107zhb.bluewin.ch>


Hello,
I just want to know how is the right way to call a Stored Procedure from a C++ Programm.

I'm on an UNIX system on a SUN Machine. Could anyone help me to see where is the problem ?

Thanks in advance !


Here is my syntax :

   EXEC SQL EXECUTE
    BEGIN

     www_ep_fin_sta.fs_tg_ins
         (:user,:ora_user,:shop_id, :datum_von, :datum_bis, :seq);
    END;
   END-EXEC; but here is the pre-compiler PRO*C error !

     www_ep_fin_sta.fs_tg_ins
.....1
(1) PCC-S-02201, identifier 'WWW_EP_FIN_STA.FS_TG_INS' must be declared

     www_ep_fin_sta.fs_tg_ins
.....1
(1) PCC-S-02000, Statement ignored

Semantic error at line 281, column 5, file tagestot.pc:

    BEGIN
....1
(1) PCC-S-02346, PL/SQL found semantic errors
Received on Tue Sep 08 1998 - 10:32:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US