Programmer's Guide to File Handling
Table of Contents
Index
Chapter 15: Handling Btrieve Files
15.1 Handling Btrieve Files from COBOL
15.1.1 Calling Xfh2btr
15.1.1.1 CALLFH Compiler Directive
15.1.1.2 FILETYPE Compiler Directive
15.1.1.3 External Filename Mapping
15.1.2 Xfh2btr Environment Variables
15.1.2.1 BTRPAGE Environment Variable
15.1.2.2 BTRMAXREC Environment Variable
15.1.3 Differences Between Extfh and Xfh2btr
15.1.3.1 Keys
15.1.3.2 Locked Record Detection
15.1.3.3 OPEN OUTPUT Operations
15.1.3.4 Record Lengths
15.1.3.5 Record Reading Position
15.1.3.6 Transaction Processing
15.1.3.7 Write-locks
15.1.4 File Operations Without ANSI COBOL Conformance
15.1.5 Xfh2btr Configuration File
15.1.6 Trace Option
15.2 Handling COBOL Files from Btrieve
15.2.1 Differences between Btrieve and Extfh
15.2.1.1 Data Compression
15.2.1.2 File Operations
15.2.1.3 Indices
15.2.1.4 Key Lengths
15.2.1.5 Key Types
15.2.1.6 Page Size
15.2.1.7 Record Size
15.2.1.8 Stat Operation
15.3 Btrieve Error Codes
15.3.1 Summary of COBOL Status Codes