Subject: | |
From: | |
Reply To: | |
Date: | Thu, 4 May 1995 03:02:00 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Steve Elmer ([log in to unmask]) wrote:
: Marshall I. Medoff ([log in to unmask]) wrote:
: : Help!
: : I have a file created on a Unix machine that I need to read on my
: : MPE/iX 5.0 machine. The file is on a DDS Tape. It was written using
: : a specific application program not using tar, cpio or dd. The logical
: : record is 61 bytes with the 61st byte being a line feed (0Ah). I have
: : tried everything in my arsenal (COBOL) to read this tape. Can anyone
: : offer a suggestion as to what settings to use for file equations, file
: : open options, and file access options? I am also not afraid to use
: : POSIX if someone were to offer a suggestion in that direction.
: It sounds like your tape is in a simple record format. The FCOPY command
: should be able to handle this for you. You will need a file equation to
: make FCOPY talk to the tape drive and the target disk file should have
: rec=-60,,f,ascii.
I was wondering if the FILE equations should look more like this:
FILE t;dev=tape;cctl;rec=-60,,f,ascii
BUILD tapedata;cctl;rec=-60,,f,ascii;disc=10000
FCOPY from=*t;to=tapedata
: I have never done this myself, so I provide no warranty on this advice.
and I also provide no warranty.
I remember someone talking about odd byte records on tape being not
a good thing, maybe someelse can respond.
: From the shell, you may also be able to do this by creating a device link
: from /dev/tape to your tape drive. Then you could probably do
: cat /dev/tape >myfile
: Again, I haven't done this and I don't know if that's the proper idiom.
: Steve
To make a device link from the shell, try: mknod /dev/tape c 0 7. 7 is
the LDEV number of your tape.
Have fun and please report your success or failure.
Rick Ehrhart
[log in to unmask]
|
|
|