Previous Topic: NDB Structure

Next Topic: Journal Control Record

Control Record

The first record (key is always all binary 0) in an NDB is a control record. It identifies this data set as an NDB, and contains other control information (for example, the number of defined fields and the number of records). This record is inserted when the NDB CREATE command formats an NDB. It is updated by other NDB commands and NCL statements. It also contains the domain ID (JCL parameter NMD ID) and NDB name. These are used to prevent concurrent update access by more than one region.