If you see messages like this:
ARS0020E xxxxxxxxx SM ERROR: ARSMVSRE: 0000000B(00000008-2C040100)
HLQ1.OAM.D730T99.ODXX0000(MAA.L957.FAAF), RETURN CODE=11, REASON=0
, FILE=ARSSMSMS.CPP, LINE=995 SRVR->PRIMO_2B 111.111.11.11<-
ARS0024E SLCPAPI OBJECT >370< IN APPLICATION GROUP >MAA< NOT FOUND IN
NODE >HLQ1.OAM.D730T99.ODXX0000< SRVR->PRIMO_2B 111.111.11.11<
Is there SPUFI code to find orphaned index entries without OAM objects?
There are already SPUFI procedures to find orphaned OAM objects with no index entries.
The answer is there is no easy, automated way to do this.
After much discussion, this was the consensus:
Attack this from the AG.
First, you would have to build a list of all the unique object names
from AG Data table. You could then extract all the object names for the
AG from OAM. After you have sorted both files into ascending sequence,
you could compare the files finding object names in CMOD and not in OAM.
For each of the orphaned indexes, you would have build an ARSMAINT
command to delete the index row.
I know, not automated or very neat, but perhaps someday someone will improve upon this.