I knew there must be a tool which allows you to discover a database and
visualise the table relationships but I never found it until last week
on a training course an Oracle DBA told me that tool is schemaSpy .
It is a java command line utility (there is a GUI version of it but I haven't tried) using Graphviz to do the visualisation.
Running it against DB2 with the latest JDBC Type 4 driver (db2jcc.jar,
to get the latest, you can download from IBM, like all the IBM
downloading, it requires some patience and sometimes ..... [More]