Btrieve does not normally conform to ANSI standards but, by default, the Xfh2btr call conversion module makes the necessary calls to the Btrieve run-time system to force it to emulate ANSI behavior. You can, however, choose to operate in non-ANSI mode by setting the FILETYPE Compiler directive to FILETYPE"6".
In this mode of operation, each Micro Focus File Handler operation is mapped to the nearest Btrieve run-time call and no attempt is made to conform to ANSI standards:
| COBOL I/O Call | Btrieve Run-time System Call |
|---|---|
| OPEN | Open |
| CLOSE | Close |
| WRITE | Insert |
| READ | Get |
| START | Get |
| DELETE | Get/Delete |
| REWRITE | Get/Delete |
| UNLOCK | Unlock |
| ROLLBACK | Abort transaction |
| COMMIT | End transaction |