Thanks so much for this response, Rufus!
The main issue is to dry out the pipe at the repair and for that the shut-off valve needs to work properly.
At least there I'm lucky. We blew out the system earlier this month, so there's no water running through it.
Sand the pipe where the glue goes, sand the inside of the fittings (couplings); and/or use PVC primer (nasty stuff, way worse than the glue).
Oh, good, I'm glad sanding's an option. I prefer that to buying another nasty-smelling product that I may only use once.
I'm not sure I understand each step of your description but I'll read it through more slowly and try to visualize.
You have one hell of a swing if you nailed a pipe 18" down from the surface... <g>
I thought I'd hit a root! I didn't install the system and I forgot it ran right there. Not my favorite moment, as you can imagine.