just to inform other users of cygwin and DB2 on windows.
there is a difference in handling the db2clp window.
this breaks your connection after each command.
recommend : export DB2CLP=**$$**
this will correct the problem
Best Regards, Guy Przytula