To fix the issue, you first need to break down what the system is telling you:
Use the system command D GRS,RES=(*,dataset.name) to see who currently owns the resource. This will tell you the Job Name and the type of lock (Shared vs. Exclusive). 2. Check Job Dependencies mvsckey not found exclusive
If this is a VSAM file, check the SHAREOPTIONS defined in the IDCAMS DEFINE CLUSTER. : Only one user can have exclusive access. SHAREOPTIONS(2,3) : One writer and multiple readers allowed. 4. Close the File in Online Regions To fix the issue, you first need to
Are you seeing this in a or a CICS environment ? Do you have the exact error code or log snippet? Are you the administrator or an end-user ? SHAREOPTIONS(2,3) : One writer and multiple readers allowed
Another user might be editing the dataset in ISPF.
The system cannot locate the expected control block or key.