File Handling

Index

Table of Contents

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

A

Alternate keys  2.1.3.2 , 11.4.1 , 11.5.2.4
ANS85 Compiler directive  4.3 , 11.1.1
ASSIGN Compiler directive  11.1.2
ASSIGN"DYNAMIC" Compiler directive  3.2.2
Assigning filenames  3.2
        device names  3.4
        dynamic  3.2.2
        external  3.2.3
        keyboard  3.4
        printers  3.4
        screen  3.4
        static  3.2.1
Assigning files
        dynamically  11.1.2
        externally  11.1.2
Automatic record locking  5.2.1.2

B

Byte stream file routines  Ch13
        close  13.2.2
        create  13.2.2
        flush  13.2.2
        free record lock  13.2.2
        get record lock  13.2.2
        open  13.2.2
        read  13.2.2
        sample program  13.3
        test record lock  13.2.2
        write  13.2.2

C

-c Rebuild option  9.3
C-ISAM file  Ch12
        converting  9.3 , 9.3
        IDXFORMAT Compiler directive  11.1.6
        Rebuild  9.3 , 9.3
Call prototype  10.1
Call-by-name routines
        see CBL_routines
Call-by-number routines  10.5
Callable Rebuild  9.8
Callable Sort Module  Ch14
        call interface  14.1
        FCD  14.1.2
        file definition block  14.1.2.2
        function code parameters  14.1.1
        key definition block  14.1.2.1
CALLFH Compiler directive  7.6.1
cblproto.cpy file  10.1
CBL_CBL_RENAME_FILE  10.4
CBL_CFGREAD_EXTFH  10.5
CBL_CHANGE_DIR  10.5
CBL_CHECK_FILE_EXIST  10.4 , 10.5
CBL_CLOSE_FILE  13.2.2
CBL_COPY_FILE  10.4 , 10.5
CBL_CREATE_DIR  10.5
CBL_CREATE_FILE  13.2.2
CBL_DELETE_DIR  10.5
CBL_DELETE_FILE  10.4 , 10.5
CBL_FILENAME_CONVERT  10.5
CBL_FILENAME_MAX_LENGTH  10.5
CBL_FLUSH_FILE  13.2.2
CBL_FREE_RECORD_LOCK  13.2.2
CBL_GET_CURRENT_DIR  10.5
CBL_GET_RECORD_LOCK  13.2.2
CBL_JOIN_FILENAME  10.5
CBL_LOCATE_FILE  10.5
CBL_OPEN_FILE  13.2.2
CBL_READ_FILE  13.2.2
CBL_RENAME_FILE  10.5 , 10.5
CBL_SPLIT_FILENAME  10.5
CBL_TEST_RECORD_LOCK  13.2.2
CBL_WRITE_FILE  13.2.2
CLOSE REEL  11.3
COBEXTFHBUF environment variable  6.4
Compiler
        file size limits  16.2
        index key limits  16.2
        SORT/MERGE operation limits  16.2
Compiler directives
        ANS85  4.3 , 11.1.1
        ASSIGN"DYNAMIC"  3.2.2
        CALLFH  7.6.1
        DATACOMPRESS  11.1.5 , 11.5.1
        FCDREG  7.3
        IDXFORMAT  6.2.1.1 , 11.1.6
        IDXFORMAT"4"  2.1.3.3
        IXNUMKEY  7.2.4.3
        KEYCOMPRESS  6.2.1.4 , 11.1.5 , 11.5.2
        OPTIONAL-FILES  11.1.7
        RECMODE  11.1.8
        RM  11.1.9
        SEQUENTIAL  2.1.1.1 , 11.1.10
        SIGN"EBCDIC"  8.3
Compression
        data  6.2.1.3 , 11.5.1
        DATACOMPRESS  11.1.5
        duplicate keys  6.2.1.4 , 11.4.2
        dynamically calling a routine  11.5.4.3
        key  11.5.2
        KEYCOMPRESS  11.1.5
        keys  6.2.1.4
        leading characters  6.2.1.4 , 11.5.2.3
        linking a routine  11.5.4.3
        Micro Focus routines  11.5.4.1
        routines  7.8
        run-length encoding  11.5.1
        trailing nulls  6.2.1.4 , 11.5.2.1
        trailing spaces  6.2.1.4 , 11.5.2.2
Configuration, file handling  Ch6
Configuration options
        COMMITFLUSH  6.2
        CONVERTSTATUS  6.2
        DATACOMPRESS  6.2
        DATAFILE  6.2 , 6.2
        EXPANDPOSITIONING  6.2
        EXPANDTAB  6.2
        FASTREAD  6.2
        FHREDIR  6.2
        FILEMAXSIZE  6.2
        FILEPOINTERSIZE  6.2
        IDXDATBUF  6.2
        IDXFORMAT  6.2
        IDXNAMETYPE  6.2
        IGNORELOCK  6.2
        INDEXCOUNT  6.2
        INSERTNULL  6.2
        INSERTTAB  6.2
        KEYCHECK  6.2
        KEYCOMPRESS  6.2
        LOCKTYPE  6.2
        MAINFRAMEPRINT  6.2
        NAMEOPTIONS  6.2
        NFSFILELOCK  6.2
        NODESIZE  6.2
        NOSEQCHECK  6.2
        OPENINPUTSHARED  6.2
        OSVSREWRITE  6.2
        READSEMA  6.2
        RELDATBUF  6.2
        RETRYLOCK  6.2
        RETRYOPEN  6.2
        RETRYTIME  6.2
        RUNITLOCKDETECT  6.2
        SEQDATBUF  6.2
        SKIPLOCK  5.2.3 , 6.2
        SPACEFILL  6.2
        STRIPSPACE  6.2
        SUPPRESSADV  6.2
        TRACE  6.2
        TRACEFILE  6.2
        WRITETHRU  6.2
Converting files  9.6
Corrupt indexed files  9.5

D

-d Rebuild option  9.3
DATACOMPRESS Compiler directive  11.1.5 , 11.5.1 , 11.5.4.3
Delete
        directory  10.5
        file  10.5
Directory, getting current  10.5
Disk space, saving  11.5.2
Drive id, filenames  3.1
Duplicate keys  2.1.3.3 , 11.4.2
        compression  6.2.1.4 , 11.5.2.4
Dynamic filename assignment  3.2.2

E

-e Rebuild option  9.3
Environment variable
        assigning filenames  3.2
        COBEXTFHBUF  6.4
        EXTFH  6.1
        Rebuild command line  9.2
        TMPDIR  8.2
        ULIMIT  11.2.4
Error messages
        mfsort  8.5
        Rebuild  9.9.1
Examples, Rebuild  9.10
Execution errors, Rebuild  9.9.1.2
Expand path  10.5
Extended file status codes  4.4
External filename assignment  3.2.3
ExtFH  Ch7
EXTFH environment variable  6.1
extfh.cfg file  6.1
Extsm
        call interface  14.1
        FCD  14.1.2
        file definition block  14.1.2.2
        function code parameters  14.1.1
        key definition block  14.1.2.1

F

-f Rebuild option  9.3
FCD  7.2.1
        accessing  7.3
        Callable Sort Module  14.1.2
FCDREG Compiler directive  7.3
Fields instruction, mfsort  8.3.1
File
        buffers  6.4
        byte-stream I/O  Ch13
        COBOL compiler limits  16.2
        handle  11.2
        header  15.3
        indexed  2.1.3
        indexed file size limits  16.4.1
        introduction  Ch1
        limit to number of index keys at run-time  16.3
        limit to number of records at run-time  16.3
        limit to record size at run-time  16.3
        limit to simultaneously open at run-time  16.3
        limits  Ch16
        line sequential  2.1.1.2
        merging  Ch8
        naming  Ch3
        operating system limits  16.5
        organization  2.1
        printer sequential  2.1.1.3
        record sequential  2.1.1.1
        relative  2.1.2
        relative file size limits  16.4.2
        run-time limits  16.3
        sequential  2.1.1
        sequential file size limits  16.4.2
        size  6.2.1.1
        size limits  16.4
        sorting  Ch8
        striping  6.2.1.2
        structures  2.3 , Ch15 , 15.1
File Control Description  7.2.1
File handle, limits  16.1
File Handler  Ch7
        calling  Ch7
        COBOL compiler limits  16.2
        component definition area  7.2.4.3
        configuration  Ch6
        creating a new index file  7.7
        creating file-type specific  7.6.2
        data structures  7.2
        FCD  7.2.1
        FCD access  7.3
        filename area  7.2.3
        global information area  7.2.4.1
        indexed file size limits  16.4.1
        key definition area  7.2.4.2
        key definition block  7.2.4
        large files  6.2.1.1
        large indexed files  6.2.1.1
        limits  Ch16
        operating system limits  16.5
        operation codes  7.4
        record area  7.2.2
        relative byte addressing  7.5
        relative file size limits  16.4.2
        run-time limits  16.3
        sequential file size limits  16.4.2
        size limits  16.4
        special operation codes  7.4
        standard operation codes  7.4
        striping  6.2.1.2
File handler, creating your own  7.6
File handling
        COBOL compiler limits  16.2
        file size limits  16.4
        indexed file size limits  16.4.1
        library routines  Ch10
        limits  Ch16
        operating system limits  16.5
        relative file size limits  16.4.2
        run-time limits  16.3
        sequential file size limits  16.4.2
File handling directives
        ANS85  11.1.1
        ASSIGN  11.1.2
        CALLFH  11.1.3
        COBFSTATCONV  11.1.4
        DATACOMPRESS  11.1.5
        IDXFORMAT  11.1.6
        KEYCOMPRESS  11.1.5
        OPTIONAL-FILE  11.1.7
        RECMODE  11.1.8
        RM  11.1.9
        SEQUENTIAL  11.1.10
File header record, multiple-reel  11.3.1
File routines, copy file  10.5
File size
        mismatch  9.3 , 9.3
File status  Ch4
        ANSI'74  4.3.2
        ANSI'85  4.3.1 , 11.1.1
        as return code  10.4
        conventions  4.3
        defining  4.2
        extended  4.4
        locking files  5.3
        RM/COBOL  11.1.9
File striping  6.2.1.2
        examples  6.2.1.2
        headers  6.2.1.2
        options  6.2.1.2
File types, optional  11.1.7
Filename
        C-ISAM file  12.3
        convert  10.5
        maximum length  10.5
Filename mapping, pipes  3.5
Filenames  Ch3
        assigning  3.2
        conventions  3.1
        drive id  3.1
        format  3.1
        joining  10.5
        mapping  3.3
        pathnames  3.1
        splitting  10.5
Files, converting  9.6

H

Header record, multiple reel files  11.3.1

I

-i Rebuild option  9.3
IDXFORMAT Compiler directive  6.2.1.1 , 11.1.6
IDXFORMAT"3"  9.3 , 9.3
IDXFORMAT"4"  9.3 , 9.3 , 11.4.2
IDXFORMAT"4" Compiler directive  2.1.3.3
IDXFORMAT"8"  9.3 , 9.3
Index key
        compilation limits  16.2
        limit to number at run-time  16.3
Indexed files  2.1.3
        access  2.1.3.5
        alternate keys  2.1.3.2 , 2.1.3.3
        corrupt  9.5
        creating a new index file  7.7
        keys  2.1.3.1
        large  6.2.1.1
        primary keys  2.1.3.1
        rebuilding  9.5
        reorganizing  9.4
        sparse keys  2.1.3.4 , 11.4.1
        validating  9.7
Information messages, Rebuild  9.9.2
Introduction  Ch1
IXNUMKEY Compiler directive  7.2.4.3

K

-k Rebuild option  9.3
Key
        alternate  11.5.2.4
        compression  11.5.2
        duplicates  11.4.2
        indexed files  2.1.3.1
Key definition block, Callable Sort Module  14.1.2.1
Key instruction, mfsort  8.3.2.3
Key of reference  9.3
KEYCOMPRESS Compiler directive  6.2.1.4 , 11.1.5 , 11.5.2

L

Large files  6.2.1.1 , 6.2.1.1
Leading character compression  11.5.2.3
LEVEL II COBOL files  9.3 , 9.3
libisam.a library  12.2
Library routines
        CBL_GET_CURRENT_DIR  10.5
        CBL_JOIN_FILENAME  10.5
        CBL_SPLIT_FILENAME  10.5
        change directory  10.5
        check file  10.5
        create directory  10.5
        delete directory  10.5
        delete file  10.5
        file handling  Ch10 , 10.5
        filename convert  10.5
        filename length  10.5
        locate file  10.5
        read configuration file  10.5
        rename file  10.5
        X"91"function 47  10.5
        X"91"function 48  10.5
        X"91"function 49  10.5
        X"91"function 52  10.5
        X"91"function 53  10.5
Limits
        COBOL compiler for files  16.2
        file handle  16.1
        file handling  Ch16
        file sizes  16.4
        indexed file sizes  16.4.1
        operating system for files  16.5
        relative file sizes  16.4.2
        run-time for files  16.3
        sequential file sizes  16.4.2
Line sequential files  2.1.1.2
Locate file  10.5
Locking  Ch5
        example application  5.4
        file status codes  5.3
        records  5.2

M

-m Rebuild option  9.3
Manual record locking  5.2.1.1
Mapping filenames  3.3
        multiple paths  3.3.1
MERGE, compilation limits  16.2
Merging files  8.1
Mfsort  8.1
        error messages  8.5
        examples  8.4
        field types  8.3.1.1
        fields instruction  8.3.1
        input files  8.3.2
        instructions  8.3
        output files  8.3.2
        record instruction  8.3.2.1
        workfile  8.2
Mode, sharing  5.1
Multiple record locking  5.2.2.2
Multiple-reel files  11.3
        header record  11.3.1

N

-n Rebuild option  9.3
N RTS switch, nulls in line sequential files  6.3.2
Networks, file handling limits  11.2.3
NODETECT-LOCK Compiler directive  12.3
Nulls
        disable insertion  10.5
        enable insertion  10.5

O

-o Rebuild option  9.3
Operation code  7.4
        special  7.4.2
        standard  7.4.1
OPTIONAL-FILE Compiler directive  11.1.7
Org instruction, mfsort  8.3.2.2
Organizations  2.1
        indexed  2.1.3
        line sequential  2.1.1.2
        printer sequential  2.1.1.3
        record sequential  2.1.1.1
        relative  2.1.2
        sequential  2.1.1
Overview  Ch1

P

-p Rebuild option  9.3
Path, expand  10.5
Pathnames  3.1
Pipes, filenames  3.5
Primary key  2.1.3.1
Printer sequential files  2.1.1.3

Q

--q Rebuild option  9.3
-q Rebuild option  9.3

R

-r Rebuild option  9.3
Rebuild  Ch9
        callable  9.8
        command line  9.2
        define record length/recording mode  9.3
        displaying version  9.3
        error messages  9.9.1
        examples  9.10
        execution errors  9.9.1.2
        file compression  9.3
        index format  9.3
        information  9.3 , 9.3
        information messages  9.9.2
        input file format  9.3
        key of reference  9.3
        key structure  9.3
        next record  9.3
        option files  9.2.1
        options  9.3
        quick  9.3
        record count  9.3
        record lengths  9.3
        recording mode  9.3
        redirecting information  9.2.2
        report duplicates  9.3
        specify organization  9.3
        suppressing banner  9.3
        syntax errors  9.9.1.1
        temporary files  9.3
        validate file  9.3
        warning messages  9.9.3
Rebuild options
        -c  9.3
        -d  9.3
        -e  9.3
        -f  9.3
        -i  9.3
        -k  9.3
        -m  9.3
        -n  9.3
        -o  9.3
        -p  9.3
        --q  9.3
        -q  9.3
        -r  9.3
        -s  9.3
        -t  9.3
        -u  9.3
        --v  9.3
        -v  9.3
        -x  9.3
        -y  9.3
RECMODE Compiler directive  11.1.8
Record
        limit to size at run-time  16.3
        terminator  10.5 , 10.5
Record instruction, mfsort  8.3.2.1
Record length, C-ISAM file  12.3
Record lock, C-ISAM file  12.3
Record locking  5.2
        automatic  5.2.1.2
        manual  5.2.1.1
        multiple  5.2.2.2
        releasing locks  5.2.4
        single  5.2.2.1
Record sequential files  2.1.1.1
Relative byte addressing  7.5
        delete a record  7.5.3
        read a record  7.5.1
        rewrite a record  7.5.2
Relative files  2.1.2
Releasing locks  5.2.4
Rename file  10.5
Reorganizing indexed files  9.4
Return code, as file status  10.4
RM Compiler directive  11.1.9
Run-length encoding  11.5.1
Run-time
        files size limits  16.3
        limit to number of index keys in file  16.3
        limit to number of records in file  16.3
        limit to record size  16.3
        limit to simultaneously open files  16.3
Run-time switches  6.3

S

-s Rebuild option  9.3
Sequential, files  2.1.1
SEQUENTIAL Compiler directive  11.1.10
Sharing files  Ch5
Sharing mode  5.1
SIGN"EBCDIC" compiler directive  8.3
Single record locking  5.2.2.1
SKIPLOCK configuration option  5.2.3
SORT, compilation limits  16.2
Sorting files  Ch8 , Ch14
        command line  8.1
        Mfsort  8.1
Sparse keys  2.1.3.4 , 11.4.1
Special operation code  7.4.2
        add key value  7.4.2
        create index file  7.4.2
        File Handler  7.4
        file information  7.4.2
        flush file  7.4.2
        re-index file  7.4.2
        unlock record  7.4.2
Special operation codes  12.3
Standard operation code  7.4.1
        close  7.4.1
        commit  7.4.1
        delete file  7.4.1
        File Handler  7.4
        open  7.4.1
        read  7.4.1
        rollback  7.4.1
        start  7.4.1
        unlock  7.4.1
        write  7.4.1
Static filename assignment  3.2.1
Status, file status  Ch4
Striping  6.2.1.2
        examples  6.2.1.2
        headers  6.2.1.2
        options  6.2.1.2
Structures  2.3 , 15.1
        file  Ch15
        line sequential  15.2.1
        printer sequential  15.2.2
        variable  15.3
Switches
        N nulls in line sequential files  6.3.2
        run-time system  6.3
        T tabs in line sequential files  6.3.3
Syntax errors, Rebuild  9.9.1.1

T

-t Rebuild option  9.3
T run-time system switch  6.3.3
Tab, enable insertion  10.5
Tab insertion, enable  10.5
TMPDIR environment variable  8.2
Trailing nulls, compression  11.5.2.1
Trailing spaces, compression  11.5.2.2
Type definition  10.1
TYPEDEF  10.1

U

-u Rebuild option  9.3
ULIMIT environment variable  11.2.4

V

--v Rebuild option  9.3
-v Rebuild option  9.3
Validating an indexed file  9.7
Variable length records  11.1.8

W

Warning messages, Rebuild  9.9.3
Workfile, mfsort  8.2

X

-x Rebuild option  9.3
X"91"
        function 46  10.5
        function 47  10.5
        function 48  10.5
        function 49  10.5
        function 52  10.5
        function 53  10.5

Y

-y Rebuild option  9.3