To run the Data Warehouse sample you require a database with one table. An ODBC definition for the database is also required, and the broker must be configured with a user identifier and password to use when accessing the database.
Complete the following tasks to setup the database environment:
Follow the instructions that are relevant to your database manager:
Use the mqsisetdbparms command to specify a user identifier and password that the broker can use with the USERDB data source. This user identifier must be the same user identifier that you used when you created the database in the previous step. The user identifier determines the database schema name and the broker must use the same user identifier when accessing the table. For example, if your user identifier is USERID, the fully qualified name of the DATAWAREHOUSE table name is USERID.DATAWAREHOUSE.
mqsisetdbparms MB8BROKER -n USERDB -u <user ID> -p <password>
mqsireload MB8BROKER -e "Data Warehouse"