Programmer's Guide to File Handling

Index

Table of Contents

!  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

!

$ character in filename  *
& in environment variables  *
9/068 error status  *
9/100 error status  *

A

Access mode, Callable File Handler  *
Alternate keys  * , * , *
ANS85 Compiler directive  *
ANSI'74, file status  *
ANSI'85
        file status  * , * , *
ASSIGN Compiler directive  * , *
Assigning files  *
        dynamically  * , *
        externally  * , *
        statically  *
Automatic record locking
        multiple  *
        single  *

B

Btr2xfh
        call converter  *
        data compression  *
        link module  *
Btrieve
        btrcalls.dll  *
        BTRMAXREC  * , *
        BTRPAGE  * , *
        _BTRV  *
        call conversion modules  *
        compatibility with Extfh  *
        converting files  * , *
        current record pointer  *
        DELETE operations  *
        example configuration  *
        file operation differences with Extfh  *
        file operations  *
        key length  *
        non-ANSI conformance  *
        open output operations  *
        Rebuild  * , *
        record lengths  *
        REWRITE operations  *
        stat operation  * , *
        trace option  *
        transaction processing  *
        WRITE operations  *
Buffer size, files  *
Byte stream file routines  *
        close  *
        create  *
        flush  *
        free record lock  *
        get record lock  *
        open  *
        read  *
        sample program  *
        test record lock  *
        write  *

C

C-ISAM
        Callable File Handler  *
        cixfile interface  *
        converting files  * , *
        file naming convention  *
        IDXFORMAT Compiler directive  *
        linking with  *
        locked record notification  *
        mfisamv4.o module  *
        mfisamv5.o module  *
        Rebuild  * , *
        record length  *
        V4.10  *
        V5  *
Call-by-name routines
        See CBL_routines
        file handling  *
Call-by-number routines  * , * , * , * , * , * , *
        file handling  *
Callable File Handler  *
        calling  *
        calling from non-COBOL programs  *
        CLOSE  *
        COMMIT  *
        configuration flags  *
        configuring  *
        data structures  * , *
        DELETE  *
        DELETE file  *
        environments  *
        File Control Description  *
        file name area  *
        file organizations  *
        File Position Indicator  *
        Key Definition Block  *
        OPEN  *
        operation codes  *
        operations  *
        READ  *
        Record area  *
        Relative Byte Addressing  *
        REWRITE  *
        ROLLBACK  *
        special operation codes  *
        standard operation codes  *
        START  *
        STEP  *
        trace facility  *
        UNLOCK  *
        WRITE  *
Callable Sort Module  *
        call interface  *
        FCD  *
        file definition block  *
        function code parameters  *
        invoking  *
        key definition block  *
Callable sort module, linking  *
CALLFH Compiler directive  * , * , * , * , * , * , *
CALLFH compiler directive  *
CALLSORT Compiler directive  *
CBL_CHANGE_DIR  *
CBL_CHECK_FILE_EXIST  *
CBL_CLOSE_FILE  *
CBL_COPY_FILE  *
CBL_CREATE_DIR  *
CBL_CREATE_FILE  *
CBL_DELETE_DIR  *
CBL_DELETE_FILE  *
CBL_FLUSH_FILE  *
CBL_FREE_RECORD_LOCK  *
CBL_GET_RECORD_LOCK  *
CBL_JOIN_FILENAME  *
CBL_LOCATE_FILE  *
CBL_OPEN_FILE  *
CBL_READ_DIR  *
CBL_READ_FILE  *
CBL_RENAME_FILE  * , *
CBL_SPLIT_FILENAME  *
CBL_TEST_RECORD_LOCK  *
CBL_WRITE_FILE  *
CCI
        Fileshare  *
        used by Fileshare  *
CCI errors, Fileshare  *
CCITCP2 environment variable  *
Close file operation
        Callable File Handler  * , *
CLOSE REEL  *
cobcallfhutil routine  *
COBDATA environment variable  * , *
COBDIR environment variable  *
COBEXTFHBUF environment variable  *
COBFSTATCONV Compiler directive  *
COBFSTATCONV environment variable  * , * , *
cobol.dir  *
COBPBTRV module  *
COBRBTRV module  *
COBSQL  *
        and Informix  *
        and Oracle  *
        and Sybase  *
        COBOL directives  *
        cobol.dir  *
        cobsql.dir  *
        common problems  *
        CP  *
        directives  *
        END-C  *
        ENDP  *
        error messages  *
        examples  *
        operation  *
        overview  *
        specifying directives  *
        troubleshooting  *
cobsql.dir  *
cob_util_last_error data item  *
COMMIT statement  * , * , * , * , *
        Callable File Handler  *
Compiler Directive
        ANS85  *
        DATACOMPRESS  * , *
        IDXFORMAT  *
        KEYCOMPRESS  * , *
        MS  *
        OPTIONAL-FILES  *
        RECMODE  *
        RM  *
        SEQUENTIAL  *
Compiler Directives
        CALLFH  *
        SEQUENTIAL  *
Compiler directives
        ASSIGN  * , *
        CALLFH  * , * , * , *
        CALLSORT  *
        DETECTLOCK  *
        FILETYPE  *
        WRITELOCK  * , *
Component count  *
Compression
        Btr2xfh  *
        data  *
        data and key  *
        DATACOMPRESS  *
        duplicate keys  *
        dynamically calling a routine  *
        flags  *
        key  *
        KEYCOMPRESS  *
        leading characters  *
        linking a routine  *
        Micro Focus routines  *
        run-length encoding  *
        trailing spaces  *
config.sys, FILES parameter  *
Current record pointer
        See File

D

Data File Editor  *
Data File Filter  *
Data recovery  *
Data structures, Callable File Handler  *
Database management systems
        Informix  *
        Oracle  *
        Sybase  *
Database reference file  *
        maintenance  *
Database sequence numbering  *
DATACOMPRESS Compiler directive  * , * , * , * , *
DB2  * , *
dbtrv.obj module  *
DD_
        filename mapping  *
        prefix  *
        prefixed environment variable  *
Delete directory, CBL_DELETE_DIR  *
DELETE file, Callable File Handler  *
Delete file, CBL_DELETE_FILE  *
Delete record, Callable File Handler  *
Demonstration programs, sharing files  *
DETECTLOCK Compiler directive  *
Device names  * , *
Directives
        CALLFH  *
        DATACOMPRESS  * , *
        KEYCOMPRESS  * , *
Directory routines
        change directory  *
        create directory  *
        delete directory  *
        get current directory  *
        search for a file  *
Disk space, saving  *
Drive routines
        determine current drive  *
        find drive  *
        set current drive  *
Duplicate Keys  *
Duplicate keys
        compression  *
        Rebuild  *
Dynamic
        filename assignment  * , *

E

EBCDIC, Callable File Handler  *
Editing, data files  *
Effective key length  *
Embedded SQL  *
        DB2  *
Environment variables
        & character  *
        BTRMAXREC  *
        BTRPAGE  *
        CCITCP2  *
        COBDATA  * , *
        COBDIR  *
        COBEXTFHBUF  *
        COBFSTATCONV  * , * , *
        dd_ prefix  *
        EXTFHBUF  *
        file assignment  *
        filename mapping  *
        FSCOMMS  *
        >> character  *
        IDXDATBUF  * , *
        << character  *
        MFEXTMAP  *
        named pipes  *
        pipes  * , *
        setting using external file assignment  *
        ulimit  *
        | character  *
Error messages, Rebuild  *
error messages, COBSQL  *
Errors
        Fileshare  *
        Fileshare transaction processing  *
        Rebuild  *
Example
        Btrieve configuration  *
        Rebuild  *
Expand path  *
Extended file status  * , *
Extension
        filename  * , *
        spaces  *
External File Handler
        See Callable File Handler
External File Mapper
        file structure  *
        mapper file location  *
External filename assignment  * , *
        setting environment variables  *
External files  *
ExtFH  *
extfh.cfg  *
EXTFHBUF environment variable  * , *
Extsm
        See Callable Sort Module
        call interface  *
        FCD  *
        file definition block  *
        floating-point keys  *
        function code parameters  *
        invoking  *
        key definition block  *
        linking  *

F

FCD
        Callable File Handler  *
        Callable Sort Module  *
FCDREG Compiler directive  *
fhconvert utility  *
fhcreate utility  *
fhedit utility  *
fhinfo utility  *
fhix.o  *
fhix.o object module  *
FHRdrPwd module  *
fhrebuild utility  *
FHRedir  *
        FHRdrPwd module  *
        fhrdrpwd.o  *
        fhredir.cfg  *
Fhredir, configuration  *
fhreorg utility  *
fhvalidate utility  *
fhxscomp.o  *
File
        altering an index  *
        buffer size  *
        buffers  * , *
        Byte stream I/O  *
        conversion  * , * , *
        corrupt index  *
        creating an empty indexed file  *
        current record pointer  *
        file position indicator  *
        format  *
        format conversion  *
        handle  * , *
        index  *
        index reorganization  *
        inspecting for consistency  *
        locking  * , * , *
        mapping  *
        maximum size  *
        naming conventions  * , *
        obtaining information about  *
        organizations  *
        reindexing  *
        search order  *
        striping  *
        structures  *
        terminator  *
File Control Description, Callable File Handler  *
File Handler Utilities
        errors by status value  *
        file specific errors  *
        LEVEL II file errors  *
        Line sequential file errors  *
        Relative file errors  *
        Sequential file errors  *
        X/Open file errors  *
File handler utilities  *
        C-ISAM file errors  *
        calling from COBOL  *
        default file type parameters  *
        error conditions  *
        error handling  *
        file keys  *
        index block size  *
        invoking  *
        migrating to Rebuild  *
        statically linked executable files  *
        using standard input  *
File handling directive
        ANS85  *
        ASSIGN  *
        CALLFH  *
        DATACOMPRESS  *
        IDXFORMAT  *
        KEYCOMPRESS  *
        MS  *
        OPTIONAL-FILE  *
        RECMODE  *
        RM  *
        SEQUENTIAL  *
File header record, multiple reel  *
File mapper
        See External File Mapper
File position indicator
        Btrieve  *
        Callable File Handler  *
File routines
        check file  *
        copy file  *
        delete file  *
        locate file  *
        rename file  *
File status  * , *
        altering  *
        alternate status tables  *
        ANSI 85  *
        ANSI'74  *
        ANSI'85  * , *
        {B}filestat.c{D} source file  * , *
        changing  *
        checking  *
        code tables  *
        conventions  *
        defining  *
        displaying items  *
        error switch Q  *
        extended  *
        IBM mainframe codes  *
        locked file  *
        locked record  *
        Microsoft  *
        Microsoft COBOL V2  * , *
        RM  *
        RM/COBOL  * , *
        sharing files  *
        type  *
File types
        external  *
        fast access  *
        indexed  *
        line sequential  *
        optional  *
        random access  *
        relative  *
        sequential  *
File-Control paragraph  *
Filename  *
        $ character in  *
        Callable File Handler  *
        COBOL  *
        extension  * , *
        Fileshare  *
        format  * , *
        global mapping  *
        HPFS  *
        join  *
        mapping  *
        NTFS  *
        split  *
Filename mapping, Btrieve  *
Files
        header  *
        structures  *
Fileshare
        9/068 error status  *
        9/100 error status  *
        /af option  * , *
        /ap option  * , *
        CCI  * , *
        CCI errors  *
        ccitcp2  *
        client  *
        /cm option  * , * , *
        communications  * , * , *
        configuration file  *
        /d option  * , *
        data and key compression  *
        database file  *
        database reference file  * , *
        database sequence numbering  *
        default protocols  *
        /e option  *
        error message  *
        error processing  *
        /f option  *
        FHRdrPwd module  *
        FHRedir  *
        file information  *
        filename mapping  *
        forcing updates  *
        /fs option  *
        getting started  *
        /i option  *
        /k option  *
        /l option  *
        /lc option  * , *
        linking  *
        logon validation  *
        /m option  *
        manager  *
        monitor  *
        /nu option  *
        /o l option  *
        /o s option  * , *
        on Novell NetWare  *
        /p option  *
        password file  *
        password system  *
        performance considerations  *
        /pf option  * , *
        /r option  *
        record locking  *
        recovering data  *
        recovery log  * , *
        restrict access  *
        rollforward recovery  *
        Run-time errors  *
        /s option  * , * , *
        security  * , *
        server  *
        server name  *
        single user mode  * , *
        static link  *
        status calls  *
        stopping  * , *
        striping  *
        supervisor password  *
        /t option  * , *
        /tr option  * , * , *
        trace option  *
        transaction processing  * , *
        transaction processing errors  *
        user logoff  *
        user supplied validation module  *
        user-ID FSVIEW  *
        version control  *
        virtual file handler  *
FILETYPE Compiler directive  *
FSCOMMS environment variable  *
FSMGR, call interface  *
fsmgr  *
        FSMGR module  *
        FSMGR.CTL  *
FSSecLog module  *
FSSecOpn module  *
FSView  *
Fsview  *
        change server  *
        closing files  *
        communication information  *
        communications protocol  *
        control options  *
        database information  *
        date formats  *
        exiting  *
        file information  *
        FSMGR call interface  *
        FSMGR.CTL file  *
        help  *
        information option  *
        invoking  *
        log file  *
        monitoring a different server  *
        password access  *
        shutting down a Fileshare server  *
        shutting down a server  *
        supervisor password  *
        user information  *
FS_JOIN_FILENAME  *
FS_LOCATE_FILE  *
FS_SPLIT_FILENAME  *
fs_status  *

G

G RTS switch  *
Global file mapping  *
>> character
        and named pipes  *
        and pipes  *
>> character and environment variables  *

H

Header record, multiple reel files  *
Hex Edit  * , *
High Performance File System  * , *
Host variables, Embedded SQL using DB2  *
HOSTSTAT, program  *

I

I/O buffer size  *
IBM, DB2  *
IDXFORMAT Compiler directive  *
IDXFORMAT"4"  * , * , * , *
IDXFORMAT"4" format files  *
IDXFORMAT"8"  * , *
IDXFORMAT"8" format files  *
Indexed files  * , *
        altering an index  *
        format  *
        keys  *
        large  *
        locking  *
        reorganization  *
        sparse keys  *
        using  *
Informix  * , *
Integrated preprocessor, XDB  *

J

Join filename  *

K

Key
        alternate  *
        compression  * , * , *
        duplicates  *
        flags  *
        length in Btrieve  *
        maximum number  * , *
        types for Btr2xfh  *
Key Definition Block
        Callable File Handler  *
        Component Definition Area  * , *
        Global Information Area  *
        Key Definition Area  *
Key definition block, Callable Sort Module  *
Key of reference  *
KEYCOMPRESS Compiler directive  * , * , * , *
Keys, component count  *

L

Large indexed files  *
/lc option  *
Leading character compression  *
LEVEL II COBOL files  * , *
LEVEL II format files  *
libcobol.a  *
libisam.a library  *
Limits, file handling  *
Line sequential files  * , *
        locking  *
Linking
        Extsm  *
        Fileshare  *
Locate file  *
Lock mode flags  *
Locked records, detection  *
Locking
        default  *
        indexed files  *
        line sequential files  *
        record sequential files  *
        records  *
        relative files  *
        sequential files  *
Logical filenames, mapping  *
<< character
        and named pipes  *
        and pipes  *
<< character and environment variables  *

M

Manual record locking
        multiple  *
        single  *
Mapper
        See External File Mapper
Mapping
        filenames  * , *
Maximum
        file size  *
        nesting  *
        number of keys  * , *
        number of sort keys  *
        record size  * , *
        sort key size  *
Memory, management  *
Mfextmap  *
MFEXTMAP environment variable  *
mfextmap.dat file  *
mfisam.o module  *
mfisamv4.o  *
mfisamv5.o  *
Mfsort
        example usage  *
        field types  *
        file organization  *
        instruction statements  *
        invoking  *
        key statement  * , *
        mfsort.exe  *
        record statement  * , *
        sort fields  *
        sort workfile  *
Microsoft, compatibility  *
Microsoft COBOL V2
        file status  * , *
Microsoft SQL Server  *
Migrating to Rebuild  *
MS Compiler directive  *
mudemo.cbl  *
Multi-user file handling  *
Multiple record locking
        automatic  *
        manual  *
Multiple reel files  *
        header record  * , *

N

N RTS switch  * , *
Named pipes
        environment variable  *
        >> character  *
        << character  *
        | character  *
National Language Support  *
Nesting, limits  *
NetWare, Fileshare  *
Networks, file handling limits  *
New Technology File System  *
NLS  *
NTFS  *
Nulls
        disable insertion  *
        enable insertion  *
Nulls in line sequential files  *

O

/o s option  *
ODBC  * , *
OPEN
        Callable File Handler  * , *
OPEN OUTPUT, Btrieve  *
Operation Codes, Callable File Handler  *
Optimizing, file opens  *
Optional file  *
OPTIONAL-FILE Compiler directive  *
Oracle  *

P

Page size  *
Parameter file, Rebuild  *
Password system, Fileshare  *
Path, expand  *
Pathname  * , *
PC_FIND_DRIVES  *
PC_READ_DRIVE  *
PC_SET_DRIVE  *
Performance, Fileshare  *
Physical filenames, mapping  *
Pipes
        environment variables  *
        >> character  *
        << character  *
        named  *
        | character  *
Precompiler services  *
Prime key  *
Protecting data  * , *

Q

Q RTS switch  *

R

READ, Callable File Handler  *
READ statement, locking  *
Rebuild  *
        command line  *
        duplicate keys  *
        error messages  *
        errors  *
        examples  *
        information  *
        invoking  *
        key of reference  *
        key structure  *
        migrating from the file handler utilities  *
        options  *
        parameter file  *
        record count  *
        redirection  *
        warning messages  *
RECMODE Compiler directive  *
Record
        current record pointer  *
        delimiter  *
        length for Btrieve  *
        maximum size  *
        pointer  *
        reading position  *
        terminator  * , *
Record area, Callable File Handler  *
Record length
        current  *
        maximum  *
        minimum  *
Record lock  * , *
        automatic  * , * , *
        detection  *
        manual  * , *
        multiple  *
        releasing  *
        single  * , *
        timeout  *
Record sequential files  * , *
        locking  *
Recording mode  *
Recovery, Fileshare  *
Redirection, Rebuild  *
Relational database, access  *
Relative byte addressing  *
Relative files  * , *
        keys  *
        locking  *
Rename file  *
Report Writer  *
REWRITE, Callable File Handler  *
RM Compiler directive  *
RM/COBOL
        file status  * , *
RMSTAT
        conversion routine  *
        program  *
ROLLBACK, Callable File Handler  *
ROLLBACK statement  * , * , * , * , *
Rollforward recovery  *
RTS switches, file handling  *
Run-length encoding  *
Run-time errors, Fileshare  *

S

Sample programs
        mudemo  *
        sharing files  *
Search order, files  *
Security, Fileshare  *
SELECT statement  *
SEQUENTIAL Compiler directive  * , *
Sequential files
        locking  *
        record files  *
Setting environment variables, external filename assignment  *
Single record locking
        automatic  *
        manual  *
Single user mode  *
        Fileshare  *
Sort key
        maximum number  *
        maximum size  *
Sorting
        Callable Sort Module  *
        Extsm  *
        files  *
        Mfsort  *
Sparse keys  *
Special operation codes, Callable File Handler  *
Split filename  *
SQL, ODBC API  *
SQL Compiler directive  *
        ACCESS  *
        ACTION  *
        BIND  *
        BLOCK  *
        CCSIDG  *
        CCSIDM  *
        CCSIDS  *
        CHARSUB  *
        COLLECTION  *
        COMMIT  *
        CONNECT  *
        CTRACE  *
        DB  *
        DB2  *
        DBMAN  *
        DEC  *
        DECDEL  *
        DEGREE  *
        DISCONNECT  *
        DYNAMICRULES  *
        ECSPP  *
        EXPLAIN  *
        EXPLSNAP  *
        FORMAT  *
        FUNCPATH  *
        INIT  *
        INSERT  *
        ISOLATION  *
        LEVEL  *
        NOT  *
        OWNER  *
        PASS  *
        PRE  *
        QUALIFIER  *
        QUERYOPT  *
        RELEASE  *
        REPLVER  *
        RETAIN  *
        SQLERROR  *
        SQLFLAG  *
        SQLRULES  *
        SQLWARN  *
        STDLVL  *
        STRDEL  *
        SYNCPOINT  *
        TEXT  *
        VALIDATE  *
        VERSION  *
SQL Server  *
Standalone preprocessor  *
START, Callable File Handler  *
Static file assignment  *
Static filename assignment  *
STEP, Callable File Handler  *
stockin.cbl  *
stockioa.cbl  *
stockout.cbl  *
Stopping, Fileshare  *
Stored procedures, Embedded SQL using DB2  *
Striping
        configuration options  *
        Fileshare  *
        MaxStripeDigits option  *
        MaxStripeFiles option  *
        MaxStripeSize option  *
        overview  *
        Stripe-x option  *
        StripeNameType option  *
        striping option  *
Structure Editor  *
Structures  *
        file  *
        line sequential  *
        printer sequential  *
        variable  *
Switch  *
        G  *
        RTS  *
        T  *
Switches, Q  *
Sybase  *

T

T RTS switch  * , *
Tab, enable insertion  *
Tab insertion, enable  *
Tabs in line sequential files  *
Text files  *
Trace facility, Callable File Handler  *
Trace option
        Btrieve  *
        Fileshare  *
Trailing spaces, compression  *
Transaction processing  * , *
        Fileshare  *

U

ULIMIT environment variable  *
UNLOCK, Callable File Handler  *
UNLOCK statement  * , * , *
User Defined Functions, Embedded SQL using DB2  *
User status indicator  *

V

Variable length records  *
Virtual file handler  *

W

WITH ROLLBACK clause  * , *
Workbench File Loader  *
WRITE, Callable File Handler  *
WRITELOCK Compiler directive  * , * , * , *

X

X"91"
        function 46  *
        function 47  *
        function 48  *
        function 49  *
        function 52  *
        function 53  *
        function 69  *
XFH2BTR, environment variable  *
Xfh2btr
        BTRMAXREC environment variable  *
        BTRPAGE environment variable  *
        calling  *
        configuration file  *
        run-time switches  *
xfhfcd.cpy  * , *

Y

No entries

Z

No entries