If you want to run the sample programs against a Host server such as DB2® for z/OS® or DB2 for i, you need to create a database that contains the sample tables described in the SQL Reference.
You need DB2 Connect™ to connect to a host server.
There are some SQL syntax and DB2 command differences between DB2 on the workstation and DB2 on host systems. When accessing databases on DB2 for z/OS or DB2 for i, make sure your programs use SQL statements and precompile or bind options that are supported on these database systems.
To create the database: