UTL_FILE Example


declare
   v_output_file1 utl_file.file_type;
begin
   v_output_file1 := utl_file.fopen('DRATEST', 'NEW.txt', 'a');
   utl_file .put_line(v_output_file1, 'NATURE and Beauty');
   utl_file.fclose_all;
end;
/