CMEW Components no longer visible

Document ID : KB000108923
Last Modified Date : 09/08/2018
Show Technical Document Details
Issue:
Customer is using CMEW to manage long name elements. 
Recently they noticed problems in their housekeeping job. It started to fail with multiple messages like these: 
hh:mm:ss C1G0039E ELEMENT NAME, ASSOCIATED WITH THE ELEMENT ALIAS E3UO00WL, WAS NOT FOUND IN THE CATALOGUE 
*ERROR * $SMR ERROR ON DELTA RETRIEVAL, MCF ELEMENT E3UO00WL TYPE WSDL , PROCESSING BYPASSED. 

The first message is coming from C1SSFPVR/RFPR8010. This is because $IMR QUERY,LNAME on RFPR0015 returned RC=8, which means the congname E3UO00WL was not found in the Element index. 
The second message is coming from BC1PCSYN/SMCF0080. This is issued because $SMRCDLT call failed. $SMRCDLT calls BC1P$SMR, which at some point calls C1SSFPVR, which fails and issues the first message. So the second message is only a consequence of the first message. BC1PCSYN is a utility to validate or synchronize Element catalog/index with MCFs. 

 Another symptom is that if they list long name elements in CMEW or Quick Edit, they get element list with blank element names. The rest of the columns on the list are filled correctly, just element names are blank. 
Environment:
Windows 2012 server
CMEW R12 
Cause:
In order to fully understand the root cause of the issue, SE collected the  full job log (the one with massages C1G0039E) and request customer to do more test: 
List element with full name (such as LN001INV_CoreEn), element is visible both in CMEW and classic Endevor foreground. 
List element with partially wildcarded element name (such as L*), again, element is visible both in CMEW and classic Endevor foreground.  
 
SE figured out that element index is corrupted but the element catalog is OK. 
Resolution:
Customer restore the element index from the backup and all the elements entries are now visible in index file.