title: Single command to open a file or create it and the append data
body: <p>I would like to know if in Fortran it is possible to use just a single command (with options/specifiers) to do the following:</p>
  
  <ol>
  <li><p>open a file if it exists and append some data
  (this can be done with: <code>open(unit=40,file='data.data',Access = 'append',Status='old')</code> but if the file does not exist a runtime error is issued)</p></li>
  <li><p>create the file if it does not exist and write some data.</p></li>
  </ol>
  
  <p>I am currently using <code>inquire</code> to check whether the file exist or not but then I still have to use the <code>open</code> statement to append or write data.</p>