home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!e2big.mko.dec.com!quark.enet.dec.com!lionel
- From: lionel@quark.enet.dec.com (Steve Lionel)
- Subject: Re: Variable length records to tape
- Message-ID: <1993Jan5.021144.13269@e2big.mko.dec.com>
- Sender: usenet@e2big.mko.dec.com (Mr. USENET)
- Organization: Digital Equipment Corporation
- References: <1993Jan4.224831.5366@sobeco.com>
- Distribution: na
- Date: Tue, 5 Jan 1993 02:14:18 GMT
- Lines: 20
-
-
- In article <1993Jan4.224831.5366@sobeco.com>, szweep@sobeco.com (Steve Zweep) writes...
- >Can someone tell me how to write variable length physical blocks to tape
- >with VMS, so that the tape can be read again on a foreign system?
- >
-
- Mount the tape /FOREIGN. Then whatever you write is what ends up on
- the tape. Write 100 bytes, you get a 100-byte block, etc. No padding,
- no record length. If you're using RMS (or HLL I/O), you can open the
- tape drive by specifying the device name. To write a tape-mark, close
- the file. This is also pretty easy with $QIOs.
-
- The only caveat is that you can't write blocks shorter than 14 bytes
- due to a restriction the magtape driver enacts.
-
- Steve Lionel lionel@quark.enet.dec.com
- SDT Languages Group
- Digital Equipment Corporation
- 110 Spit Brook Road
- Nashua, NH 03062
-