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 (Windows) or
Reserved (UNIX)
- 6
-
Btrieve without ANSI (Windows) or
Reserved (UNIX)
- 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
- Extended ESDS
- 17
- Vision
- 18
- MySQL
- 19
- Oracle
- 20
- DB2
- 21
- RM
- 22-255
- Reserved
Properties:
Default:
|
IDXFORMAT"0"
|
Phase:
|
Syntax check
|
$SET:
|
Any
|
Dependencies:
Set to IDXFORMAT"integer" immediately by FILETYPE"integer".
DIALECT"RM" sets IDXFORMAT"21" immediately.
Comments:
By default, IDXFORMATs 17-21 are unavailable under Enterprise Server. You must ensure the ACUFH and ESACUFH configuration options are both set to ON to use these formats.
In cases where the INTEROP and IDXFORMAT settings conflict, the INTEROP setting will override the IDXFORMAT setting.
If you are using Fileshare, IDXFORMATs 17 and 21 do not provide transaction processing capabilities.
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.