Cable is intact and in the holder. It would appear the adjuster inside the caliper isn't wprking. I've wound the piston back in and it doesn't come out to take the gap up so i get a long pedal.
Guess I need to strip the caliper
I stripped it all down and all was ok inside.
Rebuilt, refitted and bled it. I manually adjusted the piston out to just before the pads contacted the disc and adjusted the handbrake to suit.
All sorted