How does "Auto Clean" for zOS RTC Packages work?
I am trying to clarify how the "Auto Clean" function for zOS RTC packages work and I am finding very little documentation on it. I have run a test where I deleted the package result and set the "Auto Clean" flag on and after a couple of hours the package results are still under the package root USS folder. Also when a package result is "cleaned" does it also clean up the corresponding deploy results?
3 answers
Hi Donald,
Selecting the Auto clean option turns on the automatic cleanup of packages from the package root directory ( This works by deleting the packaging results that you want deleted from the package root directory. Under the default setting the user will have to wait for 30 minutes after the package result is deleted and then on the next create package... action the auto clean will take place. This can be changed by changing the property “Build Result Pruner Task Fixed Delay (seconds)” on the server in the Change and Configuration Management Advanced Properties page.
Also with regards to the package/deploy pair, when a 'Load and Deploy' is requested, the package is loaded to the 'Deployed Package root directory' first and is then deployed to the specified PDS. Once a deployment is completed the package is deleted from the 'Deployed Package root directory'. When a 'Load' is requested, the packages will be loaded to the 'Deployed Package root directory' and will be stored there till a 'Deploy' is requested.
Selecting the Auto clean option turns on the automatic cleanup of packages from the package root directory ( This works by deleting the packaging results that you want deleted from the package root directory. Under the default setting the user will have to wait for 30 minutes after the package result is deleted and then on the next create package... action the auto clean will take place. This can be changed by changing the property “Build Result Pruner Task Fixed Delay (seconds)” on the server in the Change and Configuration Management Advanced Properties page.
Also with regards to the package/deploy pair, when a 'Load and Deploy' is requested, the package is loaded to the 'Deployed Package root directory' first and is then deployed to the specified PDS. Once a deployment is completed the package is deleted from the 'Deployed Package root directory'. When a 'Load' is requested, the packages will be loaded to the 'Deployed Package root directory' and will be stored there till a 'Deploy' is requested.
Hi Donald
I agree, the documentation is very lacking. I have opened 236720:Auto Clean option in deployment is lacking.
I believe that the way it works is the next time you package something it is supposed to perform the auto clean on any package results deleted. There is not a scheduled job that runs.
Guy