Creating DB2 for z/OS database objects using the createDatabase.sh script

You can run the createDatabase.sh script to create the product databases in the DB2® for z/OS® subsystem (if required) and to also populate each database with objects. Depending on your organization or site standards, your DB2 for z/OS system administrator might have already created the databases.

You can also use tools such as the DB2 command line processor, SPUFI, or DSNTEP2 to configure your databases.

Before you begin

  • Create the database scripts for the IBM® Business Process Manager components by using either the BPMConfig command utility or the Deployment Environment wizard.
  • Use FTP to transfer the database scripts, including the createDatabase.sh script, to the z/OS system that contains the DB2 for z/OS installation. Transfer the createDatabase.sh script as an ASCII text file, and transfer the database schema files in binary mode. Also ensure that you retain the directory structure when you transfer the files.
  • Create the required buffer pools. For more information, see Sample DB2 for z/OS commands for allocating buffer pools.
  • Configure the DB2 command line processor.

About this task

When you generated the database scripts, the files for configuring each of the databases were generated into separate subdirectories for ease of execution. The createDatabase.sh script was additionally generated in these subdirectories. You can run the createDatabase.sh script once from each subdirectory, for each instance of a database to be created or configured.

Procedure

Use one of the following methods to create and populate the databases, as appropriate for your environment and standards:

Results

Each database is created and populated with the required database objects.

What to do next

If you created a Standard deployment environment or an Advanced deployment environment, you must now run the bootstrap utility to load configuration data for the IBM Business Process Manager applications into the Process database. This data is required for the applications to run correctly.