From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,64b75475f76d6233 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,64b75475f76d6233 X-Google-Attributes: gidfee84,public From: Tim Shoppa Subject: Re: VMS ANSI mag tape on UNIX Date: 1999/09/20 Message-ID: <37E5E9C2.1EDC5D73@trailing-edge.com>#1/1 X-Deja-AN: 527406085 Content-Transfer-Encoding: 7bit References: <7s56ir$7gs$1@isn.dac.neu.edu> Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ffx2nh5.news.uu.net X-Trace: ffx2nh5.news.uu.net 937828882 23705 63.73.218.130 (20 Sep 1999 12:01:22 GMT) Organization: Trailing Edge Technology Mime-Version: 1.0 NNTP-Posting-Date: 20 Sep 1999 12:01:22 GMT Newsgroups: comp.sys.dec,comp.unix.osf.osf1 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