This section illustrates using the DB2® command-line processor to test the database connection.
connect to database_name user userid using password
where database_name is
the name you assigned to the DB2 on z/OS database
that contains your data warehouse, and userid and password are
the DB2 user ID and password
required to access that database.The database information is displayed, as shown in Figure 1.