HP COBOL II/XL Quick Reference Guide (31500-90015)

4- 9
Table 4-2. ANSI COBOL'85 File Status Codes (cont.)
--------------------------------------------------------------------------------
| | | | |
| | | RANDOM ACCESS or | |
| | SEQUENTIAL | RELATIVE | INDEXED |
| | | | |
--------------------------------------------------------------------------------
| | | | |
| P | 30-No more | 30-No more | 30-No more |
| E | information | information | information |
| R | available.[REV BEG] | available.[REV BEG]| available.[REV BEG]|
| M | 31-OPEN, SORT, or | 31-OPEN, SORT, or | 31-OPEN, SORT, or |
| A | MERGE of dynamic | MERGE of dynamic | MERGE of dynamic |
| N | file failed due | file failed due | file failed due |
| E | to file | to file | to file name |
| N | attribute | attribute | attribute |
| T | conflict.[REV END] | conflict.[REV END] | conflict.[REV END] |
| E | 34-Boundary | 35-Nonoptional | 35-Nonoptional |
| R | violation. | file not | file not |
| R | 35-Nonoptional | present for | present for |
| O | file not | OPEN. | OPEN. |
| R | present for | 37-EXTEND or | 37-EXTEND or |
| | OPEN. | OUTPUT on | OUTPUT on |
| | 37-EXTEND or | unwritable file. | unwritable file. |
| | OUTPUT on | -I-O for file | -I-O for file |
| | unwritable file. | that does | that does |
| | -I-O for file | not support | not support |
| | that does not | it. | it. |
| | support it. | -INPUT on invalid | -INPUT on invalid |
| | -INPUT on invalid | device for | device for |
| | device for | input. | input. |
| | input. | 38-OPEN on file | 38-OPEN on file |
| | 38-OPEN on file | closed with | closed with |
| | closed with | LOCK. | LOCK. |
| | LOCK. | 39-OPEN | 39-OPEN |
| | 39-OPEN | unsuccessful due | unsuccessful due |
| | unsuccessful due | to fixed file | to fixed file |
| | to fixed file | attribute | attribute |
| | attribute | conflict. | conflict. |
| | conflict. | | |
| | | | |
--------------------------------------------------------------------------------