From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: Fri, 27 May 2011 00:54:56 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <940bm5Fcc3U1@mid.individual.net> <941ob1Fre1U1@mid.individual.net> <9425gcFhnpU1@mid.individual.net> <942hghFhukU1@mid.individual.net> <944mhrF19qU1@mid.individual.net> <8muWrc1fNvZf@eisner.encompasserve.org> Injection-Date: Fri, 27 May 2011 00:54:56 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="VhYZ3ZDVkI1WvjO/5Jzlvw"; logging-data="21113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I8jKxozoHhXwF7YhlEYls" User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) Cancel-Lock: sha1:xXwcWp3TuF2RW5FGRCyfk3/lUGk= Xref: g2news1.google.com alt.sys.pdp11:2197 comp.sys.dec:3413 vmsnet.pdp-11:608 In vmsnet.pdp-11 Bob Koehler wrote: (snip) > I've done a lot of direct access in Fortran, and never had to worry > about the disk block size. I was suprized to discover that the > IBM Fortran H Extended Enhanced I/O subsystem would do direct access > on a veriable-length record file, but not a fixed length record file. > Perhaps IBM figured they only had to do the harder part. I am surprised, too. The Fortran G and H direct access requires a fixed record length. Just to be sure, while the record length is fixed, you are allowed to choose any length you want between 1 and the disk track size. It just uses BDAM, which goes directly to the disk hardware, which has the ability to format the track to any record length you want. On first open, the system formats the whole file to the specified length. I am pretty sure that is still supported, though there is a recommendation to use VSAM instead. The disk hardware writes blocks similar to the way data is written on 9-track tape. Well, not exactly. The format is called CKD, Count-Key-Data. Each block has a count field (with key length and data length), an optional key (for keyed access filed), and data field. In between, there is an inter-block gap, just like on tape. BDAM uses unblocked files, so one physical block per record. VSAM formats the CKD disk in fixed size blocks, such as 4K, and then uses the resulting data similar to other fixed block disk systems. -- glen