Hello List, I thought I had a pretty good understanding of temp files and 
scratch settings but…

 

Recently,  my programs have started having more and more failures to create 
temporary files in several situations for multiple users.  

Scratch files are always set to tmp unless I change it during troubleshooting.  
I created a button to capture scratch setting to verify location.

 

The problem does not start immediately after a new session, reports and 
(filename(0)) work as expected as first.  

 

But after a while, (1st issue) printing a very simple report to the screen with 
no breaks or eeps results in an error 
C:\docume~1\kenny\locals~1\temp\4bcf107f.$$$ not found!  This error is 
displayed twice even though the report looks OK.  These messages are displayed 
because I have the error messages set ON in order to report if no data found 
(2059) (error variable stays at 0 even when no data).  I checked the scratch 
directory above and there were $$$ files in the scratch directory but not the 
one reported in the error. 

 

Once this happened, (2nd issue) I tried running a different style of report 
that captures a select statement or tally to a text file.  I test for the 
existence of the result of set v vfname text = (filename(0)) and if it does not 
exist, pause for 1, then try again.  The loop failed the 5 times it loops, 
aborted.  Each failure was the same file name exactly.  I thought the filename 
is created by/affected by the time (seconds?) but I waited over an hour (same 
session) and it is still failing to create this same exact file name.

 

Is there a way to seed this process (filename(0)) with a new filename so my 
users do not have to close and start a new session? 

 

I changed my scratch setting to c:\  and it still reported 
C:\docume~1\kenny\locals~1\temp\4bcf107f.$$$ not found! Same file, same 
location.

 

Any Ideas what I have done to cause this or what is happening?

 

Confused in OKC,

 

Kenny

Reply via email to