TOCPREVNEXTINDEX

AcuODBC User's Guide
Version 6.0

6.3 Using Directives

Directives are optional comments that you can place into an FD in your COBOL source code to control how the data dictionary is built. By controlling how data dictionaries are built, you can guide the way AcuODBC maps the content of COBOL records to application data fields.

Among other things, directives enable you to

Directives are always placed within a COBOL FD. They do not affect Procedure Division I/O statements, and they do not change your COBOL fields in any way. Rather, they guide the building of the data dictionaries, giving you a measure of control over the way COBOL data is mapped to data fields in your ODBC application.


Note: Each field in the ODBC-enabled application must correspond to a data item in your COBOL FD or XFD. To ensure that this is the case, you may need to use the NAME directive to add fields to the data dictionary.

Data dictionaries may be built directly from your source code with no directives if the compiler's default mapping rules are sufficient for your situation. If you would like to override the default mapping behavior, or map a field to a different name, you would add directives to your COBOL code.


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.