Previous Topic Next topic Print topic


Creating XFD Files

Relational databases work with data in a column-oriented format, while COBOL works with data in a record-oriented format. To move your data between these two domains, you need some form of mapping. To accomplish this, compile the COBOL application to generate an eXtended File Descriptor (XFD). This XFD maps data from the record-oriented COBOL application to a relational database’s column-oriented format. For detailed information on XFDs, see the chapter XFDs.

To instruct the compiler to generate XFD files:

The next section expands the COBOL application to create a database table in Microsoft SQL Server using the XFD file generated by the compiler.

Previous Topic Next topic Print topic