Text File

Aucbvax.5500 fa.info-vax utzoo!decvax!ucbvax!info-vax Thu Dec 17 12:20:11 1981 reading IBM tape on VMS >From decvax!duke!unc!lynn@Berkeley Thu Dec 17 09:28:19 1981

I have two suggestions for reading a tape with DCB=(LRECL=80,BLKSIZE=3920).

1. Mount the tape foreign, with a large blocksize. mt:/f/block=3920 mt: temp.tmp

This puts the file into temp.tmp as 3920 byte records, which is not immediately useful. However, I think TECO can read such a file and insert the record delimiters every 80 characters.

2. Fortran under VMS can in fact read amazing things. Mount the tape foreign, and either open the file as fixed length 3920 byte records (FORMATTED), or bypass all of the record management stuff by calling SYS directly. (That gets a little complicated, but if you need more information you can call me.)

Lynn F. TenEyck University of North Carolina at Chapel Hill (919) 966-5045 duke!unc!lynn

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.