Upon completing the installation of our own DB/2 Instance, it is time to provision a sample database.
IBM bundles a binary for creating a sample database.
The name of the binary is db2sampl.
Thankfully in MS Windows, there is not a lot of preparatory work that needs to occur.
Her are the environment variables that need to be set:
Environment Variables – Read
The actual execution is just as straight forward.
Simply execute db2sampl.
Here is the output
The SAMPLE database is created as is did not previously exist.
We are currently logged into the OS as DADENIJI.
That account is used in creating a corresponding schema DADENIJI.
Tables are created and records added.