Re: sysviews corrupted
Posted in 1997
Guy Germonpre (germonpre_guy/dis@bekaert.com) wrote: : Yes. In sequelink he is executing a macro. The macro does a connect, a : drop table "extraction", then a create temp table "extraction", and then : a lot of selects. : the macro is often executed, without problems, but it could be that the : problems arise when the macro is executed many times without actualy : leaving it. Pardon my ignorance, but what is sequelink, and what is a macro? Is this macro new? That is, you mentioned that the version you are running (a fairly old version, by the way, but I never argue with success) has been working for years, and suddenly started doing this; does that correspond with adding this macro? I ask because this looks a little like the symptoms of an Informix bug (sorry, can't find all the specifics right now) that occurred when you try to use prepared statements against tables that have been dropped (and possibly re-created) since the time you prepared the statement. This was a very long time ago, but then, you're on a very old version :) Basically, when you PREPARE a statement, it is parsed by the engine, which includes translating the tablename to its partnum. When you drop the table, even if you re-create it with the same name, the partnum is no longer valid, therefore the prepared statement is no longer valid. It still doesn't work (as it should not) but now it gives you a nice error message. June ---- June Tong Informix Software ---- ---- Senior Consultant (650) 926-6140 ---- ---- International Support junet@informix.com ---- ---- Location-du-jour: home ---- * * Standard disclaimers apply * - Please do not send me requests/questions by mail. When I have the knowledge - and time permits, I try to answer questions on comp.databases.informix, but - travel schedule, time, and volume make responding to personal requests - difficult and often slow. Please call your local Informix Technical Support - organization for assistance with technical issues.