Function codes for logical and physical errors

When a logical or physical error occurs during processing that involves alternate indexes, VSAM provides a code in the RPLCMPON field that indicates whether the base cluster, its alternate index, or its upgrade set was being processed and whether upgrading was satisfactory or may have been incorrect because of the error (see Table 1).

Table 1. Function Codes For Logical and Physical Errors
Code What Was Being Processed Status of Upgrading
0(X'00') Base cluster Satisfactory.
1(X'01') Base cluster May be incorrect.
2(X'02') Alternate index Satisfactory.
3(X'03') Alternate index May be incorrect.
4(X'04') Upgrade set Satisfactory.
5(X'05') Upgrade set May be incorrect.