error 11 on write with no DOM - embedded IO

Started by Michael Greer, Today at 01:07:20 PM

Previous topic - Next topic

Michael Greer

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.

James Zukowski

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 Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Michael Greer

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.

Jerry Fletcher

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