You can change the high-level qualifier for your work database
if you have a migrated installation of Db2 for z/OS®.
About this task
Migrated installations do not have a usable DSNTIJTM,
because the IDCAMS allocation step is missing.
Procedure
To change your work database:
- Stop the database by using the following command (for a
database named DSNDB07):
- Drop the database by using the following SQL statement:
- Re-create the database by using the following SQL statement:
- Define the clusters by using the following access method
services commands. You must specify the instance qualifier of your
data set, y, which can be either I or J.
ALTER oldcat.DSNDBC.DSNDB07.DSN4K01.y0001.A001
NEWNAME newcat.DSNDBC.DSNDB07.DSN4K01.y0001.A001
ALTER oldcat.DSNDBC.DSNDB07.DSN32K01.y0001.A001
NEWNAME newcat.DSNDBC.DSNDB07.DSN32K01.y0001.A001
Repeat the preceding statements (with the appropriate table
space name) for as many table spaces as you use.
- Create the table spaces in DSNDB07 by using the following
commands:
CREATE TABLESPACE DSN4K01
IN DSNDB07
BUFFERPOOL BP0
CLOSE NO
USING VCAT DSNC910;
CREATE TABLESPACE DSN32K01
IN DSNDB07
BUFFERPOOL BP32K
CLOSE NO
USING VCAT DSNC910;
- Start the database by using the following command:
-START DATABASE (DSNDB07)