Document ID : KB000015350
Last Modified Date : 14/02/2018
Show Technical Document Details

I know these functions are for preventing records from moving around within an Area however I wanted to find out for sure if a LOCK would also prevent an Add or Delete from occurring?

 My hunch is no but I want to be positive.

z/os, CA Datacom/AD 14.0

In addition to flushing the pipeline, the LOCK OPTION=MOVER function only prevents the movement of updated rows in a compressed area. 

It does not have any effect on ADDITs or DELETs in compressed or uncompressed areas. 


Or said differently: 


The DBUTLTY function LOCK with OPTION=MOVER does what the manual says it does and does not do other things. It has no effect on commands not spelled ‘UPDAT’. It only has effect on an UPDAT command that attempts to move a row. 

Additional Information:

see: https://docops.ca.com/ca-datacom/15-1/en for more information related to compression.