COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

If a file in the file system is defined as having alternate record keys to which the COBOL
program does not make any reference, you do not need to specify them in the File-Control
paragraph.
Sequential Block Buffering
Sequential block buffering, enabled by the RESERVE clause when the file is open in INPUT or
I-O mode, is discussed under File-Control Entries for Sequential Files.
Buffered Cache
Buffered cache, enabled by the RESERVE clause when the file is open in OUTPUT, I-O, or
EXTEND mode, is discussed under File-Control Entries for Sequential Files.
HP COBOL Fast I-O (Local Buffering)
HP COBOL Fast I-O is an enhancement in input-output performance beyond that of sequential
block buffering or buffered cache. It is available if a program and the relative file upon which
it is to operate are in the CRE and meet the criteria under File-Control Entries for Sequential
Files.
Example 30 Relative File Used for Random Access
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT INPUT-FILE ASSIGN TO "$DATA.MYDISC.INPUT"
ORGANIZATION IS RELATIVE
ACCESS MODE IS RANDOM
RELATIVE KEY IS INP-RELKEY
FILE STATUS IS INP-STATUS.
...
DATA DIVISION.
FILE SECTION.
FD INPUT-FILE
LABEL RECORDS ARE OMITTED.
01 INPUT-REC.
...
WORKING-STORAGE SECTION.
01 STATUSES.
03 INP-STATUS PICTURE XX VALUE SPACES.
...
01 KEYS.
03 INP-RELKEY USAGE NATIVE-4.
File-Control Entries for Indexed Files
Indexed organization provides the capability to read records from and write records to a disk file
either randomly or sequentially. In an indexed file, the value of the prime key of each record
uniquely identifies that record. A file-control entry for an indexed file includes an ORGANIZATION
INDEXED clause.
Input-Output Section 131