Loudwater
Systems
Management
Setting up another tablespace with copies of the tables
For test purposes, say.
The solution I chose was
- copy all relevant DEFS from SDRLDEFS to EPDM.DEFS
- keep table names the same
- use PREFIX to differentiate
- change UPDATE names by substituting one char (eg TB2 for DB2)
- don't make the names longer
- add SET cmds for CURRENT SQLID, DBNAME, TABSPACE, PREFIX, USERS etc
see DEFS(SETVARS)
- take an IC
- run in batch (to be sure to catch error msgs)
- don't just DROP via EPDM dialog, DROP also via SQL in QMF
*** BE VERY SURE YOU HAVE correct CURRENT SQLID
- use COLLECT INCLUDE(mypref.DB2%) to get proper tables
*** NB EPDM system tables only show objects that have DRL or DRLSYS prefix