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 have never done this myself, so I provide no warranty on this advice.
 
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