Processing Files and Records
6.4 Reading Files
Reading a Relative File Randomly
Reading relative records randomly involves the following:
1.
Specifying ORGANIZATION IS RELATIVE in the Environment Division
SELECT clause
2.
Specifying ACCESS MODE IS RANDOM (or DYNAMIC) in the Environment
Division SELECT clause
3.
Opening the file for INPUT or I-O
4.
Moving the relative record number value to the RELATIVE KEY data name
5.
Reading the record from the cell identified by the relative record number
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......