CONFIGURE.FILE |
![]() ![]() ![]() |
The CONFIGURE.FILE command changes the configuration of a file.
Format
CONFIGURE.FILE {DICT} file.name parameters
where
Parameters which are not specified retain their existing values.
The CONFIGURE.FILE command adjusts the settings of one or more file parameters. Changes to the file type or group size result in immediate restructuring of the file and require exclusive access. Changes only affecting other dynamic file parameters will occur steadily as the file is updated unless the IMMEDIATE option is used.
Note that converting a file from case sensitive ids to case insensitive ids will result in loss of data if the file contains records that contain two or more record using keys with alternative casing of the same text.
The NO.RESIZE option disables the normal automatic split/merge operations that occur in dynamic files. The IMMEDIATE option can be used later to force the deferred splits/merges to be applied. See the description of dynamic files for more details on the use of this feature.
The resizing operations of the IMMEDIATE option are fully interruptable and can be performed while the file is in use.
Examples
CONFIGURE STOCK MINIMUM.MODULUS 200 SPLIT.LOAD 75
This command changes the minimum modulus and split load percentage of the STOCK file. The actual change will take effect as the file is updated by future access.
CONFIGURE STOCK DIRECTORY
This command changes the file to be a directory file. |