Problem extracting from rec file
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
Hi
I am facing a problem with error "one or more records are corrupted" I have tried to look for any problem using notepad, deleting the last record but the rec file still won't open. Any help out there is greatly appreciated.
Best regards, Michelle
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
Hi Michelle Did you use Epidata for your data entry? If so, you can check and fix your rec file using EpiInfo 6 (EpiInfo for DOS system, you can download it at CDC website). You'll surely have to delete some corrupted records. Then you can re-open this fixed database with Epidata. Hope it will work. Ndrina
----- Mail original -----
De: epidata-list@lists.umanitoba.ca À: epidata-list@lists.umanitoba.ca Envoyé: Lundi 17 Septembre 2012 08:00:45 Objet: [EpiData-list] Problem extracting from rec file
Hi
I am facing a problem with error "one or more records are corrupted" I have tried to look for any problem using notepad, deleting the last record but the rec file still won't open. Any help out there is greatly appreciated.
Best regards, Michelle _______________________________________________ EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
It is true that Epiinfo 6 would read a .rec with some errors, the type of error you describe will probably prevent you from getting the data you want out of the .rec file.
This problem usually arises because a file has been edited and some record lengths changed or from the introduction of some random characters with a disk error. I have always been able to reconstruct .rec files using a plain text editor like the old Windows Notepad. Even better is a programmer's editor (there are many) that can identify the end of each line in case you have a line with more than 80 characters in the data section (e.g. some spaces beyond the !).
Jamie
On 2012-09-17, at 10:53 AM, epidata-list@lists.umanitoba.ca wrote:
Did you use Epidata for your data entry? If so, you can check and fix your rec file using EpiInfo 6 (EpiInfo for DOS system, you can download it at CDC website). You'll surely have to delete some corrupted records. Then you can re-open this fixed database with Epidata. ----- Mail original ----- I am facing a problem with error "one or more records are corrupted" I have tried to look for any problem using notepad, deleting the last record but the rec file still won't open.
participants (1)
-
epidata-list@lists.umanitoba.ca