- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got a great deal of help from Knowledge Base Q1022 (http://www.compaq.com/fortran/kb/q1022.html) RE: transferring VMS UNFORMATTED files to the Visual Fortran environment. Looks like converting UNFORMATTED files via either DCL (SET FILE) or the two VMS code examples provided (unix_to_segmented.for or segmented_to_unix.for) are good paths.
I have a situation where we have a great number of these VMS UNFORMATTED files transferred to a Windows environment, and would like to do the conversion to a readable format on the Windows side. My question is: is there something like the SET FILE command or the two Fortran examples that will let me do the conversion job in the Windows world?
Any tips would be appreciated...thanks!
David Miller
I have a situation where we have a great number of these VMS UNFORMATTED files transferred to a Windows environment, and would like to do the conversion to a readable format on the Windows side. My question is: is there something like the SET FILE command or the two Fortran examples that will let me do the conversion job in the Windows world?
Any tips would be appreciated...thanks!
David Miller
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As explained in the article, the act of transferring the files to Windows almost certainly strips off the record length information, which is needed to reconstruct the file. If you know all the records are the same length, then you can open the file ACCESS='DIRECT' and read the records that way, then write them to a sequential unformatted file.
Steve
Steve

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