3 17 Database File Attributes

LANSA for i

3.17 Database File Attributes

When a file definition is set up under LANSA some of the things that it contains include:

  • The names of the fields in the file
  • Any logical views of the file that are required
  • Rules/triggers that are to be performed
  • Access routes to other files
  • Batch control logic

Using this information LANSA can create the required physical file, all required logical files and the I/O module required to support I/O to the file.

However, whenever a physical or logical file is set up, it is also possible to specify to the IBM i operating system a series of "attributes" that influence how the file is to be set up and used. Some of the attributes available include:

  • How big the file is allowed to be
  • When the file is to be recovered after a system failure
  • Whether space should be allocated for the file when it is created
  • Whether or not the file is to be under commitment control

There are several other attributes, each of these is described in detail in the following sections.