From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.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: Thu, 26 May 2011 23:56:29 +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> Injection-Date: Thu, 26 May 2011 23:56:29 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="VhYZ3ZDVkI1WvjO/5Jzlvw"; logging-data="28352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mjq9QnBeYUbWndrXHg3W2" User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) Cancel-Lock: sha1:3ui94i4WDglkhoUhuJMBwYmhj2w= Xref: g2news1.google.com alt.sys.pdp11:2195 comp.sys.dec:3411 vmsnet.pdp-11:606 In vmsnet.pdp-11 Rich Alderson wrote: (snip, I wrote) >> It has been a while since I thought about this. I did used to read >> EBCDIC tapes from OS/360 on TOPS-10, with my own conversion program >> written in Fortran. I don't remember how the blocking came out now, >> but the favorite format (RECFM) at the time was fixed length 80 >> byte records, blocked at something like 3200 bytes. >> DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200) >> I believe it comes out four bytes per PDP-10 word. > Yes. However, there are no system calls for *disk* data capable of > treating a file as anything other than blocks of 128 words. The > content is then either 7 ASCII characters packed per word, or 36 bits. > No other choices are available. > In fact, in order to write your 4 8-bit bytes back to tape such that > it reads natively on the 360/370, you must open the file as 36-bit > data, then programmatically insert an 8-bit byte pointer into the > file descriptor block allocated by the OPEN call. (Well, technically, > you could open it as 7-bit ASCII data and do the same thing. That > just seems more wrong, somehow.) That was all in Fortran, and about 35 years ago. I wasn't so sure how much was done by the Fortran library, and how much by the OS. Also, it was using old tapes and the always unreliable 800 BPI NRZI coded tape. I don't remember now if I ever wrote tapes to bring back to S/370. About two years later the PDP-10 was replaced with a VAX, and I had to learn how to write AL tapes on the 370. The non-obvious problem was that OS/VS2 knew how to read/write/mount AL tapes, but ASP (later JES3) did not. After much discussion, I learned about deferred mounting such that ASP didn't have to see the tape. -- glen