On Tue, 16 Jan 2007 23:33:13 -0800 glen herrmannsfeldt <[EMAIL PROTECTED]>
wrote:

:>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.

Sounds correct.

:>It occured to me that MVS (predecessors and successors), with DISP=MOD
:>will position to the end, 

Depends on the CLOSE option

:>                          but that a REWIND will go to the beginning,
:>not to the point where the append started, just like unix.

That is what REWIND means.

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

Go to the load point.

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

Not that I am aware of.

You can keep track of the block number (3480+) and position using it.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
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