TOCPREVNEXTINDEX

AcuODBC User's Guide
Version 6.0

6.2 XFD Files

To create a data dictionary, specify the "-Fx" or "-Fa" option at compile time. When you specify the "-Fx" option, an ".xfd" file is created for each indexed data file specified in the compiled program. Use the "-Fa" option to generate XFDs for all indexed, relative, and sequential files.

Once you compile with one of these options, each COBOL file has a corresponding ".xfd" file. The "-Fx" and "-Fa" options create ".xfd" files without changing anything in the object code; thus XFDs are fully portable, meaning no recompilation is necessary if you change data sources or hardware.

Creating XFD files at compile time offers two significant advantages:

The XFDs contain information about the structure of the COBOL files, the names of the fields, their format, and so on. However, this information is only a subset of the information available in most Windows applications. To map your COBOL fields to meaningful and useful application tables, you must add additional information to your data dictionary. To add information to your XFDs, or to change the default names of the existing fields, you must use directives, or optional comments, in the FD section of your COBOL data file. These directives are explained in section 6.3, "Using Directives."


Acucorp, Inc.
Voice: (800) 262-6585 (U.S.A. and Canada)
Voice: (858) 689-4500
Fax: (858) 689-4550

Please share your comments on this manual
or on any Acucorp documentation with the
Acucorp Communications Department.
TOCPREVNEXTINDEX
1988-2003 Acucorp, Inc.
All rights reserved.