Admin Production rocket
Current Publication

Accessing Data

Visual COBOL Development Hub V8.0
Rocket® Visual COBOL® (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.

Accessing Data

Restriction: This topic applies only when a Database Connectors license has been installed via the Micro Focus License Management System.

COBOL systems include a standard file system, which can be configured to handle data in a format required by the supported RDBMS. Configuration is made simple, with the setting of the IDXFORMAT Compiler directive or File Handler configuration variable; see Configuring the File Handler for more information.

Extended File Descriptors (XFDs) files are another key component to interfacing successfully with an RDBMS. They are the files that map your COBOL records to database fields. it is important that you understand these, to understand how your COBOL data will be represented in a database. See XFDs for more information.

To then take that information and interface with one of the RDBMS, you need the specific database connector. These connectors are installed as part of your COBOL development installation, but you must license each one individually in order to use it.