When an alternate index is defined with NONUNIQUEKEY, an alternate key can point to a maximum of 32767 base records. The default value for the RECORDSIZE parameter for an AIX is 32600 which only permits a maximum of 16297 base records in the best circumstances. If RECORDSIZE is not big enough, BLDINDEX issues the following message and fails with RC=4: IDC1646I nnnnn EXCESS PRIME RBA|KEY VALUES FOR AIX KEY kkkkkkkkkkkk
Note that because an AIX always has the SPANNED attribute, the maximun value specified for RECORDSIZE can exceed 32760. To calculate the RECORDSIZE value needed for a particular configuration, see the IBM documentation for the IDCAMS BLDINDEX command.