Creating Files

The CREATE-FILE command is used to create a Normal or Foreign Database file or data section. The following is an outline of the procedure.

  1. For a normal file, decide whether it will use automatic file sizing.
  2. Select the modulo to determine the number of groups allocated to the file. For an automatically sized file, this will be the initial modulo.
  3. Create the file using CREATE-FILE with the selected modulo and the appropriate options.

If necessary, you can change the size of the file later. The topic Sizing Files provides an overview of file sizing and the things you should consider when deciding whether to choose automatic or fixed file sizing.

Files on Foreign Databases

If you are creating a Foreign Database file, you must first use the FDB-SET command to specify the required database. When you execute CREATE-FILE, the selected modulo is ignored. Commands to delete, copy, move or rename files created on a foreign database work in the usual way, but on the foreign database rather than on the local Reality database.

Note: The required foreign database must be online when you execute these commands.

Go to top button