An MFS may occasionally require access to a file while it is processing. For example, many applications require read-before-write verification. As another example, an audit trail MFS will need to write its audit information to an audit file.

There are two options for accessing files from within an MFS.

  • Access files directly, by using MFS calls.

  • Execute BASIC+ file I/O commands such as READ and WRITE.

Different circumstances dictate the choice of one option or another. Briefly stated, direct calls are necessary when accessing the current file -- the file for which the MFS has trapped a file operation. Access to files other than the current file is best handled using BASIC+ commands.

  • No labels