I have a script which:
drop indexes from a table
declares a cursor
loads from the cursor (using DB2 load)
re-creates the index
This worked fine on the development system under DB2 8.1. However, when I run it on the production system, the create index step fails with:
create unique index edwdmrt.xpfrodis01 on edwdmrt.tfrodis (room_facc_on_accom_unit_id, inventory_date_id, duration_id, named_date_offset_id)
DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned:
SQL0290N Table space access is not allowed. SQLSTATE=55039
Does anyone know what could be causing this ?
drop indexes from a table
declares a cursor
loads from the cursor (using DB2 load)
re-creates the index
This worked fine on the development system under DB2 8.1. However, when I run it on the production system, the create index step fails with:
create unique index edwdmrt.xpfrodis01 on edwdmrt.tfrodis (room_facc_on_accom_unit_id, inventory_date_id, duration_id, named_date_offset_id)
DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned:
SQL0290N Table space access is not allowed. SQLSTATE=55039
Does anyone know what could be causing this ?