Nop. The ^SPOOL is not the problem. I Use the spool to write emails as a terminal. At the end I kill spool.
<snip>
s text=""
// Utiliza a vari�vel de spool
OPEN 2:(1:1)
USE 2
write "Projecto",?14,":",?16,order.Projecto,!
write "Cliente",?14,":",?16,order.Cliente.Nome,!
write "Ref. Cliente",?14,":",?16,order.EncomendaCliente,!
<snip>
CLOSE 2
set i=1
while ($d(^SPOOL(1,i))) {
set x=^SPOOL(1,i)
set text=text_x
set i=i+1
}
kill ^SPOOL(1)
if $$^SendMail(from, to, cc, subject, text) {
<snip>Nuno
Timur Safin wrote:
OOPS, tipo. Please read "I've seen ^SPOOL global created in your database..."
On 19.05.2004 23:57, Timur Safin said the following:
I've seen SPOOL device created in your database. Are you using spool device (alias #2) in your code? Could it been overflowed with non-closed data in the previous Cache' session?
Just a wild guess...
Regards, Timur
On 19.05.2004 20:58, Nuno Canas said the following:
I don't know what realy did that. I was trying to figure out ...
But, anyway, I BackedUp all Globals, Created a new Cache.dat file and Imported all the globals again.
Now, with "d ^%FREECNT" I have
2688 1106 41.1% 1106 41.1% *** /space/CACHE/mgr/ecom/
-rwxrwxrwx 1 root root 22020096 May 19 18:06 CACHE.DAT
A bit diferent !!!
Thanks for your help !
:-( I still don't know why that happened!!
Nuno
