When my scampi was 14 he developed a pocket right by his hmm how should i say this??? butt hole

 He would strain to go to a poo but it would go in to the pocket instead of out the hole so once or twice a day i would put gloves on and put a finger up his butt and hook his poo out i found this much better for him then all the meds to soften his poo.
If your dogs pocket is near the butt hole has your vet not suggested you help the dog to go a poo by removing it your self? yes its gross but it works.