In Berkely Fortran ALL files are open for apending. Therefore, new files must be 'rewound' using `rewind (unit_number)'. That should get rid of the end of file error. Wayne Roberts