enhanced execute of CPdb