Wanted to create two indexes in parallel in two different tables so tried the following
q1.sql (file has the following contents)
connect to db;
create index i1 on t1(c1);
q2.sql

file has the following contents)
connect to db;
create index i1 on t1(c1);
run.ksh(script has the following contents)
nohup db2 -tvf q1.sql &
nohup db2 -tvf q2.sql &
When executed as run.ksh > run.ksh.out it produces the following
DB21018E A system error occurred. The command line processor could not
continue processing.
DB21018E A system error occurred. The command line processor could not
continue processing.
What is the cause of this ? Env: AIX 5.3/DB2 9.1/Korn Shell