- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I've posted the following question to the Intel Premier Support.
Their answer was that because it is more of a language specific issue than a compiler issue, they request me to post it here.
Could you please help me to solve the problem?
I with to open existing 4mm dat (DDS3), created with DEQ workstation, with windows 2k machine.
The DAT drive is SONY SDT-9000 SCSI drive, handled with microsoft 4mmdat.sys driver ver.5.00.2195.6655 as BUS#=0 target ID=5, LUN=0.
In the language reference, mentioned is an example "open (file='/dev/rmt8')", but I'm afraid it is not valid for windows environment.
Could you please give me an example of opening tape device on windows?
Makoto IMAI
I've posted the following question to the Intel Premier Support.
Their answer was that because it is more of a language specific issue than a compiler issue, they request me to post it here.
Could you please help me to solve the problem?
I with to open existing 4mm dat (DDS3), created with DEQ workstation, with windows 2k machine.
The DAT drive is SONY SDT-9000 SCSI drive, handled with microsoft 4mmdat.sys driver ver.5.00.2195.6655 as BUS#=0 target ID=5, LUN=0.
In the language reference, mentioned is an example "open (file='/dev/rmt8')", but I'm afraid it is not valid for windows environment.
Could you please give me an example of opening tape device on windows?
Makoto IMAI
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep, I doubt that syntax will work on Win32... but still, this Forum is not really the right place either.
I did some quick research and it appears that you need CreateFile API to open the driver as device. See this list of threadsand this particular oneon comp.os.ms-windows.programmer.win32. It looks as if you need to open it via:
hFile = CreateFile(".4mmdat"//char(0), ...)
but I'm far from sure.
Further, take a look at USEROPEN option of OPEN statement. Basically, it lets you define your own callback to substitute default OPEN behaviour, and then subsequently do just normal Fortran READ and WRITE. But half of the job would be to get the CreateFile working -- USEROPEN is just part of convenience.
Hope this helps,
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The example is just that, a syntax example. That particular one happens to be for UNIX/Linux. As Jugoslav says, that won't work on Windows.
I think the Windows Backup API has some routines for dealing with tapes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks to Jugoslav and Steve!
Following Jugoslav, I tried to explore comp.os.ms-windows.* and found that drivers such as TapeDisk, DATMAN or "Direct Tape Access", which enable tape device accessible as a hard drive, might useful to me, though all I need is sequential reading.
None of these, however, seems to be compatible with win2k.
Now I understand I have to call the Windows API.
Sincerely,
Makoto IMAI
Following Jugoslav, I tried to explore comp.os.ms-windows.* and found that drivers such as TapeDisk, DATMAN or "Direct Tape Access", which enable tape device accessible as a hard drive, might useful to me, though all I need is sequential reading.
None of these, however, seems to be compatible with win2k.
Now I understand I have to call the Windows API.
Sincerely,
Makoto IMAI

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