/* Formatted on 2005/01/25 19:45 (Formatter Plus v4.8.5) */
Not sure what is wrong with this?
Thx in advance using oracle 9i
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 18
ORA-06512: at "SYS.UTL_FILE", line 424
ORA-06512: at "ADMIN_QA.WRITE_FILE", line 5
ORA-06512: at line 3
CREATE OR REPLACE PROCEDURE write_file
IS
l_file UTL_FILE.file_type;
BEGIN
l_file := UTL_FILE.fopen ('/tmp/outputfile/', 'testqa2_ora_14032_test1_binds_single_process.trc', 'w');
UTL_FILE.put_line (l_file, 'this is a test');
IF UTL_FILE.is_open (l_file)
THEN
UTL_FILE.fclose (l_file);
END IF;
END;