title: PL SQL not able to read from file
body: <p>I am new to PL/SQL and am trying to read from a file through PL/SQL as below. I keep getting "ORA-20000" for this. Is there something wrong I am doing?</p>
  
  <pre><code>declare
  
    output_file  utl_file.file_type;
    firstline    VARCHAR2(1000);
    secondline   VARCHAR2(1000);
  
  BEGIN
    output_file := utl_file.fopen (&amp;1,&amp;2, 'W');
    utl_file.fclose(output_file);
  EXCEPTION
    WHEN utl_file.invalid_path THEN
    RAISE_APPLICATION_ERROR(-20000, 'ERROR: INVALID PATH FOR FILE.');
  END;
  /
  </code></pre>