on 11-13-2013 3:42 PM
Guru's:
Thanks for all the help in the past.
We copied (db2snapshot) system A to system B. All went well except for the tables in SYSTOOLSPACE. They are not there, or at least ALL of them are not there. The only ones that are there are: 'HMON_ATM_INFO, DB2LOOK_INFO, POLICY, HMON_COLLECTION. There are a lot more in system 'A'. I tried using db2look to recreate the DDL but can't use -a -v together so I can't get the inoperable tables. Here is my command:
db2look -d P01 -e -a -v SYSTOOLS -o db2look.sql.
I know there's got to be a way but not using db2look.
Thanks,
Len.
Hello Len,
you can use the DB2 routine SYSPROC.SYSINSTALLOBJECTS to recreate these objects manually. See
in the IBM information center corresponding to your DB2 version.
Regards,
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Len,
I'm not too clear about what exactly has been done to get into this situation, but tables in SYSTOOLSPACE should mostly be created by DB2 automatically when you activate certain functions. For example the HMON* tables are Health Monitor, which is in fact deprecated in later versions.
db2look -d SID -z schemaname -e
...will give you all the table and view DDL in a schema.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.