Verify that you are logged in as the same operating system user that installed the DB2 software.
Open a Command Prompt dialog box (terminal window on Linux).
Navigate to the following directory:
<SEE_install_dir>/<os_dir>/reffiles/SMAFIPserver/db/db2/
where <os_dir> is one of the following:
- /win_b64/ for Windows 64-bit
- /linux_a64/ for Linux 64-bit
Type one of the following commands, based on your operating system:
-
Windows: initdb.bat
-
Linux: ./initdb
A message appears indicating the database was created.
Verify that no errors occurred during the script execution.
This script creates a log file (initdb.log) in this same directory, which can be
examined for more information.
Type one of the following commands, based on your operating system:
You are prompted to enter your password.
Type the password of the user specified using the FIP_USER setting as described
in Updating the Initialization File, and press ENTER.
A message appears indicating that the tables were created.
Verify that no error messages appeared when the scripts were executed.
This script creates a log file (createtables.log) in this same directory,
which can be examined for more information.
Navigate to the top level directory of your DB2 installation.
Open the db2cli.opt file in the text editor of your choice.
Add the following lines anywhere within the file:
[common]
Patch2=50
Save and close the file.
From a Command Prompt dialog box (terminal window on Linux), navigate
to the following directory:
<db2_install_directory>/bin/
Stop and start DB2 by typing the following commands one after the other at the
command prompt.
db2stop
db2start
If your DB2 database is running on a Windows system, reboot the system.
This step is necessary before proceeding to the next section.