Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* moving files from VMS to Ultrix via TK50
@ 1994-02-23 14:54 Brian W. Murphy
  1994-02-24  3:47 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 1 reply; 3+ messages in thread
From: Brian W. Murphy @ 1994-02-23 14:54 UTC (permalink / raw)


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).

I do have access to a public domain UUENCODE program for the
VAX, so theoretically the files could be ASCII if that moves
things from the realm of the nearly impossible to the realm
of the attemptable.  I would still need to know the methods
for writing from VMS and reading back into ULTRIX.

Thanks for the help

Brian Murphy
Center for Positrion Emission Tomography
SUNY/VAMC Buffalo, NY
brian@petnet.buffalo.edu


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: moving files from VMS to Ultrix via TK50
  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.
  1994-02-24  5:08   ` Peter Sherwood
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-02-24  3:47 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: moving files from VMS to Ultrix via TK50
  1994-02-24  3:47 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1994-02-24  5:08   ` Peter Sherwood
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Sherwood @ 1994-02-24  5:08 UTC (permalink / raw)


In order to move the files from VMS, you need to know something about the
file type under VMS, which you can see using "DIR/FULL filespec".  You can
make an ANSI tape using the COPY command, as in "INIT MUA0: label",
"MOUNT MUA0: label", "COPY filespec MUA0:*".  The blocksize can be varied
by using a qualifier in COPY.

The format of the data on tape will depend on the VMS file type.  One way 
you can look at the tape is to use DUMP under VMS.  A typical tape format
is 4 bytes of record length, followed by a record, padded to next even
location. "^^^^" ends a tape record.
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-02-24  5:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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.
1994-02-24  5:08   ` Peter Sherwood

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