Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Michael Strother — — source: Informix-list mailing list archive (1991-1998)
}
} Hi,
}
} i've a program which unload tables to an ascii file and updates a specific
} column in the rows after they are written to the file.
}
} Isolation mode is set to repeatable read to avoid rows to be written to the
} file which are not committed.
}
} Everything was fine but if there are open transactions over some rows of a
} table i got repeated errors in the range -242 to -246 (depends if the table is
} indexed or not) until all transactions for this table are completed. Is there a
} way to "jump" over the locked rows?
Yes use Dirty Read Isolation level, this does negate the Repeatable
read stuff but that is what you are asking when you ask to ignore locks.
If you want to skip the records that are locked set lock mode to not wait
and fetch the records testing for a lock...if you get one of the codes
you indicated ...ignore it and fetch the next record.
Mike
}
} Greetings, Joerg
}
}
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.