Hi there,
I'm trying to execute the following sql file in my bash script
db2 -tf tables.sql >> createdb.log
db2 -tf foreign.sql >> createdb.log
db2 -tf indexes.sql>> createdb.log
db2 -tf data.sql>> createdb.log
db2 -td@ -f reqdelproj_block.sql>> createdb.log
db2 -td@ -f rqprojlock_delete.sql>> createdb.log
db2 -td@ -f rqprojlock_insert.sql>> createdb.log
db2 -td@ -f rqdrop_view.sql >> createdb.log
db2 -td@ -f rqdrop_views.sql >> createdb.log
db2 -td@ -f rqdelete_project.sql >> createdb.log
The script executes with no error message but when i check the log i see the following:
DB21004E You cannot specify both an input file and a command when invoking
the Command Line Processor.
for all the sql calls. Doesn't look like it ran any of my files. Can anyone help please? Thanks in advance