Dears,
I'm new to DB2, I'm making a system based on Microsoft products that will integrate with DB2 on AS400, I want to extract the DDL of the schema which is quite huge to be able to generate an ERD for the existing system with other tools (QDesigner).

What is the best way for doing this? I need details plz as I'm new to DB2, the currently system is on AS400 with terminals, no windows client in the production system right now.

Thanks for yr time