Yorkshire remain well placed to earn an LV= County Championship double over fellow strugglers Worcestershire although the hosts made heavy weather of their task on the third day at Scarborough.
Chasing 134 for victory after stubborn resistance from the visitors took Worcestershire to a second-innings 332, Yorkshire closed on 80 for three, 53 runs behind.
Worcestershire were 82 for four at the start of the day, still trailing by 117 after the Tykes posted 367 to establish a 199-run first-innings advantage.
Yorkshire began their run chase after the interval and soon suffered a setback as Adam Lyth was run out by a direct hit at the bowler’s end from Alan Richardson after Joe Root had called for a second run.
Yorkshire were put under further pressure on 29 when Anthony McGrath fell lbw to Richardson, whose 11-over opening spell conceded only 15 runs.
A well-flighted ball by Ajmal lured Andrew Gale forward for him to be stumped by Scott but Root stayed calm under pressure and will begin the final day on 31, with Bairstow unbeaten on 12.