Specifying the record format level check (LVLCHK) parameter

 

When a database file is opened, the system can check whether the file definition is changed. The LVLCHK parameter specifies the check for record format description changes. When the file changes to an extent that your program might not be able to process the file, the system notifies your program. The default is to do level checking. You can specify if you want level checking when you:

You can override the system and ignore the level check using the Override with Database File (OVRDBF) command.

 

Example: Record format level check

Assume that you compiled your program two months ago. At that time, the file was defined as having three fields in each record. Last week another programmer decided to add a field to the record format, so now each record has four fields. When your program tries to open the file, the system notifies your program that a significant change has occurred to the file definition since the last time the program was compiled. This notification is known as a record format level check.

 

Parent topic:

Specifying database file and member attributes