A single-server queueing system with a batch Markovian arrivalprocess (BMAP) and MAP-input of disasters causing all customers toleave the system instantaneously is considered. The system has twooperation modes, which depend on the current queue length. Theembedded and arbitrary time stationary queue length distributionhas been derived and the optimal control threshold strategy hasbeen determined.