Have you ever issued a query using CA Dataquery online or batch, and received a RC14(48) or a RECORD NOT FOUND error? Or, you may have executed a COBOL program with embeded SQL statements and received the same error. Or you may have received a S0C4 abend. In either case, you KNOW the data exists!
z/os, CA Datacom/DB 14.0 and above.
This article describes and shows the JCL SYSIN for the steps you need to run to clean up any "bad data" in your Dataquery system files after receiving a RC14(48), a RECORD NOT FOUND error, or a S0C4 abend in Dataquery. You may want to implement a practice of running through these steps every 6-month as preventative maintenance, to ensure your Dataquery System files have not become corrupted.