Retained lock override for batch
There may be circumstances in which you want to override these locks and force the open of a data set for batch processing.
For example, when:
- There is insufficient time available, before running the batch job, in which to resolve the situation that caused the records to be locked, or
- It is known that the batch job cannot harm data integrity (because it does not update existing records in the data set, or it does not update any records that CICS® may have updated).
To override the open restriction, VSAM RLS provides the SHCDS PERMITNONRLSUPDATE command, to allow a non-RLS batch job to open a sphere for update even when there are retained locks.