File locking due to terminated process

If the cascd process has not shut down cleanly, you might need to use the dbfhadmin utility to remove all closed handles:

To list all open handles:

dbfhadmin -openfiles -list -datastore:sql://localhost/VSAM

To force close the handles:

dbfhadmin -openfiles -recover -datastore:sql://localhost/VSAM
-host:nwb-xyz