Re: 4GL Error -4518 / Temporary String Storage
Posted in 1997
}From: "Paul Mosser" <pmosser@primenet.com> }Date: 7 Apr 1997 16:47:01 -0700 }X-Informix-List-Id: <news.36310> } }We are also having problems w/ 4518 error, but in REPORTs. } }We go ahold of an "undocumented" (ughhhh) routine from Informix that }evidently clears out TSS, or maybe just clears out what has been used. We }also got the Techinfor Bulletin #3925, that discusses the use of temporary }string storage (TSS), and some of the coding techniques to use to avoid the }4518 error. The 4.12/6.00 release pair of I4GL removed the -4518 error completely. The 4.13/6.01 release pair fixed some problems that had previously been masked by the -4518 errors. The automatic response to -4518 errors, therefore, is "Get an upgrade!". You should be using 4.17/6.05 if possible. This is covered in tha FAQ -- see http://www.iiug.org }Unfortunately, the "undocumented" routine (acdealloc, by name) DOES seem to }work, when called at the right point, it is unsatisfactory for two reasons: }(1) it is really just a "patch", like using aspirin for a broken arm; Yes. }(2) it appears that the routine is not available in versions of 4gl above }4.1x (not sure about this). It is not available in 4.12 or any later version. }Questions: Are there any TSS gurus out there that I mail be able to pick }your brains? Is there any way to access (as in DISPLAY) the contents of }TSS? How do REPORTs (specifically the AFTER GROUP clause) use TSS? If you're really interested, I can send you my archive of material on error -4518 (about 36 kB of gzipped cpio archive) which has all sorts of information in it, but the swiftest solution, the most comprehensive solution, the recommended solution, the best solution (...) is to upgrade to get rid of the problem in it's entirety. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h> PS: I did most of the code changes that got rid of the problem, about 4 years ago. }Any help would be greatly appreciated!!!! } }BTW, we are on SE (I know, I know, I would like to move to OnLine/DSA, }but...). }Some of our customers, though, that are getting the 4518 in our }applications are on OnLine, DSA, etc. } }Thanks in advance!!!!! } }"Boldt, Thomas" <Tom@oncontact.com> wrote in article }<5i3luq$buv@cssun.mathcs.emory.edu>... }> }> Hello, }> }> I am trying to use a CONSTRUCT statement which exits immediately by }> using the EXIT CONSTRUCT within the BEFORE CONSTRUCT. This seems }> to be causing 4GL temporary string storage to be taken and not released. }> Soon after this statement I get an error: }> }> 4GL run-time error number -4518. }> The 4GL program cannot allocate any more space for temporary }> string storage. }> (snip, snip) }> }> Tom Boldt }> on!Contact Software Corporation }> "Adaptable Solutions for Today's Sales Organization" }> 414.375.6555 }> mailto:tom@oncontact.com }> http://www.oncontact.com }> }