Specifies the format to use when creating indexed files.
Syntax:
>>-.---.--IDXFORMAT--"integer"-------------><
+-/-+
Parameters:
- 0
- Default format for the operating system (identical to 8.)
- 1
- C-ISAM.
- 3
- Micro Focus default indexed file format.
- 4
- Optimized format for fast duplicate key handling.
- 5
-
Btrieve with ANSI
- 6
-
Btrieve without ANSI
- 8
- Large indexed file format.
- 9
- Indexed with single key, non-duplicate, key ordered records.
- 10
- Reserved.
- 11
- Mainframe print file format.
- 12-13
- Reserved.
- 14
- Heap file.
- 15
- ESDS
- 16
- ESDS-Big
- 17-255
- Reserved.
Properties:
Default:
|
IDXFORMAT"3"
|
Phase:
|
Syntax check
|
$SET:
|
Any
|
Dependencies:
Set to IDXFORMAT"integer" immediately by FILETYPE"integer".
Comments:
Existing files in any of the given formats are processed correctly without the need for this directive. This directive controls the format used when creating new files.
Setting the IDXFORMAT using this Compiler directive overrides the index format setting specified in the file handler configuration file.
Specifying 4 might make the files larger than their IDXFORMAT"3" equivalents.
Micro Focus Level II format files are compatible with Micro Focus products such as Level II COBOL, Professional COBOL V1.2, and VS COBOL Workbench versions up to and including V1.3.
You must not use the ANS85 directive to enable ANSI'85 behavior when using IDXFORMAT"2". However, you can use ANS85"SYNTAX" to enable ANSI'85 syntax.