Specifying Read Integrity

You can use one of the following subparameters of the RLS parameter to specify a read integrity option for a VSAM data set.
NRI
Specifies no read integrity (NRI). The application can read all records.
CR
Specifies consistent read (CR). This subparameter requests that VSAM obtain a SHARE lock on each record that the application reads.
CRE
Specifies consistent read explicit (CRE). This subparameter requests serialization of the record access with update or erase of the record by another unit of recovery.
CRE gives DFSMStvs access to VSAM data sets open for input or output. CR or NRI gives DFSMStvs access to VSAM recoverable data sets only for output.
Related reading: