Product Documentation

BTRV Edition User's Guide

Previous Topic

Next Topic

<table> root element

The <table> element is the top level (root) element describing the table schema. It defines the record length and the table name.

FairCom RTG COBOL - The table element can be easily defined from information about the data structure contained in the FILE SECTION of your COBOL source. The maxRecLen and the minRecLen attributes are the same in the case of fixed-length records and are equal to the sum of the lengths of all fields. When a variable-length record is defined, the minRecLen and maxRecLen attributes can be extracted from the RECORD CONTAINS clause of the COBOL source FILE SECTION.

Elements

Element

Description

<key>

Defines one key. This element can be repeated to define multiple indexes.

<filters>

Defines the filters to separate the records between the various record schemas. This element will be defined once if needed.

<schema>

Defines a single record schema with its fields, this element can be repeated to define different record schemas.

Mandatory Attributes

Attribute

Description

maxRecLen

Defines the maximum record length in bytes.

minRecLen

Defines the minimum record length in bytes. Use the Btrieve BUTIL -stat command to find out statistics about the original file.

TOCIndex