title: Oracle / Plsql do I need to check that the file is saved?
body: <p>ORA-29280: 
      ORA-06512: "SYS.UTL_FILE",  line 270
      ORA-06512: "SYS.UTL_FILE",  line 1243
      ORA-06512: line 9</p>
  
  <pre><code>declare
    fhandle      UTL_FILE.FILE_TYPE;
  begin
  
  
  /*********************************************/
  -- if statement  ( file1.txt check ???? )  
  
    utl_file.fcopy(src_location  =&gt; 'location1',
                   src_filename  =&gt; 'file1.txt',
                   dest_location =&gt; 'location2',
                   dest_filename =&gt; 'file1_backup.txt');
  /*********************************************/
  
    fhandle := UTL_FILE.FOPEN('location1', 'file1.txt', 'W');
  
    utl_file.put_line(fhandle, 'some text');
  
    UTL_FILE.FCLOSE(fhandle);
  
  end;
  </code></pre>