Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A series of MFS calls -- examples include CREATE.MEDIA, OPEN.MEDIA, and WRITE.MEDIA -- provide MFS programmers with access to media-related file functions.  Media calls are defined as those that access the media map for a volume when executing.

...

In addition to the basic function of mapping OpenInsight files to their actual location, filing systems can use media maps for a variety of additional purposes. For example, most filing systems use media maps to maintain information about what MFSs are installed for a file (see the topic Manual MFS Installation in the chapter Installing an MFS earlier in this chapter.) However, this is a function of the BFS itself, and restrictions may apply for individual filing systems.

...

From the BASIC+ or the System Monitor, a media map is accessible via the logical file name REVMEDIA. This name is used for all media maps, regardless of volume or filing structure.

To access the media map, a user attaches the logical file name REVMEDIA for the volume being accessed. For example, to attach the media map for the default (DATAVOL) volume, execute this System Monitor command:

...

The output from a successful ATTACH_TABLE is shown below:

From this point, the media map can be accessed using any file or record-oriented command.  For example, rows in the REVMEDIA table can be edited using the System Editor, as shown below:

...