Corrective action for file status codes

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 File status key in the Enterprise COBOL for z/OS® Language Reference.
Table 1. QSAM and VSAM file status codes with CMPR2 and NOCMPR2
VSAM file status codes
QSAM file status codes
CMPR2
NOCMPR2
CMPR2
NOCMPR2
00
00
04
05
14
24
35
39
44
00
00
04
05
07
39
44
02
02
10
10
10
10
21
21
22
22
23
23
24
24
30
30
39
30
30
39
34
34
90
37
90
90
35
37
90 
91
91
92
38
41
42
43
44
47
48
49
92
92
38
41
42
43
46
47
48
49
92
93
93
94
46
95
39
95
96
96
97
97