Hello,
I have mostly the same problem. I can open my original file "Beatrice.rec" and work on it. Nevertheless, as soon as I try to save the file (modified or not), I get this error message:
savedata "Beatrice.rec"
Saving data to: C:\Documents and Settings\Administrateur\Bureau\Beatrice.rec
*Exception occured: Access violation at address 00723AE4 in module 'EpiDataStat.exe'. Read of address 0000006D*
*Failed to save data to C:\Documents and Settings\Administrateur\Bureau\Beatrice.rec*
Then, if I try to open this file newly created, the following message occurs:
*Error in the datafile C:\Documents and Settings\Administrateur\Bureau\Beatrice.rec.~~The field definition in line 1001 could not be read or interpreted.*
- It is on particular PCs using my log in only
- Data is saved to the local drive
- My operating system is: Windows XP Professional SP3.
I'm hoping someone on the EpiData email list is able to tell me what cause is and how to fix it. Alternatively, there may be additional information you need first. If that's the case, please let me know what.
Thanks,
The problem in this situation is that the resulting file will be longer than the rec file limit of 1000 lines. But instead of telling you this, the error is shown as "access violation. "
This will happen since Analysis writes the fields one by one
Say you have this file during entry:
v1 sex # v2 date of birth <dd/mm/yyyy> v3 id for patient <idnum>
Analysis will write this: v1 sex # v2 date of birth <dd/mm/yyyy> v3 id for patient <idnum>
Therefore with many variables you soon get above the 1000 line restriction. This will be solved when we find funding (and time) to implement the epx format in Analysis.
The solution is then: read Totalfile drop var177-varLast save part1 ........ create summary variables or index variables, e.g. binary indicators .... drop further variables savedata part1analysis
* get second part: read Totalfile /close keep firstvar-var176 save part2 ...... ........ create summary variables or index variables, e.g. binary indicators .... drop further variables
savedata part2analysis
Then in the analysis you will usually summarise some of the variables and you can merge the two parts again:
read part1analysis merge id /file=part2analysis
* and you have the whole dataset in one file again.
The file "beatrice.rec" in question had 1239 fields and 792 records (off list communication).
regards Jens Lauritsen EpiData Association
Den 29. jan. 2014, epidata-list@lists.umanitoba.ca skrev:
Hello,
I have mostly the same problem. I can open my original file "Beatrice.rec" and work on it. Nevertheless, as soon as I try to save the file (modified or not), I get this error message:
savedata "Beatrice.rec"
Saving data to: C:\Documents and Settings\Administrateur\Bureau\Beatrice.rec
*Exception occured: Access violation at address 00723AE4 in module 'EpiDataStat.exe'. Read of address 0000006D*
*Failed to save data to C:\Documents and Settings\Administrateur\Bureau\Beatrice.rec*
Then, if I try to open this file newly created, the following message occurs:
*Error in the datafile C:\Documents and Settings\Administrateur\Bureau\Beatrice.rec.~~The field definition in line 1001 could not be read or interpreted.*
It is on particular PCs using my log in only
Data is saved to the local drive
My operating system is: Windows XP Professional SP3.
I'm hoping someone on the EpiData email list is able to tell me what cause is and how to fix it. Alternatively, there may be additional information you need first. If that's the case, please let me know what.
Thanks,
-- Marlène VERNAY Chargée de mission en nutrition
UMR 204 NUTRIPASS IRD Burkina Faso - Centre IRD de Ouagadougou BP 182 01 Ouagadougou 01 - Burkina Faso Tel: (+226) 66 00 63 57 E mail: marlene.vernay@gmail.com http://www.nutripass.ird.fr/ _______________________________________________ EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
participants (1)
-
epidata-list@lists.umanitoba.ca