Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: moving files from VMS to Ultrix via TK50
Date: Thu, 24 Feb 1994 03:47:53 GMT	[thread overview]
Message-ID: <1994Feb24.034753.25678@nntpd2.cxo.dec.com> (raw)
In-Reply-To: CLoMrM.Ht9@acsu.buffalo.edu


In article <CLoMrM.Ht9@acsu.buffalo.edu>, bwmurphy@acsu.buffalo.edu (Brian W. Murphy) writes:

>I need to move files from a standalone VMS machine to an Ultrix
>workstation.  The only common device between the two machines is
>a TK50 drive (scarry, huh? actually a TK70 on Ultrix).  The
>files are not ASCII.  I can handle floating point representation
>conversions, etc.  What I need to know is how to write files
>to the TK50 from the VMS side so that I can extract just the
>binary data in stream format on the Ultrix side.  (My VMS
>source hasn't provided me with the VMS file structure yet,
>but I'm betting it is fixed length 512 byte records).

If the data is fixed length records the simplest thing to
do is to:

$ MOUNT/FOREIGN/BLOCK=#/REC=# tape-device:
$ COPY file tape-device:

Chose a block size that is a nice multiple of the record size
without being larger that 32 KB or so.  For multiple files,
make sure you don't rewind between copies.

On ULTRIX use dd(1) with an appropriate block size to read
the tape.  If you have multiple files be sure to use the
no-rewind device between commands.

% dd if=/dev/tape-device of=file bs=#

The are versions of tar for VMS.  And you can ltf on ULTRIX
to ANSI labeled tapes.  These may help in case there records
aren't fixed length records.

>
>Thanks for the help
>
>Brian Murphy
>

--
Alan Rollow				alan@nabeth.cxo.dec.com



  reply	other threads:[~1994-02-24  3:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-23 14:54 moving files from VMS to Ultrix via TK50 Brian W. Murphy
1994-02-24  3:47 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1994-02-24  5:08   ` Peter Sherwood
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox