db2 "create table test4 like test3 in TBSP1234"
DB20000I The SQL command completed successfully.
$ db2 "declare c_test4 cursor for select * from test3"
DB20000I The SQL command completed successfully.
$ db2 "load from c_test4 of cursor insert into test2"
SQL3805N The state of the application or of one or more table spaces for the table specified prohibits the loadapi action or quiescemode "5". Reason code = "3".
03
Resubmit the command with the correct load action