[fa.info-vax] Subject: moving files VMS - UNIX

info-vax@ucbvax.ARPA (07/06/85)

From: Per_Lindberg_QZ%QZCOM.MAILNET@MIT-MULTICS.ARPA

I need to move files between a VAX with VMS and another with
UNIX. One way to do this is to run some UNIX-emulator under VMS
(e.g. EUNICE) and read/write tapes with tar. This seems like
overkill to me, however. Isn't there any program under VMS that
can read/write tar-tapes? (Or a program under UNIX that can handle
VMS backup-tapes?)

info-vax@ucbvax.ARPA (07/07/85)

From: Tony Li <Tli@Usc-Eclb>

    From:        Per_Lindberg_QZ%QZCOM.MAILNET@MIT-MULTICS.ARPA

    I need to move files between a VAX with VMS and another with
    UNIX. One way to do this is to run some UNIX-emulator under VMS
    (e.g. EUNICE) and read/write tapes with tar. This seems like
    overkill to me, however. Isn't there any program under VMS that
    can read/write tar-tapes? (Or a program under UNIX that can handle
    VMS backup-tapes?)

Both of these program exist.  A vmstape utility recently made the
rounds on net.sources, and a tar reader has been available on the net
for a while.  I haven't had to use either (we have TCP running), so I
can't vouch for their correctness.

Cheers, 
Tony ;-)

info-vax@ucbvax.ARPA (07/08/85)

From: Random <decvax!mcnc!rti-sel!rcb@BERKELEY>

There is a program that was on net.sources that will read VMS COPY tapes
on unix. (and write them) There is also the ever popular KERMIT.

info-vax@ucbvax.ARPA (07/15/85)

From: Per_Lindberg_QZ%QZCOM.MAILNET@MIT-MULTICS.ARPA

I have solved the problem of moving files by tape between UNIX and
VMS. and since I beleve there's a lot of others Out There with the
same problem, I think this notice could be of help.

What I use is a program called "vmstape", which runs under UNIX. It
can read and write VMS COPY tapes, and has commands similar to tar.
It is available on usenet as item 1697 in net.sources (and maybe other
places as well?)

Since vmstape does not read the fourth header (and trailer) of every
file that VMS version 4 writes on the tape, I had to put in a hack
that does this. I know next to nothing about tape formats, but since
the program is written in C this was really easy to do. Long live C!
(Another way should be to use the /NOHDR4 switch when writing the tape
under VMS).

A big "THANKS" goes to the people at Harvard University Science Center:
- Glen Dudek & Steve Kaufer for writing the program
- Nike Horton (horton @ harvard.ARPA) for posting it on usenet
and to Tony Li (Tli @ USC-ECLB) for drawing my attention to it.