Posted By

sarathannapareddy on 06/14/09


Tagged

delete kill work proc Datasets Temporary NOLIST


Versions (?)

Clean-up: Delete temporary Datasets in work directory


 / Published in: SAS
 

URL: http://studysas.blogspot.com/2009/06/clean-up-delete-datasets-in-work.html

It is better always to clean-up/empty the work directory before we run the next set of SAS code. This is VERY helpful in situations where the “working” files created tend to use up a large amount of memory, once the logic of the program has been checked, KILLing the working files will result in a more efficient program. Another important reason to issue the above statement at the end of a program is when programs are run in batch, this will clean up the working library to be sure any “old” files are not left around to be erroneously used1.

  1. It is better always to clean-up/empty the work directory before we run the next set of SAS code. This is VERY helpful in situations where the “working” files created tend to use up a large amount of memory, once the logic of the program has been checked, KILLing the working files will result in a more efficient program. Another important reason to issue the above statement at the end of a program is when programs are run in batch, this will clean up the working library to be sure any “old” files are not left around to be erroneously used1.

Report this snippet  

You need to login to post a comment.