Sharing Files and Locking Records
8.3 Ensuring Successful File Sharing
LOCK MODE IS EXCLUSIVE
You can also select X/Open file sharing by just specifying WITH LOCK on the
OPEN or READ statements. However, it is recommended that you use the LOCK
MODE clause to avoid ambiguity and maintain readability. If this is not done and
any I-O verbs rely on default behavior that might result in ambiguity, you should
compile your program with the X/Open option added to the compile command
line.
Opened files can be exclusive or shareable, as specified by the LOCK MODE
option of the SELECT clause (in the FILE-CONTROL paragraph of the
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......