Creating and configuring the metadata database
requires a database to store the metadata that is generated when you use the product. Before you install , you must create and configure this metadata database.
Before you begin
Before you begin
You need to enable a set of stored procedures for JDBC so that you can use certain functions of the DB2 Driver for JDBC and SQLJ on a DB2 for z/OS subsystem. Both the cube server and the Warehouse Administration Console use JDBC.
Run the SDSNSAMP batch job DSNTIJSG that is supplied with
DB2 to set up and bind the following stored procedures:
- DSNUTILU
- ADMIN_JOB_SUBMIT
- ADMIN_JOB_QUERY
- ADMIN_JOB_FETCH
- ADMIN_JOB_CANCEL
- ADMIN_DS_BROWSE
_login()
function
to switch users, are defined to the RACF program control:- ADMIN_JOB_FETCH
- ADMIN_JOB_SUBMIT
- ADMIN_JOB_CANCEL
- ADMIN_JOB_QUERY
About this task
About this task
When
you run the product for the first time, it automatically creates the
necessary tables and metadata in the metadata database (SQWCTRL).
Tip: When the metadata tables are created, you might see the
following error:
DB2 SQL Error: SQLCODE=-443, SQLSTATE=38112,
SQLERRMC=SQLTABLES;SQLTABLES;-805
DWHD91T.DSNASPCC.DSNATBL8.1856182D029A8769
In this case,
try running the DSNTIJSG job again to rebind all the stored procedures
and eliminate consistency errors, or try installing program temporary
fix (PTF) UK38087 and then running the DSNTIJSG job again.For normal daily operations on the tables, only SELECT, UPDATE, DELETE, and INSERT authorities are necessary for the user ID that will be creating and deploying the cube.
Procedure
Procedure
To create and configure the metadata database: