getmissingandreport.c starts to work
Now writing to table