There is a question on comp.lang.fortran related to unix
file append (redirection), and the Fortran REWIND statement.

If one, for example does:

someprogram  >> somefile

to append to the file, and the program does a rewind on the file,
it will rewind to the beginning, not to the point where the append
started.

It occured to me that MVS (predecessors and successors), with DISP=MOD
will position to the end, but that a REWIND will go to the beginning,
not to the point where the append started, just like unix.

Just to be sure, is that what DISP=MOD and REWIND do?

Are (or were) there any systems that didn't do this?

-- glen

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to