Creating DB2 for z/OS database objects using SPUFI or DSNTEP2
You can use tools such as SPUFI or DSNTEP2 to run the database scripts that are used to create the DB2® for z/OS® database objects for your configuration. This task assumes that a DB2 system administrator with SYSADM authority has created the physical databases and storage groups, and granted DBADM authority to a WebSphere® user that is identified as the owner of the 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 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.
- Create the databases and assign the relevant permissions.
About this task
When you generated the database scripts,
the scripts for configuring each of the databases were generated into
separate subdirectories for ease of execution. The default locations
of the database scripts are:
- DMGR_PROFILE/dbscripts/cell_name.deployment_environment_name/DB2zOS/cluster_database_name: Contains the files that can be used to create each of the cluster-scoped databases.
You can create the database objects by using the tool
of your choice. For example:
- SPUFI
- A utility that runs SQL files from z/OS. SPUFI uses EBCDIC input.
- DSNTEP2
- A sample dynamic SQL program provided with the DB2 for z/OS product.
Procedure
What to do next
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.