what is the code u r using to check the missing records.