Hi, I have a do file that loops over a lot of large datasets and saves subsets of each dataset. In this process, I use preserve and restore several times.
Now the script stopped running because files could not be written to disk. I figured out that the system drive containing the temp folder was filled up by the tempfiles created by preserve - even though I used restore, not before moving on to the next dataset.
I understand that these tempfiles will be removed automatically when the do file is finished or I break it's execution. But that is too late. So I am wondering how to delete these tempfiles manually other than deleting all ST*.tmp files in my tempfolder. I.e. is there a way to get the name of the tempfile from the preserve or restore commands? The documentation does not say anything about this...
Now the script stopped running because files could not be written to disk. I figured out that the system drive containing the temp folder was filled up by the tempfiles created by preserve - even though I used restore, not before moving on to the next dataset.
I understand that these tempfiles will be removed automatically when the do file is finished or I break it's execution. But that is too late. So I am wondering how to delete these tempfiles manually other than deleting all ST*.tmp files in my tempfolder. I.e. is there a way to get the name of the tempfile from the preserve or restore commands? The documentation does not say anything about this...
Comment