Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!blake.acs.washington.edu!pjt From: pjt@yang.cpac.washington.edu (Larry Setlow) Newsgroups: comp.sys.apollo Subject: RWMT with Blocks>16K or Opening a Stream to a nil file Keywords: AEGIS. Foo. Message-ID: Date: 20 Jun 89 19:10:48 GMT Sender: news@blake.acs.washington.edu Distribution: comp Organization: Center for Process Analytical Chemistry, U of Wash, Seattle Lines: 21 I have an unlabelled EBCDIC (bleagh) magtape containing one file with blocks of length 17700. RWMT barfs due to the >16K block size, but that's okay, we can use cptape (unsupported) to get the data from the tape onto a disk. But alas! The file on the disk is type nil and refuses to be opened from C with open(fn,O_RDONLY), even though The Manual says it should only care if I want to write to it. So: Anybody know how to 1) get around the 16K block problem with rwmt? 2) change the type of a nil file (ld -a shows "file nil" as the first two fields)? 3) open a stream to read a file of type nil? As you may have gathered, we have no DOMAIN/IX, and are at SR9.7. Any help will earn my Eternal Gratitude (patent pending), and a warm feeling (unless I'm just being stupid, in which case, you will earn a smugly superior feeling). E-mail, please -- don't wake the neighbors. Larry Setlow pjt@yin.cpac.washington.edu