In an embedded IO routine (post_write) I am getting an error 11 on a write to a file with no DOM specified. If I write it in console mode and I have no issue. This is an mkeyed file like this: keyed "test",[1:1:2]+[2:1:10]+[3:1:6],0,-300. Is some strange IO option in play during embedded IO? I'm not seeing any such setting in the io program itself.
If you ESCAPE before the WRITE, you can step through it. The embedded IO routing will be steppable and you can find the offending situation that way.
James, I did that. I am taking an error branch (seterr in effect) due to an error 11. As I say, it is a write with no DOM or ERR on an mkeyed file.
Hi Michael,
This might be a long shot but whenever i get an odd error 11's (like they should not be happening) then it seems like my file gets corrupted.
for example writing without a dom and getting an error 11
or getting they key(file) then trying to read with same key and getting an error 11.
if i do a keyed load on file it usually fixes it.
Jerry
This is a new file, so I actually just erased it and re-created it. I can program around this by trying a remove first, but I don't think I should have to do that.
When stepping through, have you tried disabling the seterr in the process?
Do you have any system parameters set that might have some effect on this ('WL', 'WD', 'VW', etc.)?
Is it possible you have multiple key fields and that the DOM error is reporting that an error due to a non-unique alternate key?
Ok. never mind. I was misinterpreting what I was seeing. Thanks all for the suggestions.
Any insights? So we don't wander in the dark...