Hello,
I am running Oracle SQL *Plus on Windows system and trying to open a test file. I would greatly appreciate for your kind help.
CREATE OR REPLACE PROCEDURE File_open
IS
output utl_file.file_type;
begin
output := utl_file.fopen( 'c:\temp\', 'File_open.txt', 'w',32000 );
utl_file.fclose( output );
end;
/
If I run this on SQL *Plus prompt, it gives following error. I checked c:\temp exist in the system.
------------------------------------------------------
SQL> exec File_open
BEGIN File_open; END;
*
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.UTL_FILE", line 120
ORA-06512: at "SYS.UTL_FILE", line 293
ORA-06512: at "SYSTEM.FILE_OPEN", line 5
ORA-06512: at line 1
------------------------------------------------------
Best Regards,
DK
I am running Oracle SQL *Plus on Windows system and trying to open a test file. I would greatly appreciate for your kind help.
CREATE OR REPLACE PROCEDURE File_open
IS
output utl_file.file_type;
begin
output := utl_file.fopen( 'c:\temp\', 'File_open.txt', 'w',32000 );
utl_file.fclose( output );
end;
/
If I run this on SQL *Plus prompt, it gives following error. I checked c:\temp exist in the system.
------------------------------------------------------
SQL> exec File_open
BEGIN File_open; END;
*
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.UTL_FILE", line 120
ORA-06512: at "SYS.UTL_FILE", line 293
ORA-06512: at "SYSTEM.FILE_OPEN", line 5
ORA-06512: at line 1
------------------------------------------------------
Best Regards,
DK