We are unable to rename a dataset which says it is in contention with CAMIMGR. How can we free this dataset , and possibly other datasets from contention with CAMIMGR?

Answer:

When you see contention with CAMIMGR on the same LPAR where you are attempting to make changes, it is not a conflict with CAMIMGR as such; MiMGR is holding a local ENQ to prevent changes due to contention with a different system.

The D ENQR command can be used to determine who is holding the dataset to be renamed.

F MIM,D ENQR=(SYSDSN,ZS.PROD.DIOA.LOAD)

The command may need to be entered on multiple systems to find the true non-MIM owner.