When would the locks be removed by DB2 from the tablespace. Are the locks removed after the load immediately or with a database commit.
I's describe the steps in short:
1. Export Table A using sqluexpr
2. QUIESCE TABLESPACE FOR TABLE A using sqluvqdp
3. LOAD TABLE A using sqluload
4. Export Table B using sqluexpr
5. QUIESCE TABLESPACE FOR TABLE B using sqluvqdp
6. LOAD TABLE B using sqluload
7. commit the changes in database
Interesting thing is that the same program is working in one region and not working in aonther region. In both the regions, database and data is same. Both Table A and B reside in same tablespace.
The only difference is that in one region, the forward recovery is disabled.