Description
Programmatically attach Modifying Filing Systems (MFS) to specified tables.
Syntax
Set_MFS(tablename, mfslist, action)
Parameters
The Set_MFS subroutine has the following parameters.
Parameter | Description |
---|---|
tablename | Table to which to attach the MFS. |
mfslist | One or more (in a list) MFS to add to or remove from the table. |
action | Action to take, regarding the MFS list: |
1) Add the MFS list to the end of the chain (just before the Base Filing System (BFS). | |
2) Add the MFS list to the beginning of the chain. | |
3) Add the MFS list to as close as possible to the front of the chain (just after such system MFSs as PROTECT.MFS and SI.MFS). | |
4) Replace the MFSs currently attached to the table, with the list passed in mfslist. | |
5) Remove list passed in mfslist, from the table. | |
6) Remove all MFSs from the table. |
See also
Example
/* Adds RIGHTDEX.MFS to the CAR_ORDERS table, placing it just after system MFSs, in precedence. * Set_MFS("CAR_ORDERS", "RIGHTDEX.MFS",3) If Get_Status(ErrCodes) Then GoSub ErrorHandling End