Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

xddgen

If you want to provide SQL access to your data, you will need to define the record schema through an XDD (eXternal Data Definition) file. The XDD is an external XML file that is stored as a special resource within the data file created through the processes described in this chapter. If your COBOL compiler can provide an XFD, you can generate the XDD from it using ctutil -xfd2xdd or ctutil -sqlize. If you do not have an XFD, the xddgen utility can generate the XDD from your COBOL source code.

This command-line utility analyzes your COBOL program to create the XDD. You will specify the COBOL program file as input. A variety of other parameters allow you to specify the dialect of COBOL (ACCUCOBOL, Micro Focus, IBM, etc.), source format (free or fixed), directories, and other options.

This section explains enhancements to this utility.

In This Section

xddgen now allows names larger than 31 chars

Suppress Dash or Replace with Underscore

Configuration Files Directory

Map OCCURS DEPENDING ON into LONG VARCHAR

Parsing improvements

Syntax for WITH DUPLICATES on RECORD KEY

Improved and clearer error/warning messages

More xddgen enhancements

TOCIndex