* Re: VMS ANSI mag tape on UNIX
1999-09-20 4:00 ` Tim Shoppa
@ 1999-09-20 4:00 ` Michael Kraemer
1999-09-20 4:00 ` Robert Koehler
0 siblings, 1 reply; 8+ messages in thread
From: Michael Kraemer @ 1999-09-20 4:00 UTC (permalink / raw)
In article <37E5E9C2.1EDC5D73@trailing-edge.com>, Tim Shoppa <shoppa@trailing-edge.com> writes:
> Chris Johnson wrote:
> > We are converting from VMS to TRU64 (Digital UNIX). We have many
> > mag tapes written by VMS in ANSI format. I'd like to be able to
> > access them from TRU64 in a way that makes sense to the use community,
> > i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
> > In other words I need to have tools the users can use that gives them
> > equivalent functionality on these VMS written ANSI tapes.
> >
> > Does anybody know a way to accomplish this?
My experience with "ltf" was on DECs Ultrix systems (MIPS platform).
I think it is a "better-than-nothing" tool to import ANSI tapes to
an Ultrix/OSF1 system. The biggest drawback probably is the lack
of multivolume support. Maybe you will also encounter some weird VMS
record organization not supported by ltf (dunno, I'm no DEC expert).
If I remember correctly there also was trouble with the tape device drivers,
but this might have changed with OSF1.
The other direction (UNIX -> ANSI tape) will give you more trouble,
because an ordinary UNIX has no concept of "records" as opposed to proprietary
OSes like VMS or IBMs MVS.
At our site we had developed an own tool to handle that.
If my memory serves me correctly IBM once offered a tool "NetTape" (or so)
running on their AIX but possibly also on other UNIces. Dunno if it's still
offered, check out their web-page (http://www.ibm.com)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VMS ANSI mag tape on UNIX
1999-09-20 4:00 ` Michael Kraemer
@ 1999-09-20 4:00 ` Robert Koehler
0 siblings, 0 replies; 8+ messages in thread
From: Robert Koehler @ 1999-09-20 4:00 UTC (permalink / raw)
Michael Kraemer (kraemer@clri6f.gsi.de) wrote:
: The other direction (UNIX -> ANSI tape) will give you more trouble,
: because an ordinary UNIX has no concept of "records" as opposed to
: proprietary OSes like VMS or IBMs MVS.
dd on Tu64 and some other UNIX systems will convert to/from fixed length
text records (a common format on tape) and CR separated byte stream records
(a la UNIX). Sometimes this is helpfull. See the block and unblock options
on dd's manpage.
I often end up repeating these steps since not all UNIX support ANSI standard
tape labeling:
1 dd if=/dev/nrt0 of=/dev/tty
2 dd conv=unblock if=/dev/nrt0 of=filename bs=blocksize cbs=recordsize
3 dd if=/dev/nrt0 of=/dev/tty
Step 1 copies the ANSI header to the terminal, you can read the filename
from the header, record type, block size, and record size. Step 2 copies
the data to a disk file, substitute the correct file name, record size,
and conversion options. Step 3 copies the file trailer to the terminal
so you can use step 1 on the next file's label.
You must use the no-rewind device (/dev/n-something) until you've copied the
last file. If step 1 produces no output, that's the logical end of tape.
But of course, there are many conversions dd can't do for you.
------------------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | Federal Sector
Flight Software Team | Civil Group
^ permalink raw reply [flat|nested] 8+ messages in thread
* VMS ANSI mag tape on UNIX
@ 1999-09-20 4:00 Chris Johnson
1999-09-20 4:00 ` Tim Shoppa
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Chris Johnson @ 1999-09-20 4:00 UTC (permalink / raw)
Hi all,
We are converting from VMS to TRU64 (Digital UNIX). We have many
mag tapes written by VMS in ANSI format. I'd like to be able to
access them from TRU64 in a way that makes sense to the use community,
i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
In other words I need to have tools the users can use that gives them
equivalent functionality on these VMS written ANSI tapes.
Does anybody know a way to accomplish this?
Help GREATLY appreciated here. Thank you.
------------------------------------------------------------------------------
Chris Johnson |Internet: johnson@isn.dac.neu.edu
Assistant Director, Systems |Web: http://www.dac.neu.edu/dac/c.johnson
Academic Technology Services |Voice: 617.373.4580
Northeastern University, 39 RI |FAX: 617.373.8600
360 Huntington Ave. |If ignorance is bliss, why aren't there more
Boston, MA., U.S.A. 02115 |happy people? Tea bag tag
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VMS ANSI mag tape on UNIX
1999-09-20 4:00 VMS ANSI mag tape on UNIX Chris Johnson
@ 1999-09-20 4:00 ` Tim Shoppa
1999-09-20 4:00 ` Michael Kraemer
1999-09-30 4:00 ` Christian Krackowizer
1999-10-03 4:00 ` peter
2 siblings, 1 reply; 8+ messages in thread
From: Tim Shoppa @ 1999-09-20 4:00 UTC (permalink / raw)
Chris Johnson wrote:
> We are converting from VMS to TRU64 (Digital UNIX). We have many
> mag tapes written by VMS in ANSI format. I'd like to be able to
> access them from TRU64 in a way that makes sense to the use community,
> i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
> In other words I need to have tools the users can use that gives them
> equivalent functionality on these VMS written ANSI tapes.
>
> Does anybody know a way to accomplish this?
I'm not sure if it comes with all versions of Digital Unix/TRU64,
but with version 4.0 and earlier you get a tool called "ltf",
short for "labeled tape facility". From the description:
The ltf command reads and writes single-volume Versions 3 and 4 ANSI-
compatible tape volumes. The file argument specifies each file or
direc-
tory name that is to be processed. If a directory name is specified,
the
complete directory tree is processed.
That said, ltf has *numerous* holes in it, compared to real in-
the-operating-system support for ANSI labeled tapes. Wildcards don't
work consistently like you're used to under VMS. Multi-volume
tapes aren't supported at all. While ANSI tapes have record
lengths, the Unix filesystem has no concept of "records", so
depending on the form of your records you may end up with hard-to-
decode gobbledygook where all the records just run up right against
each other without any separator. Note that a Unix weenie won't
regard any of these deficiencies as "bugs", since they're endemic
to the operating system, and not specific to tape handling.
If your users extensively use ANSI labeled tapes with any not-perfectly-
vanilla record structure, you'll almost certainly have to write
some homegrown tools for dealing with these sorts of things. Sometimes
you can string together some standard Unix tools (dd, cat, grep)
to get the functionality you want, but more likely you or your users
will end up having to write and debug a C program for each and every
type of tape to be handled.
--
Tim Shoppa Email: shoppa@trailing-edge.com
Trailing Edge Technology WWW: http://www.trailing-edge.com/
7328 Bradley Blvd Voice: 301-767-5917
Bethesda, MD, USA 20817 Fax: 301-767-5927
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VMS ANSI mag tape on UNIX
1999-09-20 4:00 VMS ANSI mag tape on UNIX Chris Johnson
1999-09-20 4:00 ` Tim Shoppa
@ 1999-09-30 4:00 ` Christian Krackowizer
1999-09-30 4:00 ` Frank da Cruz
1999-10-03 4:00 ` peter
2 siblings, 1 reply; 8+ messages in thread
From: Christian Krackowizer @ 1999-09-30 4:00 UTC (permalink / raw)
In article <7s56ir$7gs$1@isn.dac.neu.edu>, johnson@isn.dac.neu.edu says...
>
> Hi all,
>
> We are converting from VMS to TRU64 (Digital UNIX). We have many
>mag tapes written by VMS in ANSI format. I'd like to be able to
>access them from TRU64 in a way that makes sense to the use community,
>i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
>In other words I need to have tools the users can use that gives them
>equivalent functionality on these VMS written ANSI tapes.
Well, if these tapes have contents with 'sense', which you want to access from
unix - forget it.
'best workaround' copy these files on VMS from tape do disk, ftp' them binary
to unix and use them. You can dd' them to tape un unix again, but there's no
real structure on tapes like under VMS ...
--
Christian Krackowizer
+-----------------------------------------------------------------+
| Krackowizer Christian mailto:kra1@technodat.co.at |
| TECHNODAT Phone: ++43-(0)662-454944-0 |
| CAD/CAM - Systeme fuer Moebel GmbH FAX: ++43-(0)662-454944-9 |
| Jakob-Haringer-Strasse 6 http://www.technodat.co.at/ |
| A-5020 Salzburg / Austria |
+-----------------------------------------------------------------+
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VMS ANSI mag tape on UNIX
1999-09-30 4:00 ` Christian Krackowizer
@ 1999-09-30 4:00 ` Frank da Cruz
0 siblings, 0 replies; 8+ messages in thread
From: Frank da Cruz @ 1999-09-30 4:00 UTC (permalink / raw)
In article <7s56ir$7gs$1@isn.dac.neu.edu>, johnson@isn.dac.neu.edu says...
: We are converting from VMS to TRU64 (Digital UNIX). We have many
: mag tapes written by VMS in ANSI format. I'd like to be able to
: access them from TRU64 in a way that makes sense to the use community,
: i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
: In other words I need to have tools the users can use that gives them
: equivalent functionality on these VMS written ANSI tapes.
:
There are some ANSI tape utilities for Unix at the Kermit Project:
http://www.columbia.edu/kermit/other.html
Follow the link to "Tape utilities" and read the README.TXT file.
- Frank
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VMS ANSI mag tape on UNIX
1999-09-20 4:00 VMS ANSI mag tape on UNIX Chris Johnson
1999-09-20 4:00 ` Tim Shoppa
1999-09-30 4:00 ` Christian Krackowizer
@ 1999-10-03 4:00 ` peter
1999-10-04 4:00 ` Robert Koehler
2 siblings, 1 reply; 8+ messages in thread
From: peter @ 1999-10-03 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 1694 bytes --]
In comp.unix.osf.osf1 Chris Johnson <johnson@isn.dac.neu.edu> wrote:
: Hi all,
: We are converting from VMS to TRU64 (Digital UNIX). We have many
: mag tapes written by VMS in ANSI format. I'd like to be able to
: access them from TRU64 in a way that makes sense to the use community,
: i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
: In other words I need to have tools the users can use that gives them
: equivalent functionality on these VMS written ANSI tapes.
FreeBSD contains a utility for this : emulators/vmsbackup
According to the brief description "Reads VMS BACKUP tapes." it should do
what you want, never tried it though.
As teh software is distributed with source you should be able
to recompile it on your Digital UNIX machine. If not you'll have
to connect yout tapedrive to a freebsd machine.
FreeBSD currently has an early porting to alpha's, you might even
manage to install it on your alpha ?
: Does anybody know a way to accomplish this?
: Help GREATLY appreciated here. Thank you.
: ------------------------------------------------------------------------------
: Chris Johnson |Internet: johnson@isn.dac.neu.edu
: Assistant Director, Systems |Web: http://www.dac.neu.edu/dac/c.johnson
: Academic Technology Services |Voice: 617.373.4580
: Northeastern University, 39 RI |FAX: 617.373.8600
: 360 Huntington Ave. |If ignorance is bliss, why aren't there more
: Boston, MA., U.S.A. 02115 |happy people? Tea bag tag
: ------------------------------------------------------------------------------
--
--
Peter H�kanson peter (at) gbg (dot) netman (dot) se
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: VMS ANSI mag tape on UNIX
1999-10-03 4:00 ` peter
@ 1999-10-04 4:00 ` Robert Koehler
0 siblings, 0 replies; 8+ messages in thread
From: Robert Koehler @ 1999-10-04 4:00 UTC (permalink / raw)
peter@nospam.se wrote:
: In comp.unix.osf.osf1 Chris Johnson <johnson@isn.dac.neu.edu> wrote:
: : Hi all,
: : We are converting from VMS to TRU64 (Digital UNIX). We have many
: : mag tapes written by VMS in ANSI format. I'd like to be able to
: : access them from TRU64 in a way that makes sense to the use community,
: : i.e. I need to DIR them, COPY from and to, etc. or those equivalents.
: : In other words I need to have tools the users can use that gives them
: : equivalent functionality on these VMS written ANSI tapes.
: FreeBSD contains a utility for this : emulators/vmsbackup
: According to the brief description "Reads VMS BACKUP tapes." it should do
: what you want, never tried it though.
The ANSI tape standard is much more general than VMS BACKUP tapes. The
original poster didn't sound like he only wanted to read BACKUPs.
------------------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | Federal Sector
Flight Software Team | Civil Group
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1999-10-04 4:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-20 4:00 VMS ANSI mag tape on UNIX Chris Johnson
1999-09-20 4:00 ` Tim Shoppa
1999-09-20 4:00 ` Michael Kraemer
1999-09-20 4:00 ` Robert Koehler
1999-09-30 4:00 ` Christian Krackowizer
1999-09-30 4:00 ` Frank da Cruz
1999-10-03 4:00 ` peter
1999-10-04 4:00 ` Robert Koehler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox