Cleaning up the Archive and Temporary Directories
- Date: Nov 03, 2015
Cleaning up the Archive and Temporary Directories3 Nov, 2015
The program dccasweep can be executed at any time to clean up the archive directories and the temporary directories. When executed with no parameters the dccasweep program, using the values set with Archive Administration, removes the archived files in both the archive directories and the temporary directory used for repeated report viewing. To only clean up the temporary directory use a -t option.
dccasweep can be executed manually whenever it is necessary to clean up the archive directories, or executed automatically from the UNIX cron system or Windows’ scheduled tasks program. The LPHOME environment variable must be set for dccasweep to function correctly. A script should be created that first sets LPHOME, then executes dccasweep.