Although there is no one-to-one mapping of the CMPR2 status codes to those in Enterprise COBOL, Table 1 shows, in general, the relationships between CMPR2 and NOCMPR2 file status codes. For a comprehensive definition of the Enterprise COBOL file status codes, see the Enterprise COBOL Language Reference Manual.
VSAM file status codes |
QSAM file status codes |
||
|---|---|---|---|
CMPR2 |
NOCMPR2 |
CMPR2 |
NOCMPR2 |
00 |
00 |
00 |
00 |
02 |
02 |
||
10 |
10 |
10 |
10 |
21 |
21 |
||
22 |
22 |
||
23 |
23 |
||
24 |
24 |
||
30 |
30 |
30 |
30 |
34 |
34 |
||
90 |
37 |
90 |
35 |
91 |
91 |
||
92 |
38 |
92 |
38 |
93 |
93 |
||
94 |
46 |
||
95 |
39 |
||
96 |
96 |
||
97 |
97 |
||