Unanswered: problem running db2 script from a Java Program
I am trying to run a table-populating db2 script from a Java program. But the program is hanging. This java program is already being used, successfully, to create tables etc. That means, it already has a connection to the database.
The script runs successfully outside the java program. When run outside the Java program, the db2 script "connect to DBNAME" before it loads the table.
Thinking that this "connect to ..." might interfere with script operation from within program, I removed this "connect to ..." statement, but the script still hangs.