Re: Files locking in informix SE version 4
Posted in 1996
I'm not really clear what your trouble is... >From: "Andre Szpyrka" <lyscomputing@pophost.eunet.be> >Date: 7 Aug 1996 14:34:50 GMT >X-Informix-List-Id: <news.26931> > >I use informix SE V4 with Cisam,the program works correctly ! Which program works correctly? Your C-ISAM program? Your ESQL/C program? Something else? >When i want to use the isql program for deleting and updating it doesn't >work correctly, I have the message "file is locked". Probably because the file is locked. What version of SE are you using? On what platform? V4 is not accurate enough -- 4.00.UC1, or 4.10.UC1, or ... >The file is not locked ! How do you know? What sort of locking is in use on your system? If it is lock file locking (".lok" files in database.dbs), then you can easily end up with things locked despite the fact that there is no program running with the file locked. >Where can I search ? You need to be much clearer about what you are trying to do. Is anything else running and accessing the database when ISQL runs into the problem? You could also be running into the problem that if you have a C-ISAM program that is accessing the database, the ISQL program (which uses SE) will be locked out by the C-ISAM program if the C-ISAM program places locks, because the C-ISAM program and the SE are separate processes. This can lead to unexpected contention -- the C-ISAM/SE system treats those processes as competitors, not as members of a cooperative. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>