[mod.computers.vax] RSTS <==> VMS file transfer

TOD@PS1.CS.CMU.EDU.UUCP (06/01/86)

Has anybody out there had any experience with transferring a large
number (eg 500+) of files from a RSTS system to a VMS system?  I am
going to have to do this soon, and would appreciate any pointers
anyone has.  The files are all program sources, and I would like to
keep them split up (they are currently spread across around 20-30 directories)
so I don't have to wade through 500 or so files and copy them
to their own little directory.

Thanks,
							-Tod Shannon
						ARPA: TOD@PS1.CS.CMU.EDU
					BITNET: TOD%PS1.CS.CMU.EDU@WISCVM
					CSNET TOD%PS1.CS.CMU.EDU@CSNET-RELAY
------

Makey@LOGICON.ARPA.UUCP (06/04/86)

It's been 4 years since I did this (and 4 years since I've used either
VAX/VMS or RSTS/E), but I think I can give you some ideas.

First of all, you need compatible magtape drives on both systems and a
magtape.

If you have one of those newfangled (later than V7.0) RSTSs with a DCL
command interpreter and if the RSTS DCL "COPY" command will write ANSI
format tapes then it's pretty easy.  Just create two massive DCL
command files: one that copies files to the tape and one that copies
files from the tape.  They might resemble following:

            TOTAPE.COM                        FROMTAPE.COM
            ----------                        ------------
    COPY [60,13]PROG.BAS MT:1        COPY MTA0:1 DRA0:[DIR1]PROG.BAS
    COPY [70,28]DATA.DAT MT:2        COPY MTA0:2 DRA0:[DIR2]DATA.DAT
                .                                .
                .                                .
    COPY [171,3]FILE.TXT MT:500      COPY MTA0:500 DRA0:[DIR99]FILE.TXT

The TOTAPE.COM command file creates 500 uniquely named files on the
tape, where each name happens to correspond to the index of the file on
the tape.  FROMTAPE.COM reads the files from the tape into their proper
subdirectories.  Of course, creating these two files (FROMTAPE.COM
should be derived directly from TOTAPE.COM) is the hard part, but any
TECO wizard should be up to the task.

Another way is to use PIP to create a DOS format tape of the files you
want to transfer.  The original PPNs should be maintained on the tape
(as verified by doing a "DI MT:").  Move the tape to your VAX and do a
"MOUNT/FOREIGN" (or something like that) to get access to the drive
with the DOS tape.  Finally, use the VMS program (it might be called
PIP -- I don't remember) that reads DOS tapes to read the files from
each account into whatever directory they belong in.  The command might
look something like "PIP DRA0:[MYDIR]*.*=MTA0:[25,60]*.*".

I hope this helps.

                           :: Jeff Makey
                              Makey@LOGICON.ARPA

LEICHTER-JERRY@YALE.ARPA.UUCP (06/05/86)

    
    Has anybody out there had any experience with transferring a large
    number (eg 500+) of files from a RSTS system to a VMS system?  I am
    going to have to do this soon, and would appreciate any pointers
    anyone has.  The files are all program sources, and I would like to
    keep them split up (they are currently spread across around 20-30 direc-
    tories) so I don't have to wade through 500 or so files and copy them
    to their own little directory.
    
    Thanks,
    							-Tod Shannon
[Warning:  I haven't tried this - it's been years since I last used RSTS.]
Recent versions of RSTS - starting with V9.0? - have a backup program that
produces VMS BACKUP compatible tapes.  That would be by far the easiest
way to go.
							-- Jerry
-------