Scripting with z/OS Provisioning Toolkit: Removing Old Containers

21 July 2017

Get the code

In this article I explain how I wrote a script to be able to remove all containers in the system older than x days. This can then be scheduled to run every night, to ensure developers don’t leave their CICS regions (or any other container contents) sat around unnecessarily. Treat your z/OS PT-created CICS regions like livestock, not pets, remember. All source code for this example is on CICSDev on GitHub.