Quote:
|
Originally Posted by Jake K
and the db2compile.db2 file contains
Code:
connect to sample;
-td@ -f all_data_types.sql;
-td@ -f all_data_types11.sql;
|
A db2 script (db2compile.db2 in your case) can only contain SQL statements and CLP commands; "-td@ -f all_data_types.sql" is neither.
You'll have to execute the "all_data_types*" scripts separately:
Code:
db2cmd db2 -td@ -f all_data_types.sql
db2cmd db2 -td@ -f all_data_types11.sql
Note that you'll need to include "connect" command in each of them in that case.