Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Using DBMS_OUTPUT in ProC
kent.primrose_at_dg19.cec.be wrote:
>
> In a ProC program I would like to get output from DBMS_OUTPUT. I have a
> DBMS_OUTPUT.ENABLE statement followed by a DBMS_OUTPUT.PUT_LINE
> statement. Everything compiles and runs fine, just no apparent output.
>
> I'm running in UNIX and have not re-directed STDOUT or STDERR. Any good
> ideas?
Ain't never heard of DBMS_OUTPUT in a Pro*C program before. If you're using the DBMS_OUTPUT package from a PL/SQL block within the Pro*C program did you try GET or GET_LINE to retrieve the buffered info?
I think it may only work from a SQL*Plus session or Server Manager though. (Server Application Developers Guide 6-23)
Just a thought...
Alan Wilson