Sometimes you might want to lock the entire set of records associated with a record format (for example, all the records in a physical file). In this case, you can use the RCDFMTLCK parameter on the Override Database File (OVRDBF) command.