connect remotely to a db2

db2 catalog tcpip node NEWNODE remote SERVERNAME  server PORTNUMBER
db2 catalog database DBNAME as NEW_DB_ALIAS at node NEWNODE
db2 connect to NEW_DB_ALIAS user db2inst1 using  USERS_PWD
 
delete:
db2 UNCATALOG DATABASE  NEW_DB_ALIAS