You generate the DAD file by selecting it as an additional target for standard schema generation.
-
Select to open the Generation dialog box.
-
Specify the directory in which to generate the file and select the XML in Database target on the Targets tab.

-
[optional] Click the Options tab, and set any appropriate generation options (see DB2 DAD file generation options).
-
Click OK to begin the generation.
The Result dialog box is displayed with the path of the generated DAD, DTD and SQL files.
-
Click Edit to open the generated DAD file in your associated editor:
-
Extract of a DAD file defined with Xcollection as StorageType, and RDB as MappingType:

-
DAD file defined with Xcolumn as StorageType:
