Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

Combining Multiple XDD Directives

The example below shows how to combine multiple XDD directives into a single line. In this example, we combined USE GROUP to force SQL to use the name of the group as the SQL field and a specific format to display this field as a date as two digits for year, two for month, and two for day. Many other formats available; please refer to the documentation for other options.


*>>XDD USE GROUP

*>>XDD DATE=YYMMDD

10 VALID-UNTIL-DATE-1 PIC 9(6) COMP-6.

TOCIndex