UNIX to IBM VM/CMS File Transfers ???
Jeff Dwork
dwork at amdcad.AMD.COM
Thu Oct 13 05:47:49 AEST 1988
>In article <60 at h.cs.wvu.wvnet.edu>, dymm at b.cs.wvu.wvnet.edu (David Dymm) writes:
>|
> I am looking for a UNIX utility that can create IBM format
> tapes on my UNIX system.
>
>[etc]
This is not exactly un*x but it may be useful at times.
You can read ANY tape on VM/CMS if it has physical records that are
<= 32760 bytes. Use the following:
Mount the tape unlabeled as 181.
FILEDEF IN TAP1 (RECFM U LRECL 32760 BLOCK 32760
FILEDEF OUT DISK foo bar a (RECFM U LRECL 32760 BLOCK 32760
MOVEFILE IN OUT
This will result in a CMS V-format file with the data from the first file
on the tape. Each line of the file is a physical record from the tape.
Repeat the filedef of OUT and the MOVEFILE command to read subsequent files.
The COPY command does a good job of character conversion. You will need to
write a program to look for end-of-lines and rewrite your file.
It's not the cleanest solution, but it's cheap.
More information about the Comp.unix.questions
mailing list