why do you/they need to cancel your visa if they are gonna give you an NOC?? if they will cancel your visa, all of you must exit qatar. maybe what you mean is 'transfer' your visa and not to cancel?

as far as i know, there's no need to change the visa status of your family if they will just transfer your visa.