I use db2look to export my DDL.
But it cuts off long procedures.
I use the following command:
db2look -td @ -d DBNAME -z SCHEMANAME -e -c -o dump.sql
If I use, for example, Toad for DB2, everything is fine.
I use db2look to export my DDL.
But it cuts off long procedures.
I use the following command:
db2look -td @ -d DBNAME -z SCHEMANAME -e -c -o dump.sql
If I use, for example, Toad for DB2, everything is fine.
Depending on what version is reported by the db2level command, you may be able to correct the problem in db2look by applying a Fix Pack to your DB2 installation. What level does db2level say you currently have?
TOAD for DB2 is reading the TEXT column directly from SYSCAT.ROUTINES, which you can also access from a simple program or from DB2's built-in EXPORT utility.