Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!ncrlnk!ncrcae!hubcap!gatech!ncar!ames!amdcad!dwork From: dwork@amdcad.AMD.COM (Jeff Dwork) Newsgroups: comp.unix.questions Subject: Re: UNIX to IBM VM/CMS File Transfers ??? Keywords: UNIX VM/CMS communications Message-ID: <23226@amdcad.AMD.COM> Date: 12 Oct 88 19:47:49 GMT Article-I.D.: amdcad.23226 References: <60@h.cs.wvu.wvnet.edu> Reply-To: dwork@amdcad.UUCP (Jeff Dwork) Organization: Advanced Micro Devices Lines: 25 >In article <60@h.cs.wvu.wvnet.edu>, dymm@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.