ILE C/C++ Programmer's Guide


Including Physical and Logical Database Files in a Program

To include external database file descriptions, use the INPUT, BOTH, KEY, NULLFLDS, or LVLCHK option on the #pragma mapinc directive. If you specify either the OUTPUT or INDICATOR option, an error message is generated.

You can include external file descriptions for Distributed Data Management (DDM) files using the same method described for database files if you specify either the INPUT, KEY, or BOTH option. If you specify OUTPUT or INDICATOR, an error message is issued.

C++ language onlyC++ users must use the GENCSRC utility for level checking and including external file descriptions.

C language onlyC users can use either the GENCSRC utility or the #pragma mapinc directive for level checking and external file descriptions.

Note:
For more information on the differences between the GENCSRC utility and the #pragma mapinc directive, see Appendix A, The GENCSRC Utility and the #pragma mapinc Directive.


[ Top of Page | Previous Page | Next Page | Table of Contents ]