MAGREP -- Report on PCIDSK/Text Files on Tape

Prints tape header information for PCIDSK image database files and/or text files stored on PCI interchange format magnetic tapes written by MAGWR program.

See Also: MAGWR

@endpace

PARAMETERS

MAGREP is controlled by the following global parameters:

Name     Prompt                                  Count     Type
STARTFIL Start File on Tape                      0-1       Int
REPORT   Report Mode: TERM/OFF/filename          1-64      Char

STARTFIL

Specifies the start file number on tape from which to start to generate a report on. If STARTFIL is greater than one, the program rewinds the tape and advances to the specified file.

 EASI>STARTFIL=n              | print report for nth file on tape
 EASI>STARTFIL=               | print report for all files on tape

REPORT

Specifies the file to which to append the generated report.

 EASI>REPORT="filename"
The following names have special meaning:

 EASI>REPORT="TERM"     | generates reports on your terminal
 EASI>REPORT="DISK"     | generates reports on file "IMPRPT.LST"
 EASI>REPORT="OFF"      | usually cancels report generation, but
                        | MAGREP forces REPORT to terminal output

DETAILS

MAGREP prints header report for files stored on PCI interchange format tapes. It extracts data for file headers and generates a report on the report device. File type descriptors are listed for each file, PCIDSK for image file, and TEXT for ASCII file. For an image file, the size of file, the number of channels, the number of pixels per line, and the number of lines in image are also listed.

A report device (REPORT parameter) must be selected. If the report device is OFF, MAGREP will force its output to the user's terminal.

 A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE MAGREP CAN BE
 RUN.  CLEANING THE TAPE HEADS IS RECOMMENDED TO MINIMIZE THE
 CHANCE OF TAPE READ ERRORS.

EXAMPLE

Print PCI interchange tape format header report to terminal:

 EASI>REPORT = "TERM"
 EASI>STARTFIL =
 EASI>RUN MAGREP


  File  number:    1
  File type   : TEXT
  File name   : EX1.FMA
  Date        : 12:20  12-JAN-89
  Comment     : PACE programming example
+------------------------------------------------------------

  File  number:    2
  File type   : PCIDSK
  File name   : MASTER.PIX
  Date        : 16:20  16-JAN-89
  Comment     : PACE kernel testing image

  Size: 19.85 Mbytes    3 Channels by 1280 Pixels by 5072 Lines
+------------------------------------------------------------

                *** End of tape ***

About PCI Help Gateway