SUBTABLE directive

This directive modifies the way fields that appear in an OCCURS clause are processed, resulting in the creation of subtables.This directive instructs the XFD parsing routines not to append the occurrence number to the field name, as would normally take place with OCCURS clauses, but instead to store just the base name along with the name of the subtable as written in the XFD file. (Note that this directive is not supported by Acu4GL .)

The resulting tables will appear as multiple tables in a primary/foreign key relation based on the base table's primary key.

Syntax

$XFD SUBTABLE=name

or

*(( XFD SUBTABLE=name ))

Example

$XFD SUBTABLE=subtab1
    03 employee-table occurs 10 times.
        05 employee-number           pic 9(3).