Including Data from Tape or Floppy Disk in Reports

The TAPE modifier can be used with any INFO/ACCESS modifier to retrieve data from tape and display it in reports. (The tape unit must be attached prior to using the TAPE modifier.) By adding the TAPE keyword to an INFO/ACCESS statement, the report uses the items from the file on tape, even if there is a data file on disk drive with the same name and containing the same items.

Type the following syntax to read the items from tape, using the ORDERS dictionary.

>LIST ORDERS CUST.ID DATE TOTAL.AMT TAPE

A report displays on the screen:

PAGE  1                                15:02:22  DD MMM YYYY

ORDERS.... Amount.... Date of Order

10121          $68.94 09/15/94

END OF LIST

 

Note that the file name ORDERS as specified in the statement identifies only the dictionary used to issue the report. It does not identify the file on tape.

See Also

Using mvBase Tape Units