Aiden Markram hit a solid half century and Rassie van der Dussen gave him able company to give South Africa hope of an improbable and intriguing win in the second Test in Rawalpindi on Sunday.
Set a daunting 370-run target, South Africa finished the fourth day on 127-1 with Markram on 59 and Dussen unbeaten on 48. The tourists will need another 243 runs to level the series on Monday.Earlier, Pakistan were helped to 298 all out in their second innings by a scintillating maiden hundred by wicketkeeper batsman Mohammad Rizwan who finished on 115 not out.
South Africa can take confidence from the fact that two targets of 300 plus have been chased in the last 20 days with India overhauling 324 against Australia in Brisbane on January 18 and West Indies scoring 395 against Bangladesh at Chattogram on Sunday -- both on the last day.
Pakistan can take heart from the fact that no team has chased more than the 220 scored by Sri Lanka in 2000 in ten Tests in Rawalpindi, and that South Africa have not chased 250-plus since 2014.