UTL_FILE Package
From: Walter Zimmer <wzimmer_at_atair.rz.uni-ulm.de>
Date: 1996/07/25
Message-ID: <4t83k9$a96_at_rigel.rz.uni-ulm.de>#1/1
Date: 1996/07/25
Message-ID: <4t83k9$a96_at_rigel.rz.uni-ulm.de>#1/1
Hi !
I just discovered in the Oracle Forms Object Navigator the specification for
the UTL_FILE package. Writing to a file is just what I need so I wrote a
small PL/SQP Prcedure:
All I get is an exception 'invalid path' from the fopen. I tried hundreds
of ways specifying file names and paths, but no success.
PROCEDURE file_test IS
file utl_file.FILE_TYPE;
BEGIN
file := utl_file.fopen('/home/blah, 'test.txt', 'w');
utl_file.put(file, 'Yeah !');
utl_file.fflush(file);
utl_file.fclose(file);
EXCEPTION
-- exception handling...
END;
Thanks,
Walter
walter.zimmer_at_rz.uni-ulm.de Received on Thu Jul 25 1996 - 00:00:00 CEST