Re: Proc*c help

From: G Dahler <yellow-shark_at_spamex.com>
Date: Wed, 31 Mar 2004 15:20:07 -0500
Message-ID: <1KFac.57703$1A6.1299582_at_news20.bellglobal.com>


"Jay" <jayanes_at_hotmail.com> a écrit dans le message de news:9d845314.0403311003.35d41c67_at_posting.google.com...
> All,
>
> I am trying to put a PL/SQL block ( with UTL_FILE file process )
> within a pro*c program.
>
> I was able to compile with cc ( gmake ), but getting a 'STOP ERROR'.
> The PL?SQL block itslef is workg fine under sqlplus.
>
> Any idea as whether it is possible to run PL/SQL (with UTL_FILE) to
> run embedded in pro*c?
>
> Thanks
>

Why would you use UTL_FILE in a PRO*C program ? Use open() read() and write() !

If you are already at the PRO*C level, why not simply use the native C library: lot more options than UTL_FILE, lot more flexible, lot more powerful. Received on Wed Mar 31 2004 - 22:20:07 CEST

Original text of this message