City information technology officials became aware of a massive loss of data on criminal cases on April 5. The police and city IT departments did not reveal it to the district attorney’s office until earlier this month after prosecutors inquired why they could not find computer files on pending cases.