A few months ago we delivered z/OS Provisioning Toolkit, allowing you to bring up CICS regions in minutes, and purge them just as quickly. Being a command that’s run from USS—from a shell—z/OS PT is easy to use as part of a more complicated script. In this short example, we’re going to write 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.

Continue reading on the mainframe DEV blog...

Join The Discussion

Your email address will not be published. Required fields are marked *