Name Prompt Count Type FILO Output File Name 0-64 Char STARTFIL Start File on Tape 0-1 Int
EASI> FILO = "filespec"Image files are always named in lower case, whereas text files are always named in upper case. This accommodates the case sensitivity of UNIX.
EASI>STARTFIL=1 | read first file on tape EASI>STARTFIL=n | read nth file on tape
The parameters FILO and STARTFIL interact in various ways to provide flexibility in reading.
If FILO = "filespec" and STARTFIL = n, the nth file on tape is written to a disk file called "filespec". This file is automatically created on disk.
If FILO = "" and STARTFIL = n, the nth file on tape is written to a disk file whose name is stored in the file header on tape. This file is automatically created on disk.
If FILO = "" and STARTFIL = (unspecified), then all files stored on tape are transferred to disk. Each file is named using the name held in the header for each file.
FILO = "filespec" and STARTFIL = (unspecified) is not a valid combination of values, and the program exits with an error.
Image files are always named in lower case, whereas text files are always named in upper case. This accommodates the case sensitivity of UNIX.
Files can span tapes. MAGRD will prompt the user to mount the next tape.
A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE MAGRD CAN BE RUN. CLEANING THE TAPE HEAD IS RECOMMENDED TO MINIMIZE THE CHANCE OF TAPE READ ERRORS.
Read the 1st file from tape to a file called READ.TXT:
EASI>FILO = "READ.TXT" EASI>STARTFIL = 1 EASI>RUN MAGRDRead the 2nd file from tape to a file, using the name LANDSAT.PIX stored on the tape:
EASI>FILO = "" EASI>STARTFIL = 2 EASI>RUN MAGRDRead all three files off tape, naming each one using the file name stored on the tape:
EASI>FILO = "" EASI>STARTFIL = 0 EASI>RUN MAGRDThis is an error:
EASI>FILO = "DEMO.EAS" EASI>STARTFIL = 0 EASI>RUN MAGRD