Checking your RDB Node DAD with the DAD Checker

by Dinesh 2012-07-23 09:44:27

Checking your RDB Node DAD with the DAD Checker

The DAD checker is a tool from IBM that checks the validity of a DAD. It checks the data constraints of the DAD document and returns errors and warnings, if there are any. It can be downloaded from http://www-3.ibm.com/software/data/db2/extenders/xmlext.

Here’s an example of a DAD file session. As per the setup instructions, go to the install directory and type the following command:
C:\Temp\Db2\dadchk\bin>java dadchecker.Check_dad_xml -dad AmazonListings.DAD


If all goes well, you should get a message like this, listing all of the errors that were checked. The documentation that cones with the tool has a full explanation of the messages. If there are any problems with the DAD format, the line number of the error will display, along with a possible cause:
Checking DAD document: AmazonListings.DAD
No duplicated tags were found.
No type attributes are missing for tags.
All tags are properly enclosed.
The ‘name’ attributes for the and tags are all non empty
strings.
No tags have been found with the same names and different
mappings.
No tags have been found with the same names and different
mappings.
No missing multi_occurrence=”YES” has been found.
FIXPAK 3 or earlier only:
no
tag mapping order problems were found.
855
like
0
dislike
0
mail
flag

You must LOGIN to add comments