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 -> NEWBIE; cannot write to a file

NEWBIE; cannot write to a file

From: Thomas E. Johnston <Thomas.E.Johnston_at_wcom.com>
Date: Mon, 19 Jul 1999 19:25:24 GMT
Message-ID: <37937CF2.47565383@wcom.com>


Not able to write a simple message to a file.

  1 DECLARE

  2      output_file     UTL_FILE.FILE_TYPE;
  3      BEGIN
  4        output_file := UTL_FILE.FOPEN('C:\','tomout.txt','w');
  5        UTL_FILE.PUT_LINE( output_file,'write to a file');
  6        UTL_FILE.FCLOSE(output_file);
  7*     END;

SQL> /
DECLARE
*
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.UTL_FILE", line 88
ORA-06512: at "SYS.UTL_FILE", line 146
ORA-06512: at line 4

Received on Mon Jul 19 1999 - 14:25:24 CDT

Original text of this message

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