Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Tim Shoppa <shoppa@trailing-edge.com>
Subject: Re: VMS ANSI mag tape on UNIX
Date: 1999/09/20	[thread overview]
Message-ID: <37E5E9C2.1EDC5D73@trailing-edge.com> (raw)
In-Reply-To: 7s56ir$7gs$1@isn.dac.neu.edu

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



  reply	other threads:[~1999-09-20  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-20  4:00 VMS ANSI mag tape on UNIX Chris Johnson
1999-09-20  4:00 ` Tim Shoppa [this message]
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
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