- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a file which is created for direct access,
open(1, file='file1.bin', access='direct',recl=lengthrec)
write(1,rec=nrec)[1.0,irec=1,lengthrec]
Eventually, I want to acces it as a sequential file. Is it possible?
Thanks!
Marcio.pmz
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would have to close it and reopen it for sequential access. Add recordtype='fixed' and specify the same recl= value.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would have to close it and reopen it for sequential access. Add recordtype='fixed' and specify the same recl= value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Steve (Dr Fortran),
So the key is recordtype='fixed'!
Well, Thank you, very much!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page