db2test utility
The db2test utility allows you to test connections to a DB2® database and, once connected, to issue a variety of commands.
If your operating system does not provide the db2test utility, use the cxntest utility to test connections to the target database.
To use the db2test utility